| 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 .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>