| GET | /selloutFormConfigurations/{brand}/{posCode} | Get all available Sellout Form Configurations |
|---|
namespace Richemont.Booster2.PublicApi.Sellout.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type 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)>]
member val salesRep:String = null with get,set
///<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)>]
member val allowConsignmentTransfer:String = null with get,set
///<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)>]
member val automaticInvoiceNumber:String = null with get,set
///<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)>]
member val allowConsignmentReturnInStock:String = null with get,set
///<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)>]
member val cpoSaleDeclaration:String = null with get,set
[<AllowNullLiteral>]
type GetSelloutFormConfigurations() =
///<summary>
///Brand Triagram, e.g. CAR, IWC, VAC
///</summary>
[<ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)>]
member val brand:String = null with get,set
///<summary>
///Point of Sale Code, e.g. ES100:102048
///</summary>
[<ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)>]
member val posCode:String = null with get,set
F# GetSelloutFormConfigurations DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetSelloutFormConfigurationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Sellout.ServiceModel"> <allowConsignmentReturnInStock>String</allowConsignmentReturnInStock> <allowConsignmentTransfer>String</allowConsignmentTransfer> <automaticInvoiceNumber>String</automaticInvoiceNumber> <cpoSaleDeclaration>String</cpoSaleDeclaration> <salesRep>String</salesRep> </GetSelloutFormConfigurationsResponse>