| GET,OPTIONS | /v1/records/logistics/pools |
|---|
import Foundation
import ServiceStack
public class PoolsRequest : Codable
{
required public init(){}
}
public class PoolsResponse : Codable
{
public var responseStatus:ResponseStatus
public var pools:[RecordsPoolDto] = []
required public init(){}
}
public class RecordsPoolDto : Codable
{
public var poolId:Int
public var poolKey:String
public var site:String
public var method:String
public var icon:String
public var note:String
public var itemsJson:String
public var boxes:Int
public var pages:Int
public var weightLbs:Int
public var thBoxes:Int
public var thWeight:Int
public var status:String
required public init(){}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}]}