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 java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

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

        /**
        * Point of Sale Code, e.g. ES100:102048
        */
        @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
        public String posCode = null;
        
        public String getBrand() { return brand; }
        public GetSelloutFormConfigurations setBrand(String value) { this.brand = value; return this; }
        public String getPosCode() { return posCode; }
        public GetSelloutFormConfigurations setPosCode(String value) { this.posCode = value; return this; }
    }

    public static class GetSelloutFormConfigurationsResponse
    {
        /**
        * 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 String salesRep = null;

        /**
        * 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 String allowConsignmentTransfer = null;

        /**
        * 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 String automaticInvoiceNumber = null;

        /**
        * 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 String allowConsignmentReturnInStock = null;

        /**
        * 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 String cpoSaleDeclaration = null;
        
        public String getSalesRep() { return salesRep; }
        public GetSelloutFormConfigurationsResponse setSalesRep(String value) { this.salesRep = value; return this; }
        public String getAllowConsignmentTransfer() { return allowConsignmentTransfer; }
        public GetSelloutFormConfigurationsResponse setAllowConsignmentTransfer(String value) { this.allowConsignmentTransfer = value; return this; }
        public String getAutomaticInvoiceNumber() { return automaticInvoiceNumber; }
        public GetSelloutFormConfigurationsResponse setAutomaticInvoiceNumber(String value) { this.automaticInvoiceNumber = value; return this; }
        public String getAllowConsignmentReturnInStock() { return allowConsignmentReturnInStock; }
        public GetSelloutFormConfigurationsResponse setAllowConsignmentReturnInStock(String value) { this.allowConsignmentReturnInStock = value; return this; }
        public String getCpoSaleDeclaration() { return cpoSaleDeclaration; }
        public GetSelloutFormConfigurationsResponse setCpoSaleDeclaration(String value) { this.cpoSaleDeclaration = value; return this; }
    }

}

Java GetSelloutFormConfigurations DTOs

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

HTTP + 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
}