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
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 .xml suffix or ?format=xml

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