Richemont.Booster2.PublicApi

<back to all web services

GetCrmFormConfigurations

Requires Authentication
The following routes are available for this service:
GET/crmFormConfigurations/{brand}/{posCode}Get all available CRM Form Configurations
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetCrmFormConfigurations
    {
        /**
        * 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;

        /**
        * ISO Alpha-2 Country Code, e.g. it, ch
        */
        @ApiMember(Description="ISO Alpha-2 Country Code, e.g. it, ch", IsRequired=true)
        public String crmCountryId = null;
        
        public String getBrand() { return brand; }
        public GetCrmFormConfigurations setBrand(String value) { this.brand = value; return this; }
        public String getPosCode() { return posCode; }
        public GetCrmFormConfigurations setPosCode(String value) { this.posCode = value; return this; }
        public String getCrmCountryId() { return crmCountryId; }
        public GetCrmFormConfigurations setCrmCountryId(String value) { this.crmCountryId = value; return this; }
    }

    public static class GetCrmFormConfigurationsResponse
    {
        /**
        * Privacy policy agreement in Time Vallée POS group, e.g. M, V, N
        */
        @ApiMember(Description="Privacy policy agreement in Time Vallée POS group, e.g. M, V, N", IsRequired=true)
        public String timeValeePrivacyPolicy = null;

        /**
        * Store data abroad agreement in Time Vallée POS group, e.g. M, V, N
        */
        @ApiMember(Description="Store data abroad agreement in Time Vallée POS group, e.g. M, V, N", IsRequired=true)
        public String timeValeeAllowStoreDataAbroad = null;

        /**
        * Data sharing consent, e.g. M, V, N
        */
        @ApiMember(Description="Data sharing consent, e.g. M, V, N", IsRequired=true)
        public String dataSharingConsent = null;

        /**
        * Requirement for email field, e.g. M, V, N
        */
        @ApiMember(Description="Requirement for email field, e.g. M, V, N", IsRequired=true)
        public String email = null;

        /**
        * Requirement for phone field, e.g. M, V, N
        */
        @ApiMember(Description="Requirement for phone field, e.g. M, V, N", IsRequired=true)
        public String phone = null;

        /**
        * Requirement for middle name field, e.g. M, V, N
        */
        @ApiMember(Description="Requirement for middle name field, e.g. M, V, N", IsRequired=true)
        public String middleName = null;

        /**
        * Privacy policy agreement in Maison, e.g. M, V, N
        */
        @ApiMember(Description="Privacy policy agreement in Maison, e.g. M, V, N", IsRequired=true)
        public String privacyPolicy = null;

        /**
        * Store data abroad agreement in Maison, e.g. M, V, N
        */
        @ApiMember(Description="Store data abroad agreement in Maison, e.g. M, V, N", IsRequired=true)
        public String allowStoreDateAbroad = null;

        /**
        * 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;

        /**
        * Show or hide Transliteration fields
        */
        @ApiMember(Description="Show or hide Transliteration fields", IsRequired=true)
        public Boolean showNotLatinFields = null;

        /**
        * Transliteration language
        */
        @ApiMember(Description="Transliteration language", IsRequired=true)
        public String transliterationLanguage = null;

        /**
        * City
        */
        @ApiMember(Description="City", IsRequired=true)
        public String city = null;
        
        public String getTimeValeePrivacyPolicy() { return timeValeePrivacyPolicy; }
        public GetCrmFormConfigurationsResponse setTimeValeePrivacyPolicy(String value) { this.timeValeePrivacyPolicy = value; return this; }
        public String getTimeValeeAllowStoreDataAbroad() { return timeValeeAllowStoreDataAbroad; }
        public GetCrmFormConfigurationsResponse setTimeValeeAllowStoreDataAbroad(String value) { this.timeValeeAllowStoreDataAbroad = value; return this; }
        public String getDataSharingConsent() { return dataSharingConsent; }
        public GetCrmFormConfigurationsResponse setDataSharingConsent(String value) { this.dataSharingConsent = value; return this; }
        public String getEmail() { return email; }
        public GetCrmFormConfigurationsResponse setEmail(String value) { this.email = value; return this; }
        public String getPhone() { return phone; }
        public GetCrmFormConfigurationsResponse setPhone(String value) { this.phone = value; return this; }
        public String getMiddleName() { return middleName; }
        public GetCrmFormConfigurationsResponse setMiddleName(String value) { this.middleName = value; return this; }
        public String getPrivacyPolicy() { return privacyPolicy; }
        public GetCrmFormConfigurationsResponse setPrivacyPolicy(String value) { this.privacyPolicy = value; return this; }
        public String getAllowStoreDateAbroad() { return allowStoreDateAbroad; }
        public GetCrmFormConfigurationsResponse setAllowStoreDateAbroad(String value) { this.allowStoreDateAbroad = value; return this; }
        public String getSalesRep() { return salesRep; }
        public GetCrmFormConfigurationsResponse setSalesRep(String value) { this.salesRep = value; return this; }
        public Boolean isShowNotLatinFields() { return showNotLatinFields; }
        public GetCrmFormConfigurationsResponse setShowNotLatinFields(Boolean value) { this.showNotLatinFields = value; return this; }
        public String getTransliterationLanguage() { return transliterationLanguage; }
        public GetCrmFormConfigurationsResponse setTransliterationLanguage(String value) { this.transliterationLanguage = value; return this; }
        public String getCity() { return city; }
        public GetCrmFormConfigurationsResponse setCity(String value) { this.city = value; return this; }
    }

}

Java GetCrmFormConfigurations 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 /crmFormConfigurations/{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

{"timeValeePrivacyPolicy":"String","timeValeeAllowStoreDataAbroad":"String","dataSharingConsent":"String","email":"String","phone":"String","middleName":"String","privacyPolicy":"String","allowStoreDateAbroad":"String","salesRep":"String","showNotLatinFields":false,"transliterationLanguage":"String","city":"String"}