| GET | /selloutFormConfigurations/{brand}/{posCode} | Get all available Sellout Form Configurations |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.Sellout.ServiceModel
Namespace Global
Namespace Richemont.Booster2.PublicApi.Sellout.ServiceModel
Public Partial Class GetSelloutFormConfigurations
'''<Summary>
'''Brand Triagram, e.g. CAR, IWC, VAC
'''</Summary>
<ApiMember(Description:="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired:=true)>
Public Overridable Property brand As String
'''<Summary>
'''Point of Sale Code, e.g. ES100:102048
'''</Summary>
<ApiMember(Description:="Point of Sale Code, e.g. ES100:102048", IsRequired:=true)>
Public Overridable Property posCode As String
End Class
Public Partial Class GetSelloutFormConfigurationsResponse
'''<Summary>
'''Requirement for sales representative field, e.g. M, V, N
'''</Summary>
<ApiMember(Description:="Requirement for sales representative field, e.g. M, V, N", IsRequired:=true)>
Public Overridable Property salesRep As String
'''<Summary>
'''Allow consignment transfer during sellout, e.g. M, V, N
'''</Summary>
<ApiMember(Description:="Allow consignment transfer during sellout, e.g. M, V, N", IsRequired:=true)>
Public Overridable Property allowConsignmentTransfer As String
'''<Summary>
'''Invoice Number will be generated automatically during sellout, e.g. M, V, N
'''</Summary>
<ApiMember(Description:="Invoice Number will be generated automatically during sellout, e.g. M, V, N", IsRequired:=true)>
Public Overridable Property automaticInvoiceNumber As String
'''<Summary>
'''Allow consignment sellout return is stock, e.g. V, N
'''</Summary>
<ApiMember(Description:="Allow consignment sellout return is stock, e.g. V, N", IsRequired:=true)>
Public Overridable Property allowConsignmentReturnInStock As String
'''<Summary>
'''Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N
'''</Summary>
<ApiMember(Description:="Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N", IsRequired:=true)>
Public Overridable Property cpoSaleDeclaration As String
End Class
End Namespace
End Namespace
VB.NET GetSelloutFormConfigurations DTOs
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 /selloutFormConfigurations/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
salesRep: String,
allowConsignmentTransfer: String,
automaticInvoiceNumber: String,
allowConsignmentReturnInStock: String,
cpoSaleDeclaration: String
}