| PUT | /posIdentity/{brand} | Update a POS Brand Identity |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.POS.ServiceModel
Namespace Global
Namespace Richemont.Booster2.PublicApi.POS.ServiceModel
Public Partial Class UpdatePOSBrandIdentity
'''<Summary>
'''Point of Sale Code, e.g. ES100:102048
'''</Summary>
<ApiMember(Description:="Point of Sale Code, e.g. ES100:102048", IsRequired:=true)>
Public Overridable Property posCode As String
'''<Summary>
'''Brand Triagram, e.g. CAR, IWC, VAC
'''</Summary>
<ApiMember(Description:="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired:=true)>
Public Overridable Property brand As String
'''<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")>
Public Overridable Property alternativeCountry As String
'''<Summary>
'''Alternative Zip Code of POS, max length 50 characters
'''</Summary>
<ApiMember(Description:="Alternative Zip Code of POS, max length 50 characters")>
Public Overridable Property alternativeZipCode As String
'''<Summary>
'''Alternative Street Name and Number of the POS
'''</Summary>
<ApiMember(Description:="Alternative Street Name and Number of the POS")>
Public Overridable Property alternativeStreet As String
'''<Summary>
'''Alternative City name of the POS, max length 50 characters
'''</Summary>
<ApiMember(Description:="Alternative City name of the POS, max length 50 characters")>
Public Overridable Property alternativeCity As String
'''<Summary>
'''Total Maison Commercial Surface
'''</Summary>
<ApiMember(Description:="Total Maison Commercial Surface")>
Public Overridable Property brandWatchesCommercialSurface As Nullable(Of Decimal)
'''<Summary>
'''Watches Commercial Area
'''</Summary>
<ApiMember(Description:="Watches Commercial Area")>
Public Overridable Property posWatchesCommercialSurface As Nullable(Of Decimal)
'''<Summary>
'''Website URL (Partner Website), max length 200 characters
'''</Summary>
<ApiMember(Description:="Website URL (Partner Website), max length 200 characters")>
Public Overridable Property website As String
'''<Summary>
'''SWT POS type
'''</Summary>
<ApiMember(Description:="SWT POS type")>
Public Overridable Property posType As Nullable(Of Integer)
'''<Summary>
'''Post Contract Status Id
'''</Summary>
<ApiMember(Description:="Post Contract Status Id")>
Public Overridable Property postContractStatusId As Nullable(Of Integer)
'''<Summary>
'''Opening Date
'''</Summary>
<ApiMember(Description:="Opening Date")>
Public Overridable Property openingDate As Nullable(Of Date)
'''<Summary>
'''Closing Date
'''</Summary>
<ApiMember(Description:="Closing Date")>
Public Overridable Property closingDate As Nullable(Of Date)
'''<Summary>
'''Sub Market Country ID
'''</Summary>
<ApiMember(Description:="Sub Market Country ID")>
Public Overridable Property subMarketCountryId As Nullable(Of Integer)
'''<Summary>
'''Facility Type Id
'''</Summary>
<ApiMember(Description:="Facility Type Id")>
Public Overridable Property addressTypeId As Nullable(Of Integer)
'''<Summary>
'''Facility Additional Information
'''</Summary>
<ApiMember(Description:="Facility Additional Information")>
Public Overridable Property mallOrDeptStoreUnitNumber As String
'''<Summary>
'''Number of Floors
'''</Summary>
<ApiMember(Description:="Number of Floors")>
Public Overridable Property floorNumber As Nullable(Of Integer)
'''<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")>
Public Overridable Property gpsLatitude As Nullable(Of Decimal)
'''<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")>
Public Overridable Property gpsLongitude As Nullable(Of Decimal)
'''<Summary>
'''Time Vallee
'''</Summary>
<ApiMember(Description:="Time Vallee", IsRequired:=true)>
Public Overridable Property timeVallee As Boolean
'''<Summary>
'''Last Visit Date
'''</Summary>
<ApiMember(Description:="Last Visit Date")>
Public Overridable Property lastVisitDate As Nullable(Of Date)
'''<Summary>
'''EPartnerProgram
'''</Summary>
<ApiMember(Description:="EPartnerProgram")>
Public Overridable Property ePartnerProgram As Nullable(Of Integer)
'''<Summary>
'''ePartner Launch Date
'''</Summary>
<ApiMember(Description:="ePartner Launch Date")>
Public Overridable Property ePartnerLaunchDate As Nullable(Of Date)
'''<Summary>
'''ePartner Scoring
'''</Summary>
<ApiMember(Description:="ePartner Scoring")>
Public Overridable Property ePartnerScoring As Nullable(Of Integer)
'''<Summary>
'''Social Media
'''</Summary>
<ApiMember(Description:="Social Media")>
Public Overridable Property socialMedia As Nullable(Of Boolean)
'''<Summary>
'''SEO
'''</Summary>
<ApiMember(Description:="SEO")>
Public Overridable Property seo As Nullable(Of Boolean)
'''<Summary>
'''Google Business
'''</Summary>
<ApiMember(Description:="Google Business")>
Public Overridable Property googleBusiness As Nullable(Of Boolean)
End Class
Public Partial Class UpdatePOSBrandIdentityResponse
End Class
End Namespace
End Namespace
VB.NET UpdatePOSBrandIdentity 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
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/json
Content-Type: application/json
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":"\/Date(-62135596800000-0000)\/","closingDate":"\/Date(-62135596800000-0000)\/","subMarketCountryId":0,"addressTypeId":0,"mallOrDeptStoreUnitNumber":"String","floorNumber":0,"gpsLatitude":0,"gpsLongitude":0,"timeVallee":false,"lastVisitDate":"\/Date(-62135596800000-0000)\/","ePartnerProgram":0,"ePartnerLaunchDate":"\/Date(-62135596800000-0000)\/","ePartnerScoring":0,"socialMedia":false,"seo":false,"googleBusiness":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{}