| 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); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: 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
}
},
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
}
]
}