| GET | /crmFormConfigurations/{brand}/{posCode} | Get all available CRM Form Configurations |
|---|
namespace Richemont.Booster2.PublicApi.CRM.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type GetCrmFormConfigurationsResponse() =
///<summary>
///Privacy policy agreement in Time Vallée POS group, e.g. M, V, N
///</summary>
[<ApiMember(Description="Privacy policy agreement in Time Vallée POS group, e.g. M, V, N", IsRequired=true)>]
member val timeValeePrivacyPolicy:String = null with get,set
///<summary>
///Store data abroad agreement in Time Vallée POS group, e.g. M, V, N
///</summary>
[<ApiMember(Description="Store data abroad agreement in Time Vallée POS group, e.g. M, V, N", IsRequired=true)>]
member val timeValeeAllowStoreDataAbroad:String = null with get,set
///<summary>
///Data sharing consent, e.g. M, V, N
///</summary>
[<ApiMember(Description="Data sharing consent, e.g. M, V, N", IsRequired=true)>]
member val dataSharingConsent:String = null with get,set
///<summary>
///Requirement for email field, e.g. M, V, N
///</summary>
[<ApiMember(Description="Requirement for email field, e.g. M, V, N", IsRequired=true)>]
member val email:String = null with get,set
///<summary>
///Requirement for phone field, e.g. M, V, N
///</summary>
[<ApiMember(Description="Requirement for phone field, e.g. M, V, N", IsRequired=true)>]
member val phone:String = null with get,set
///<summary>
///Requirement for middle name field, e.g. M, V, N
///</summary>
[<ApiMember(Description="Requirement for middle name field, e.g. M, V, N", IsRequired=true)>]
member val middleName:String = null with get,set
///<summary>
///Privacy policy agreement in Maison, e.g. M, V, N
///</summary>
[<ApiMember(Description="Privacy policy agreement in Maison, e.g. M, V, N", IsRequired=true)>]
member val privacyPolicy:String = null with get,set
///<summary>
///Store data abroad agreement in Maison, e.g. M, V, N
///</summary>
[<ApiMember(Description="Store data abroad agreement in Maison, e.g. M, V, N", IsRequired=true)>]
member val allowStoreDateAbroad:String = null with get,set
///<summary>
///Requirement for sales representative field, e.g. M, V, N
///</summary>
[<ApiMember(Description="Requirement for sales representative field, e.g. M, V, N", IsRequired=true)>]
member val salesRep:String = null with get,set
///<summary>
///Show or hide Transliteration fields
///</summary>
[<ApiMember(Description="Show or hide Transliteration fields", IsRequired=true)>]
member val showNotLatinFields:Boolean = new Boolean() with get,set
///<summary>
///Transliteration language
///</summary>
[<ApiMember(Description="Transliteration language", IsRequired=true)>]
member val transliterationLanguage:String = null with get,set
///<summary>
///City
///</summary>
[<ApiMember(Description="City", IsRequired=true)>]
member val city:String = null with get,set
[<AllowNullLiteral>]
type GetCrmFormConfigurations() =
///<summary>
///Brand Triagram, e.g. CAR, IWC, VAC
///</summary>
[<ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)>]
member val brand:String = null with get,set
///<summary>
///Point of Sale Code, e.g. ES100:102048
///</summary>
[<ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)>]
member val posCode:String = null with get,set
///<summary>
///ISO Alpha-2 Country Code, e.g. it, ch
///</summary>
[<ApiMember(Description="ISO Alpha-2 Country Code, e.g. it, ch", IsRequired=true)>]
member val crmCountryId:String = null with get,set
F# GetCrmFormConfigurations DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}