| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
posCode: String,
brand: String,
alternativeCountry: String,
alternativeZipCode: String,
alternativeStreet: String,
alternativeCity: String,
brandWatchesCommercialSurface: 0,
posWatchesCommercialSurface: 0,
website: String,
posType: 0,
postContractStatusId: 0,
openingDate: 0001-01-01,
closingDate: 0001-01-01,
subMarketCountryId: 0,
addressTypeId: 0,
mallOrDeptStoreUnitNumber: String,
floorNumber: 0,
gpsLatitude: 0,
gpsLongitude: 0,
timeVallee: False,
lastVisitDate: 0001-01-01,
ePartnerProgram: 0,
ePartnerLaunchDate: 0001-01-01,
ePartnerScoring: 0,
socialMedia: False,
seo: False,
googleBusiness: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}