Richemont.Booster2.PublicApi

<back to all web services

GetCrmFormConfigurations

Requires Authentication
The following routes are available for this service:
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 .other suffix or ?format=other

HTTP + 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"}