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
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class PickupsRequest
    {
        
    }

    public static class PickupsResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<RecordsPickupDto> Pickups = new ArrayList<RecordsPickupDto>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public PickupsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<RecordsPickupDto> getPickups() { return Pickups; }
        public PickupsResponse setPickups(ArrayList<RecordsPickupDto> value) { this.Pickups = value; return this; }
    }

    public static class RecordsPickupDto
    {
        public Integer PickupId = null;
        public String PickupKey = null;
        public String VendorName = null;
        public String VendorCert = null;
        public String Status = null;
        public String WfLabel = null;
        public String RunLabel = null;
        public String ManifestJson = null;
        public String QuoteJson = null;
        public String WindowLabel = null;
        public String VendorCertRef = null;
        public String LogJson = null;
        
        public Integer getPickupId() { return PickupId; }
        public RecordsPickupDto setPickupId(Integer value) { this.PickupId = value; return this; }
        public String getPickupKey() { return PickupKey; }
        public RecordsPickupDto setPickupKey(String value) { this.PickupKey = value; return this; }
        public String getVendorName() { return VendorName; }
        public RecordsPickupDto setVendorName(String value) { this.VendorName = value; return this; }
        public String getVendorCert() { return VendorCert; }
        public RecordsPickupDto setVendorCert(String value) { this.VendorCert = value; return this; }
        public String getStatus() { return Status; }
        public RecordsPickupDto setStatus(String value) { this.Status = value; return this; }
        public String getWfLabel() { return WfLabel; }
        public RecordsPickupDto setWfLabel(String value) { this.WfLabel = value; return this; }
        public String getRunLabel() { return RunLabel; }
        public RecordsPickupDto setRunLabel(String value) { this.RunLabel = value; return this; }
        public String getManifestJson() { return ManifestJson; }
        public RecordsPickupDto setManifestJson(String value) { this.ManifestJson = value; return this; }
        public String getQuoteJson() { return QuoteJson; }
        public RecordsPickupDto setQuoteJson(String value) { this.QuoteJson = value; return this; }
        public String getWindowLabel() { return WindowLabel; }
        public RecordsPickupDto setWindowLabel(String value) { this.WindowLabel = value; return this; }
        public String getVendorCertRef() { return VendorCertRef; }
        public RecordsPickupDto setVendorCertRef(String value) { this.VendorCertRef = value; return this; }
        public String getLogJson() { return LogJson; }
        public RecordsPickupDto setLogJson(String value) { this.LogJson = value; return this; }
    }

}

Java 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
		}
	]
}