Richemont.Booster2.PublicApi

<back to all web services

GetProductQuantityFigures

Requires Authentication
The following routes are available for this service:
GET/stock/{brand}/productQuantityFiguresGet product quantity figures
import java.math.*
import java.util.*
import net.servicestack.client.*


open class GetProductQuantityFigures
{
    /**
    * Brand
    */
    @ApiMember(Description="Brand", IsRequired=true)
    var brand:String? = null

    /**
    * POS Legacy codes
    */
    @ApiMember(Description="POS Legacy codes", IsRequired=true)
    var posCodes:ArrayList<String> = ArrayList<String>()

    /**
    * Article codes
    */
    @ApiMember(Description="Article codes", IsRequired=true)
    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)
    var stockPosCode:String? = null

    /**
    * Article Code
    */
    @ApiMember(Description="Article Code", IsRequired=true)
    var articleCode:String? = null

    /**
    * Stock quantity
    */
    @ApiMember(Description="Stock quantity", IsRequired=true)
    var stockQuantity:Int? = null

    /**
    * Stock quantity for standard orders
    */
    @ApiMember(Description="Stock quantity for standard orders", IsRequired=true)
    var standardStockQuantity:Int? = null

    /**
    * Stock quantity for consignment orders
    */
    @ApiMember(Description="Stock quantity for consignment orders", IsRequired=true)
    var consignmentStockQuantity:Int? = null

    /**
    * Ordered pending quantity
    */
    @ApiMember(Description="Ordered pending quantity", IsRequired=true)
    var orderedPendingQuantity:Int? = null

    /**
    * Ordered confirmed quantity
    */
    @ApiMember(Description="Ordered confirmed quantity", IsRequired=true)
    var orderedConfirmedQuantity:Int? = null

    /**
    * Ordered confirmed quantities splitted by reason codes
    */
    @ApiMember(Description="Ordered confirmed quantities splitted by reason codes")
    var orderedConfirmedQuantityByReason:ArrayList<ReasonCodeQuantity> = ArrayList<ReasonCodeQuantity>()

    /**
    * In transit quantity
    */
    @ApiMember(Description="In transit quantity", IsRequired=true)
    var inTransitQuantity:Int? = null

    /**
    * In transit quantities splitted by reason codes
    */
    @ApiMember(Description="In transit quantities splitted by reason codes")
    var inTransitQuantityByReason:ArrayList<ReasonCodeQuantity> = ArrayList<ReasonCodeQuantity>()

    /**
    * Standard assortment no autoRep quantity
    */
    @ApiMember(Description="Standard assortment no autoRep quantity", IsRequired=true)
    var standardAssortmentNoAutoRepQuantity:Int? = null

    /**
    * Standard assortment autoRep quantity
    */
    @ApiMember(Description="Standard assortment autoRep quantity", IsRequired=true)
    var standardAssortmentAutoRepQuantity:Int? = null

    /**
    * Consignment assortment no autoRep quantity
    */
    @ApiMember(Description="Consignment assortment no autoRep quantity", IsRequired=true)
    var consignmentAssortmentNoAutoRepQuantity:Int? = null

    /**
    * Consignment assortment autoRep quantity
    */
    @ApiMember(Description="Consignment assortment autoRep quantity", IsRequired=true)
    var consignmentAssortmentAutoRepQuantity:Int? = null

    /**
    * Total ordered
    */
    @ApiMember(Description="Total ordered", IsRequired=true)
    var totalOrdered:Int? = null
}

open class ReasonCodeQuantity
{
    /**
    * Order Reason Code
    */
    @ApiMember(Description="Order Reason Code", IsRequired=true)
    var reasonCode:String? = null

    /**
    * Ordered quantity per Reason Code
    */
    @ApiMember(Description="Ordered quantity per Reason Code", IsRequired=true)
    var quantity:Int? = null
}

Kotlin GetProductQuantityFigures DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[]