| GET | /stock/{brand}/slim | Get slim Stock |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
open class GetStockSlim
{
/**
* Brand
*/
@ApiMember(Description="Brand", IsRequired=true)
open var brand:String? = null
/**
* POS Legacy
*/
@ApiMember(Description="POS Legacy")
open var posCodes:ArrayList<String>? = null
/**
* Article Codes
*/
@ApiMember(Description="Article Codes")
open var articleCodes:ArrayList<String>? = null
/**
* Cluster Id
*/
@ApiMember(Description="Cluster Id")
open var clusterIds:ArrayList<String>? = null
/**
* Include Extra Info
*/
@ApiMember(Description="Include Extra Info")
open var includeExtraInfo:Boolean? = null
/**
* Include Consignment NotAuthorized POS
*/
@ApiMember(Description="Include Consignment NotAuthorized POS")
open var includeConsignmentNotAuthorizedPOS:Boolean? = null
/**
* Item type, 'standard' OR 'consigned'. By default, all are coming
*/
@ApiMember(Description="Item type, 'standard' OR 'consigned'. By default, all are coming")
@SerializedName("type") open var Type:String? = null
/**
* Storage Location Identifier e.g. CPO, NEW, REP
*/
@ApiMember(Description="Storage Location Identifier e.g. CPO, NEW, REP")
open var storageLocationId:String? = null
/**
* Inventory segment e.g. CPO or null
*/
@ApiMember(Description="Inventory segment e.g. CPO or null")
open var inventorySegment:String? = null
}
open class GetStockSlimResponse
{
/**
* Total Product Count
*/
@ApiMember(Description="Total Product Count", IsRequired=true)
open var totalProductCount:Int? = null
/**
* Total Consignment Count
*/
@ApiMember(Description="Total Consignment Count", IsRequired=true)
open var totalConsignmentCount:Int? = null
/**
* Articles
*/
@ApiMember(Description="Articles", IsRequired=true)
open var elements:ArrayList<String> = ArrayList<String>()
}
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 /stock/{brand}/slim HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
totalProductCount: 0,
totalConsignmentCount: 0,
elements:
[
String
]
}