| 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 .xml suffix or ?format=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" />