| PUT | /posIdentity/{brand} | Update a POS Brand Identity |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class UpdatePOSBrandIdentity
{
/**
* Point of Sale Code, e.g. ES100:102048
*/
@ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
var posCode:String? = null
/**
* Brand Triagram, e.g. CAR, IWC, VAC
*/
@ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
var brand:String? = null
/**
* Alternative Country ISO code, e.g. az, ca, us. max length 50 characters
*/
@ApiMember(Description="Alternative Country ISO code, e.g. az, ca, us. max length 50 characters")
var alternativeCountry:String? = null
/**
* Alternative Zip Code of POS, max length 50 characters
*/
@ApiMember(Description="Alternative Zip Code of POS, max length 50 characters")
var alternativeZipCode:String? = null
/**
* Alternative Street Name and Number of the POS
*/
@ApiMember(Description="Alternative Street Name and Number of the POS")
var alternativeStreet:String? = null
/**
* Alternative City name of the POS, max length 50 characters
*/
@ApiMember(Description="Alternative City name of the POS, max length 50 characters")
var alternativeCity:String? = null
/**
* Total Maison Commercial Surface
*/
@ApiMember(Description="Total Maison Commercial Surface")
var brandWatchesCommercialSurface:BigDecimal? = null
/**
* Watches Commercial Area
*/
@ApiMember(Description="Watches Commercial Area")
var posWatchesCommercialSurface:BigDecimal? = null
/**
* Website URL (Partner Website), max length 200 characters
*/
@ApiMember(Description="Website URL (Partner Website), max length 200 characters")
var website:String? = null
/**
* SWT POS type
*/
@ApiMember(Description="SWT POS type")
var posType:Int? = null
/**
* Post Contract Status Id
*/
@ApiMember(Description="Post Contract Status Id")
var postContractStatusId:Int? = null
/**
* Opening Date
*/
@ApiMember(Description="Opening Date")
var openingDate:Date? = null
/**
* Closing Date
*/
@ApiMember(Description="Closing Date")
var closingDate:Date? = null
/**
* Sub Market Country ID
*/
@ApiMember(Description="Sub Market Country ID")
var subMarketCountryId:Int? = null
/**
* Facility Type Id
*/
@ApiMember(Description="Facility Type Id")
var addressTypeId:Int? = null
/**
* Facility Additional Information
*/
@ApiMember(Description="Facility Additional Information")
var mallOrDeptStoreUnitNumber:String? = null
/**
* Number of Floors
*/
@ApiMember(Description="Number of Floors")
var floorNumber:Int? = null
/**
* GPS Latitude, value can only be between -90.00 and 90.00
*/
@ApiMember(Description="GPS Latitude, value can only be between -90.00 and 90.00")
var gpsLatitude:BigDecimal? = null
/**
* GPS Longitude, value can only be between -90.00 and 90.00
*/
@ApiMember(Description="GPS Longitude, value can only be between -90.00 and 90.00")
var gpsLongitude:BigDecimal? = null
/**
* Time Vallee
*/
@ApiMember(Description="Time Vallee", IsRequired=true)
var timeVallee:Boolean? = null
/**
* Last Visit Date
*/
@ApiMember(Description="Last Visit Date")
var lastVisitDate:Date? = null
/**
* EPartnerProgram
*/
@ApiMember(Description="EPartnerProgram")
var ePartnerProgram:Int? = null
/**
* ePartner Launch Date
*/
@ApiMember(Description="ePartner Launch Date")
var ePartnerLaunchDate:Date? = null
/**
* ePartner Scoring
*/
@ApiMember(Description="ePartner Scoring")
var ePartnerScoring:Int? = null
/**
* Social Media
*/
@ApiMember(Description="Social Media")
var socialMedia:Boolean? = null
/**
* SEO
*/
@ApiMember(Description="SEO")
var seo:Boolean? = null
/**
* Google Business
*/
@ApiMember(Description="Google Business")
var googleBusiness:Boolean? = null
}
open class UpdatePOSBrandIdentityResponse
{
}
Kotlin 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" />