Trendsic Platform Service

<back to all web services

DispatchQuotePageRequest

The following routes are available for this service:
GET,OPTIONS/v1/dispatch/quote/{Token}
import 'package:servicestack/servicestack.dart';

class DispatchQuotePageRequest implements IConvertible
{
    String? Token;

    DispatchQuotePageRequest({this.Token});
    DispatchQuotePageRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
    'DispatchQuotePageRequest': TypeInfo(TypeOf.Class, create:() => DispatchQuotePageRequest()),
});

Dart DispatchQuotePageRequest DTOs

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

HTTP + OTHER

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

GET /v1/dispatch/quote/{Token} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl