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
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class GetCrmFormConfigurations
{
    /**
    * Brand Triagram, e.g. CAR, IWC, VAC
    */
    @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
    open var brand:String? = null

    /**
    * Point of Sale Code, e.g. ES100:102048
    */
    @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
    open var posCode:String? = null

    /**
    * ISO Alpha-2 Country Code, e.g. it, ch
    */
    @ApiMember(Description="ISO Alpha-2 Country Code, e.g. it, ch", IsRequired=true)
    open var crmCountryId:String? = null
}

open class GetCrmFormConfigurationsResponse
{
    /**
    * 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)
    open var timeValeePrivacyPolicy:String? = null

    /**
    * 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)
    open var timeValeeAllowStoreDataAbroad:String? = null

    /**
    * Data sharing consent, e.g. M, V, N
    */
    @ApiMember(Description="Data sharing consent, e.g. M, V, N", IsRequired=true)
    open var dataSharingConsent:String? = null

    /**
    * Requirement for email field, e.g. M, V, N
    */
    @ApiMember(Description="Requirement for email field, e.g. M, V, N", IsRequired=true)
    open var email:String? = null

    /**
    * Requirement for phone field, e.g. M, V, N
    */
    @ApiMember(Description="Requirement for phone field, e.g. M, V, N", IsRequired=true)
    open var phone:String? = null

    /**
    * Requirement for middle name field, e.g. M, V, N
    */
    @ApiMember(Description="Requirement for middle name field, e.g. M, V, N", IsRequired=true)
    open var middleName:String? = null

    /**
    * Privacy policy agreement in Maison, e.g. M, V, N
    */
    @ApiMember(Description="Privacy policy agreement in Maison, e.g. M, V, N", IsRequired=true)
    open var privacyPolicy:String? = null

    /**
    * 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)
    open var allowStoreDateAbroad:String? = null

    /**
    * Requirement for sales representative field, e.g. M, V, N
    */
    @ApiMember(Description="Requirement for sales representative field, e.g. M, V, N", IsRequired=true)
    open var salesRep:String? = null

    /**
    * Show or hide Transliteration fields
    */
    @ApiMember(Description="Show or hide Transliteration fields", IsRequired=true)
    open var showNotLatinFields:Boolean? = null

    /**
    * Transliteration language
    */
    @ApiMember(Description="Transliteration language", IsRequired=true)
    open var transliterationLanguage:String? = null

    /**
    * City
    */
    @ApiMember(Description="City", IsRequired=true)
    open var city:String? = null
}

Kotlin 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"}