| GET | /crmFormConfigurations/{brand}/{posCode} | Get all available CRM Form Configurations |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class GetCrmFormConfigurations
{
/**
* Brand Triagram, e.g. CAR, IWC, VAC
*/
@ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
var brand:String? = null
/**
* Point of Sale Code, e.g. ES100:102048
*/
@ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
var posCode:String? = null
/**
* ISO Alpha-2 Country Code, e.g. it, ch
*/
@ApiMember(Description="ISO Alpha-2 Country Code, e.g. it, ch", IsRequired=true)
var crmCountryId:String? = null
}
open 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)
var timeValeePrivacyPolicy:String? = 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)
var timeValeeAllowStoreDataAbroad:String? = null
/**
* Data sharing consent, e.g. M, V, N
*/
@ApiMember(Description="Data sharing consent, e.g. M, V, N", IsRequired=true)
var dataSharingConsent:String? = null
/**
* Requirement for email field, e.g. M, V, N
*/
@ApiMember(Description="Requirement for email field, e.g. M, V, N", IsRequired=true)
var email:String? = null
/**
* Requirement for phone field, e.g. M, V, N
*/
@ApiMember(Description="Requirement for phone field, e.g. M, V, N", IsRequired=true)
var phone:String? = 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)
var middleName:String? = 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)
var privacyPolicy:String? = 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)
var allowStoreDateAbroad:String? = 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)
var salesRep:String? = null
/**
* Show or hide Transliteration fields
*/
@ApiMember(Description="Show or hide Transliteration fields", IsRequired=true)
var showNotLatinFields:Boolean? = null
/**
* Transliteration language
*/
@ApiMember(Description="Transliteration language", IsRequired=true)
var transliterationLanguage:String? = null
/**
* City
*/
@ApiMember(Description="City", IsRequired=true)
var city:String? = null
}
Kotlin GetCrmFormConfigurations DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}