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

export class GetCrmFormConfigurationsResponse
{
    /** @description 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 timeValeePrivacyPolicy: string;

    /** @description 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 timeValeeAllowStoreDataAbroad: string;

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

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

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

    /** @description 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 middleName: string;

    /** @description 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 privacyPolicy: string;

    /** @description 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 allowStoreDateAbroad: string;

    /** @description 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 salesRep: string;

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

    /** @description Transliteration language */
    // @ApiMember(Description="Transliteration language", IsRequired=true)
    public transliterationLanguage: string;

    /** @description City */
    // @ApiMember(Description="City", IsRequired=true)
    public city: string;

    public constructor(init?: Partial<GetCrmFormConfigurationsResponse>) { (Object as any).assign(this, init); }
}

export class GetCrmFormConfigurations
{
    /** @description Brand Triagram, e.g. CAR, IWC, VAC */
    // @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
    public brand: string;

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

    /** @description ISO Alpha-2 Country Code, e.g. it, ch */
    // @ApiMember(Description="ISO Alpha-2 Country Code, e.g. it, ch", IsRequired=true)
    public crmCountryId: string;

    public constructor(init?: Partial<GetCrmFormConfigurations>) { (Object as any).assign(this, init); }
}

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

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