| GET | /stock/{brand}/productQuantityFigures | Get product quantity figures |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetProductQuantityFigures
{
/**
* Brand
*/
@ApiMember(Description="Brand", IsRequired=true)
open var brand:String? = null
/**
* POS Legacy codes
*/
@ApiMember(Description="POS Legacy codes", IsRequired=true)
open var posCodes:ArrayList<String> = ArrayList<String>()
/**
* Article codes
*/
@ApiMember(Description="Article codes", IsRequired=true)
open var articleCodes:ArrayList<String> = ArrayList<String>()
}
open class GetProductQuantityFiguresResponse : ArrayList<ProductQuantityFigure>()
{
}
open class ProductQuantityFigure
{
/**
* Stock POS Legacy code
*/
@ApiMember(Description="Stock POS Legacy code", IsRequired=true)
open var stockPosCode:String? = null
/**
* Article Code
*/
@ApiMember(Description="Article Code", IsRequired=true)
open var articleCode:String? = null
/**
* Stock quantity
*/
@ApiMember(Description="Stock quantity", IsRequired=true)
open var stockQuantity:Int? = null
/**
* Stock quantity for standard orders
*/
@ApiMember(Description="Stock quantity for standard orders", IsRequired=true)
open var standardStockQuantity:Int? = null
/**
* Stock quantity for consignment orders
*/
@ApiMember(Description="Stock quantity for consignment orders", IsRequired=true)
open var consignmentStockQuantity:Int? = null
/**
* Ordered pending quantity
*/
@ApiMember(Description="Ordered pending quantity", IsRequired=true)
open var orderedPendingQuantity:Int? = null
/**
* Ordered confirmed quantity
*/
@ApiMember(Description="Ordered confirmed quantity", IsRequired=true)
open var orderedConfirmedQuantity:Int? = null
/**
* Ordered confirmed quantities splitted by reason codes
*/
@ApiMember(Description="Ordered confirmed quantities splitted by reason codes")
open var orderedConfirmedQuantityByReason:ArrayList<ReasonCodeQuantity>? = null
/**
* In transit quantity
*/
@ApiMember(Description="In transit quantity", IsRequired=true)
open var inTransitQuantity:Int? = null
/**
* In transit quantities splitted by reason codes
*/
@ApiMember(Description="In transit quantities splitted by reason codes")
open var inTransitQuantityByReason:ArrayList<ReasonCodeQuantity>? = null
/**
* Standard assortment no autoRep quantity
*/
@ApiMember(Description="Standard assortment no autoRep quantity", IsRequired=true)
open var standardAssortmentNoAutoRepQuantity:Int? = null
/**
* Standard assortment autoRep quantity
*/
@ApiMember(Description="Standard assortment autoRep quantity", IsRequired=true)
open var standardAssortmentAutoRepQuantity:Int? = null
/**
* Consignment assortment no autoRep quantity
*/
@ApiMember(Description="Consignment assortment no autoRep quantity", IsRequired=true)
open var consignmentAssortmentNoAutoRepQuantity:Int? = null
/**
* Consignment assortment autoRep quantity
*/
@ApiMember(Description="Consignment assortment autoRep quantity", IsRequired=true)
open var consignmentAssortmentAutoRepQuantity:Int? = null
/**
* Total ordered
*/
@ApiMember(Description="Total ordered", IsRequired=true)
open var totalOrdered:Int? = null
}
open class ReasonCodeQuantity
{
/**
* Order Reason Code
*/
@ApiMember(Description="Order Reason Code", IsRequired=true)
open var reasonCode:String? = null
/**
* Ordered quantity per Reason Code
*/
@ApiMember(Description="Ordered quantity per Reason Code", IsRequired=true)
open var quantity:Int? = null
}
Kotlin GetProductQuantityFigures DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /stock/{brand}/productQuantityFigures HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length []