| GET | /crmFormConfigurations/{brand}/{posCode} | Get all available CRM Form Configurations |
|---|
"use strict";
export class GetCrmFormConfigurationsResponse {
/** @param {{timeValeePrivacyPolicy?:string,timeValeeAllowStoreDataAbroad?:string,dataSharingConsent?:string,email?:string,phone?:string,middleName?:string,privacyPolicy?:string,allowStoreDateAbroad?:string,salesRep?:string,showNotLatinFields?:boolean,transliterationLanguage?:string,city?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Privacy policy agreement in Time Vallée POS group, e.g. M, V, N */
timeValeePrivacyPolicy;
/**
* @type {string}
* @description Store data abroad agreement in Time Vallée POS group, e.g. M, V, N */
timeValeeAllowStoreDataAbroad;
/**
* @type {string}
* @description Data sharing consent, e.g. M, V, N */
dataSharingConsent;
/**
* @type {string}
* @description Requirement for email field, e.g. M, V, N */
email;
/**
* @type {string}
* @description Requirement for phone field, e.g. M, V, N */
phone;
/**
* @type {string}
* @description Requirement for middle name field, e.g. M, V, N */
middleName;
/**
* @type {string}
* @description Privacy policy agreement in Maison, e.g. M, V, N */
privacyPolicy;
/**
* @type {string}
* @description Store data abroad agreement in Maison, e.g. M, V, N */
allowStoreDateAbroad;
/**
* @type {string}
* @description Requirement for sales representative field, e.g. M, V, N */
salesRep;
/**
* @type {boolean}
* @description Show or hide Transliteration fields */
showNotLatinFields;
/**
* @type {string}
* @description Transliteration language */
transliterationLanguage;
/**
* @type {string}
* @description City */
city;
}
export class GetCrmFormConfigurations {
/** @param {{brand?:string,posCode?:string,crmCountryId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Brand Triagram, e.g. CAR, IWC, VAC */
brand;
/**
* @type {string}
* @description Point of Sale Code, e.g. ES100:102048 */
posCode;
/**
* @type {string}
* @description ISO Alpha-2 Country Code, e.g. it, ch */
crmCountryId;
}
JavaScript GetCrmFormConfigurations 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 /crmFormConfigurations/{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 <GetCrmFormConfigurationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.CRM.ServiceModel"> <allowStoreDateAbroad>String</allowStoreDateAbroad> <city>String</city> <dataSharingConsent>String</dataSharingConsent> <email>String</email> <middleName>String</middleName> <phone>String</phone> <privacyPolicy>String</privacyPolicy> <salesRep>String</salesRep> <showNotLatinFields>false</showNotLatinFields> <timeValeeAllowStoreDataAbroad>String</timeValeeAllowStoreDataAbroad> <timeValeePrivacyPolicy>String</timeValeePrivacyPolicy> <transliterationLanguage>String</transliterationLanguage> </GetCrmFormConfigurationsResponse>