| GET,OPTIONS | /v1/records/warehouse/containers |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class ContainersRequest
{
}
open class ContainersResponse
{
open var ResponseStatus:ResponseStatus? = null
open var Containers:ArrayList<RecordContainerDto> = ArrayList<RecordContainerDto>()
}
open class RecordContainerDto
{
open var ContainerId:Int? = null
open var Barcode:String? = null
open var Kind:String? = null
open var Icon:String? = null
open var Name:String? = null
open var ZoneKey:String? = null
open var Slot:String? = null
open var Status:String? = null
open var CheckoutJson:String? = null
open var Items:ArrayList<ContainerItemDto> = ArrayList<ContainerItemDto>()
}
open class ContainerItemDto
{
open var Id:String? = null
open var Name:String? = null
open var Flag:String? = null
open var Warn:Boolean? = null
}
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/warehouse/containers 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"}},"Containers":[{"ContainerId":0,"Barcode":"String","Kind":"String","Icon":"String","Name":"String","ZoneKey":"String","Slot":"String","Status":"String","CheckoutJson":"String","Items":[{"Id":"String","Name":"String","Flag":"String","Warn":false}]}]}