Trendsic Platform Service

<back to all web services

PoolsRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/records/logistics/pools

export class RecordsPoolDto
{
    public PoolId: number;
    public PoolKey: string;
    public Site: string;
    public Method: string;
    public Icon: string;
    public Note: string;
    public ItemsJson: string;
    public Boxes: number;
    public Pages: number;
    public WeightLbs: number;
    public ThBoxes: number;
    public ThWeight: number;
    public Status: string;

    public constructor(init?: Partial<RecordsPoolDto>) { (Object as any).assign(this, init); }
}

export class PoolsResponse
{
    public ResponseStatus: ResponseStatus;
    public Pools: RecordsPoolDto[] = [];

    public constructor(init?: Partial<PoolsResponse>) { (Object as any).assign(this, init); }
}

export class PoolsRequest
{

    public constructor(init?: Partial<PoolsRequest>) { (Object as any).assign(this, init); }
}

TypeScript PoolsRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /v1/records/logistics/pools HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Pools":[{"PoolId":0,"PoolKey":"String","Site":"String","Method":"String","Icon":"String","Note":"String","ItemsJson":"String","Boxes":0,"Pages":0,"WeightLbs":0,"ThBoxes":0,"ThWeight":0,"Status":"String"}]}