Richemont.Booster2.PublicApi

<back to all web services

GetSelloutFormConfigurations

Requires Authentication
The following routes are available for this service:
GET/selloutFormConfigurations/{brand}/{posCode}Get all available Sellout Form Configurations
import Foundation
import ServiceStack

public class GetSelloutFormConfigurations : Codable
{
    /**
    * Brand Triagram, e.g. CAR, IWC, VAC
    */
    // @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
    public var brand:String

    /**
    * Point of Sale Code, e.g. ES100:102048
    */
    // @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
    public var posCode:String

    required public init(){}
}

public class GetSelloutFormConfigurationsResponse : Codable
{
    /**
    * Requirement for sales representative field, e.g. M, V, N
    */
    // @ApiMember(Description="Requirement for sales representative field, e.g. M, V, N", IsRequired=true)
    public var salesRep:String

    /**
    * Allow consignment transfer during sellout, e.g. M, V, N
    */
    // @ApiMember(Description="Allow consignment transfer during sellout, e.g. M, V, N", IsRequired=true)
    public var allowConsignmentTransfer:String

    /**
    * Invoice Number will be generated automatically during sellout, e.g. M, V, N
    */
    // @ApiMember(Description="Invoice Number will be generated automatically during sellout, e.g. M, V, N", IsRequired=true)
    public var automaticInvoiceNumber:String

    /**
    * Allow consignment sellout return is stock, e.g. V, N
    */
    // @ApiMember(Description="Allow consignment sellout return is stock, e.g. V, N", IsRequired=true)
    public var allowConsignmentReturnInStock:String

    /**
    * Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N
    */
    // @ApiMember(Description="Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N", IsRequired=true)
    public var cpoSaleDeclaration:String

    required public init(){}
}


Swift GetSelloutFormConfigurations DTOs

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

HTTP + OTHER

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

{"salesRep":"String","allowConsignmentTransfer":"String","automaticInvoiceNumber":"String","allowConsignmentReturnInStock":"String","cpoSaleDeclaration":"String"}