Richemont.Booster2.PublicApi

<back to all web services

UpdatePOSBrandIdentity

Requires Authentication
The following routes are available for this service:
PUT/posIdentity/{brand}Update a POS Brand Identity
namespace Richemont.Booster2.PublicApi.POS.ServiceModel

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type UpdatePOSBrandIdentityResponse() = 
        class end

    [<AllowNullLiteral>]
    type UpdatePOSBrandIdentity() = 
        ///<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>
        ///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>
        ///Alternative Country ISO code, e.g. az, ca, us. max length 50 characters
        ///</summary>
        [<ApiMember(Description="Alternative Country ISO code, e.g. az, ca, us. max length 50 characters")>]
        member val alternativeCountry:String = null with get,set

        ///<summary>
        ///Alternative Zip Code of POS, max length 50 characters
        ///</summary>
        [<ApiMember(Description="Alternative Zip Code of POS, max length 50 characters")>]
        member val alternativeZipCode:String = null with get,set

        ///<summary>
        ///Alternative Street Name and Number of the POS
        ///</summary>
        [<ApiMember(Description="Alternative Street Name and Number of the POS")>]
        member val alternativeStreet:String = null with get,set

        ///<summary>
        ///Alternative City name of the POS, max length 50 characters
        ///</summary>
        [<ApiMember(Description="Alternative City name of the POS, max length 50 characters")>]
        member val alternativeCity:String = null with get,set

        ///<summary>
        ///Total Maison Commercial Surface
        ///</summary>
        [<ApiMember(Description="Total Maison Commercial Surface")>]
        member val brandWatchesCommercialSurface:Nullable<Decimal> = new Nullable<Decimal>() with get,set

        ///<summary>
        ///Watches Commercial Area
        ///</summary>
        [<ApiMember(Description="Watches Commercial Area")>]
        member val posWatchesCommercialSurface:Nullable<Decimal> = new Nullable<Decimal>() with get,set

        ///<summary>
        ///Website URL (Partner Website), max length 200 characters
        ///</summary>
        [<ApiMember(Description="Website URL (Partner Website), max length 200 characters")>]
        member val website:String = null with get,set

        ///<summary>
        ///SWT POS type
        ///</summary>
        [<ApiMember(Description="SWT POS type")>]
        member val posType:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///Post Contract Status Id
        ///</summary>
        [<ApiMember(Description="Post Contract Status Id")>]
        member val postContractStatusId:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///Opening Date
        ///</summary>
        [<ApiMember(Description="Opening Date")>]
        member val openingDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Closing Date
        ///</summary>
        [<ApiMember(Description="Closing Date")>]
        member val closingDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Sub Market Country ID
        ///</summary>
        [<ApiMember(Description="Sub Market Country ID")>]
        member val subMarketCountryId:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///Facility Type Id
        ///</summary>
        [<ApiMember(Description="Facility Type Id")>]
        member val addressTypeId:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///Facility Additional Information
        ///</summary>
        [<ApiMember(Description="Facility Additional Information")>]
        member val mallOrDeptStoreUnitNumber:String = null with get,set

        ///<summary>
        ///Number of Floors
        ///</summary>
        [<ApiMember(Description="Number of Floors")>]
        member val floorNumber:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///GPS Latitude, value can only be between -90.00 and 90.00
        ///</summary>
        [<ApiMember(Description="GPS Latitude, value can only be between -90.00 and 90.00")>]
        member val gpsLatitude:Nullable<Decimal> = new Nullable<Decimal>() with get,set

        ///<summary>
        ///GPS Longitude, value can only be between -90.00 and 90.00
        ///</summary>
        [<ApiMember(Description="GPS Longitude, value can only be between -90.00 and 90.00")>]
        member val gpsLongitude:Nullable<Decimal> = new Nullable<Decimal>() with get,set

        ///<summary>
        ///Time Vallee
        ///</summary>
        [<ApiMember(Description="Time Vallee", IsRequired=true)>]
        member val timeVallee:Boolean = new Boolean() with get,set

        ///<summary>
        ///Last Visit Date
        ///</summary>
        [<ApiMember(Description="Last Visit Date")>]
        member val lastVisitDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///EPartnerProgram
        ///</summary>
        [<ApiMember(Description="EPartnerProgram")>]
        member val ePartnerProgram:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///ePartner Launch Date
        ///</summary>
        [<ApiMember(Description="ePartner Launch Date")>]
        member val ePartnerLaunchDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///ePartner Scoring
        ///</summary>
        [<ApiMember(Description="ePartner Scoring")>]
        member val ePartnerScoring:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///Social Media
        ///</summary>
        [<ApiMember(Description="Social Media")>]
        member val socialMedia:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///SEO
        ///</summary>
        [<ApiMember(Description="SEO")>]
        member val seo:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///Google Business
        ///</summary>
        [<ApiMember(Description="Google Business")>]
        member val googleBusiness:Nullable<Boolean> = new Nullable<Boolean>() with get,set

F# UpdatePOSBrandIdentity 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.

PUT /posIdentity/{brand} HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdatePOSBrandIdentity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.POS.ServiceModel">
  <addressTypeId>0</addressTypeId>
  <alternativeCity>String</alternativeCity>
  <alternativeCountry>String</alternativeCountry>
  <alternativeStreet>String</alternativeStreet>
  <alternativeZipCode>String</alternativeZipCode>
  <brand>String</brand>
  <brandWatchesCommercialSurface>0</brandWatchesCommercialSurface>
  <closingDate>0001-01-01T00:00:00</closingDate>
  <ePartnerLaunchDate>0001-01-01T00:00:00</ePartnerLaunchDate>
  <ePartnerProgram>0</ePartnerProgram>
  <ePartnerScoring>0</ePartnerScoring>
  <floorNumber>0</floorNumber>
  <googleBusiness>false</googleBusiness>
  <gpsLatitude>0</gpsLatitude>
  <gpsLongitude>0</gpsLongitude>
  <lastVisitDate>0001-01-01T00:00:00</lastVisitDate>
  <mallOrDeptStoreUnitNumber>String</mallOrDeptStoreUnitNumber>
  <openingDate>0001-01-01T00:00:00</openingDate>
  <posCode>String</posCode>
  <posType>0</posType>
  <posWatchesCommercialSurface>0</posWatchesCommercialSurface>
  <postContractStatusId>0</postContractStatusId>
  <seo>false</seo>
  <socialMedia>false</socialMedia>
  <subMarketCountryId>0</subMarketCountryId>
  <timeVallee>false</timeVallee>
  <website>String</website>
</UpdatePOSBrandIdentity>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UpdatePOSBrandIdentityResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.POS.ServiceModel" />