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 Foundation
import ServiceStack

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

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

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

    required public init(){}
}

public class GetCrmFormConfigurationsResponse : Codable
{
    /**
    * 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)
    public var timeValeePrivacyPolicy:String

    /**
    * 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)
    public var timeValeeAllowStoreDataAbroad:String

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

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

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

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

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

    /**
    * 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)
    public var allowStoreDateAbroad:String

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

    /**
    * Show or hide Transliteration fields
    */
    // @ApiMember(Description="Show or hide Transliteration fields", IsRequired=true)
    public var showNotLatinFields:Bool

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

    /**
    * City
    */
    // @ApiMember(Description="City", IsRequired=true)
    public var city:String

    required public init(){}
}


Swift GetCrmFormConfigurations DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}