| GET,OPTIONS | /v1/records/logistics/pools |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class PoolsRequest
{
}
open class PoolsResponse
{
open var ResponseStatus:ResponseStatus? = null
open var Pools:ArrayList<RecordsPoolDto> = ArrayList<RecordsPoolDto>()
}
open class RecordsPoolDto
{
open var PoolId:Int? = null
open var PoolKey:String? = null
open var Site:String? = null
open var Method:String? = null
open var Icon:String? = null
open var Note:String? = null
open var ItemsJson:String? = null
open var Boxes:Int? = null
open var Pages:Int? = null
open var WeightLbs:Int? = null
open var ThBoxes:Int? = null
open var ThWeight:Int? = null
open var Status:String? = null
}
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
}
]
}