| GET | /crmFormConfigurations/{brand}/{posCode} | Get all available CRM Form Configurations |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.CRM.ServiceModel
Namespace Global
Namespace Richemont.Booster2.PublicApi.CRM.ServiceModel
Public Partial Class GetCrmFormConfigurations
'''<Summary>
'''Brand Triagram, e.g. CAR, IWC, VAC
'''</Summary>
<ApiMember(Description:="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired:=true)>
Public Overridable Property brand As String
'''<Summary>
'''Point of Sale Code, e.g. ES100:102048
'''</Summary>
<ApiMember(Description:="Point of Sale Code, e.g. ES100:102048", IsRequired:=true)>
Public Overridable Property posCode As String
'''<Summary>
'''ISO Alpha-2 Country Code, e.g. it, ch
'''</Summary>
<ApiMember(Description:="ISO Alpha-2 Country Code, e.g. it, ch", IsRequired:=true)>
Public Overridable Property crmCountryId As String
End Class
Public Partial Class 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)>
Public Overridable Property timeValeePrivacyPolicy As String
'''<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)>
Public Overridable Property timeValeeAllowStoreDataAbroad As String
'''<Summary>
'''Data sharing consent, e.g. M, V, N
'''</Summary>
<ApiMember(Description:="Data sharing consent, e.g. M, V, N", IsRequired:=true)>
Public Overridable Property dataSharingConsent As String
'''<Summary>
'''Requirement for email field, e.g. M, V, N
'''</Summary>
<ApiMember(Description:="Requirement for email field, e.g. M, V, N", IsRequired:=true)>
Public Overridable Property email As String
'''<Summary>
'''Requirement for phone field, e.g. M, V, N
'''</Summary>
<ApiMember(Description:="Requirement for phone field, e.g. M, V, N", IsRequired:=true)>
Public Overridable Property phone As String
'''<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)>
Public Overridable Property middleName As String
'''<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)>
Public Overridable Property privacyPolicy As String
'''<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)>
Public Overridable Property allowStoreDateAbroad As String
'''<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)>
Public Overridable Property salesRep As String
'''<Summary>
'''Show or hide Transliteration fields
'''</Summary>
<ApiMember(Description:="Show or hide Transliteration fields", IsRequired:=true)>
Public Overridable Property showNotLatinFields As Boolean
'''<Summary>
'''Transliteration language
'''</Summary>
<ApiMember(Description:="Transliteration language", IsRequired:=true)>
Public Overridable Property transliterationLanguage As String
'''<Summary>
'''City
'''</Summary>
<ApiMember(Description:="City", IsRequired:=true)>
Public Overridable Property city As String
End Class
End Namespace
End Namespace
VB.NET 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
}