| GET | /stock/{brand}/slim | Get slim Stock |
|---|
namespace Richemont.Booster2.PublicApi.Stock.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type GetStockSlimResponse() =
///<summary>
///Total Product Count
///</summary>
[<ApiMember(Description="Total Product Count", IsRequired=true)>]
member val totalProductCount:Int32 = new Int32() with get,set
///<summary>
///Total Consignment Count
///</summary>
[<ApiMember(Description="Total Consignment Count", IsRequired=true)>]
member val totalConsignmentCount:Int32 = new Int32() with get,set
///<summary>
///Articles
///</summary>
[<ApiMember(Description="Articles", IsRequired=true)>]
member val elements:ResizeArray<String> = new ResizeArray<String>() with get,set
[<AllowNullLiteral>]
type GetStockSlim() =
///<summary>
///Brand
///</summary>
[<ApiMember(Description="Brand", IsRequired=true)>]
member val brand:String = null with get,set
///<summary>
///POS Legacy
///</summary>
[<ApiMember(Description="POS Legacy")>]
member val posCodes:ResizeArray<String> = new ResizeArray<String>() with get,set
///<summary>
///Article Codes
///</summary>
[<ApiMember(Description="Article Codes")>]
member val articleCodes:ResizeArray<String> = new ResizeArray<String>() with get,set
///<summary>
///Cluster Id
///</summary>
[<ApiMember(Description="Cluster Id")>]
member val clusterIds:ResizeArray<String> = new ResizeArray<String>() with get,set
///<summary>
///Include Extra Info
///</summary>
[<ApiMember(Description="Include Extra Info")>]
member val includeExtraInfo:Boolean = new Boolean() with get,set
///<summary>
///Include Consignment NotAuthorized POS
///</summary>
[<ApiMember(Description="Include Consignment NotAuthorized POS")>]
member val includeConsignmentNotAuthorizedPOS:Boolean = new Boolean() with get,set
///<summary>
///Item type, 'standard' OR 'consigned'. By default, all are coming
///</summary>
[<ApiMember(Description="Item type, 'standard' OR 'consigned'. By default, all are coming")>]
member val type:String = null with get,set
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 /stock/{brand}/slim HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"totalProductCount":0,"totalConsignmentCount":0,"elements":["String"]}