NAV

<back to all web services

ReturnUpsShippingLabelGet

The following routes are available for this service:
GET/returns/{RMANumber}/ups-label
import 'package:servicestack/servicestack.dart';

class ReturnUpsShippingLabelGet implements IConvertible
{
    String? rmaNumber;
    String? serviceType;

    ReturnUpsShippingLabelGet({this.rmaNumber,this.serviceType});
    ReturnUpsShippingLabelGet.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        rmaNumber = json['rmaNumber'];
        serviceType = json['serviceType'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'rmaNumber': rmaNumber,
        'serviceType': serviceType
    };

    getTypeName() => "ReturnUpsShippingLabelGet";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'extensions.avon.ca', types: <String, TypeInfo> {
    'ReturnUpsShippingLabelGet': TypeInfo(TypeOf.Class, create:() => ReturnUpsShippingLabelGet()),
});

Dart ReturnUpsShippingLabelGet DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /returns/{RMANumber}/ups-label HTTP/1.1 
Host: extensions.avon.ca 
Accept: text/csv