| 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 .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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"}