Trendsic Platform Service

<back to all web services

PickupsRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/records/logistics/pickups
"use strict";
export class RecordsPickupDto {
    /** @param {{PickupId?:number,PickupKey?:string,VendorName?:string,VendorCert?:string,Status?:string,WfLabel?:string,RunLabel?:string,ManifestJson?:string,QuoteJson?:string,WindowLabel?:string,VendorCertRef?:string,LogJson?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    PickupId;
    /** @type {string} */
    PickupKey;
    /** @type {string} */
    VendorName;
    /** @type {string} */
    VendorCert;
    /** @type {string} */
    Status;
    /** @type {string} */
    WfLabel;
    /** @type {string} */
    RunLabel;
    /** @type {string} */
    ManifestJson;
    /** @type {string} */
    QuoteJson;
    /** @type {string} */
    WindowLabel;
    /** @type {string} */
    VendorCertRef;
    /** @type {string} */
    LogJson;
}
export class PickupsResponse {
    /** @param {{ResponseStatus?:ResponseStatus,Pickups?:RecordsPickupDto[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {RecordsPickupDto[]} */
    Pickups = [];
}
export class PickupsRequest {
    constructor(init) { Object.assign(this, init) }
}

JavaScript PickupsRequest DTOs

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

HTTP + JSV

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

GET /v1/records/logistics/pickups HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Pickups: 
	[
		{
			PickupId: 0,
			PickupKey: String,
			VendorName: String,
			VendorCert: String,
			Status: String,
			WfLabel: String,
			RunLabel: String,
			ManifestJson: String,
			QuoteJson: String,
			WindowLabel: String,
			VendorCertRef: String,
			LogJson: String
		}
	]
}