| GET | /crmFormConfigurations/{brand}/{posCode} | Get all available CRM Form Configurations |
|---|
import Foundation
import ServiceStack
public class GetCrmFormConfigurations : Codable
{
/**
* Brand Triagram, e.g. CAR, IWC, VAC
*/
// @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
public var brand:String
/**
* Point of Sale Code, e.g. ES100:102048
*/
// @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
public var posCode:String
/**
* ISO Alpha-2 Country Code, e.g. it, ch
*/
// @ApiMember(Description="ISO Alpha-2 Country Code, e.g. it, ch", IsRequired=true)
public var crmCountryId:String
required public init(){}
}
public class GetCrmFormConfigurationsResponse : Codable
{
/**
* 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 var timeValeePrivacyPolicy:String
/**
* 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 var timeValeeAllowStoreDataAbroad:String
/**
* Data sharing consent, e.g. M, V, N
*/
// @ApiMember(Description="Data sharing consent, e.g. M, V, N", IsRequired=true)
public var dataSharingConsent:String
/**
* Requirement for email field, e.g. M, V, N
*/
// @ApiMember(Description="Requirement for email field, e.g. M, V, N", IsRequired=true)
public var email:String
/**
* Requirement for phone field, e.g. M, V, N
*/
// @ApiMember(Description="Requirement for phone field, e.g. M, V, N", IsRequired=true)
public var phone:String
/**
* 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 var middleName:String
/**
* 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 var privacyPolicy:String
/**
* 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 var allowStoreDateAbroad:String
/**
* 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 var salesRep:String
/**
* Show or hide Transliteration fields
*/
// @ApiMember(Description="Show or hide Transliteration fields", IsRequired=true)
public var showNotLatinFields:Bool
/**
* Transliteration language
*/
// @ApiMember(Description="Transliteration language", IsRequired=true)
public var transliterationLanguage:String
/**
* City
*/
// @ApiMember(Description="City", IsRequired=true)
public var city:String
required public init(){}
}
Swift 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>