| PUT | /posIdentity/{brand} | Update a POS Brand Identity |
|---|
import Foundation
import ServiceStack
public class UpdatePOSBrandIdentity : Codable
{
/**
* Point of Sale Code, e.g. ES100:102048
*/
// @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
public var posCode:String
/**
* Brand Triagram, e.g. CAR, IWC, VAC
*/
// @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
public var brand:String
/**
* 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")
public var alternativeCountry:String
/**
* Alternative Zip Code of POS, max length 50 characters
*/
// @ApiMember(Description="Alternative Zip Code of POS, max length 50 characters")
public var alternativeZipCode:String
/**
* Alternative Street Name and Number of the POS
*/
// @ApiMember(Description="Alternative Street Name and Number of the POS")
public var alternativeStreet:String
/**
* Alternative City name of the POS, max length 50 characters
*/
// @ApiMember(Description="Alternative City name of the POS, max length 50 characters")
public var alternativeCity:String
/**
* Total Maison Commercial Surface
*/
// @ApiMember(Description="Total Maison Commercial Surface")
public var brandWatchesCommercialSurface:Double?
/**
* Watches Commercial Area
*/
// @ApiMember(Description="Watches Commercial Area")
public var posWatchesCommercialSurface:Double?
/**
* Website URL (Partner Website), max length 200 characters
*/
// @ApiMember(Description="Website URL (Partner Website), max length 200 characters")
public var website:String
/**
* SWT POS type
*/
// @ApiMember(Description="SWT POS type")
public var posType:Int?
/**
* Post Contract Status Id
*/
// @ApiMember(Description="Post Contract Status Id")
public var postContractStatusId:Int?
/**
* Opening Date
*/
// @ApiMember(Description="Opening Date")
public var openingDate:Date?
/**
* Closing Date
*/
// @ApiMember(Description="Closing Date")
public var closingDate:Date?
/**
* Sub Market Country ID
*/
// @ApiMember(Description="Sub Market Country ID")
public var subMarketCountryId:Int?
/**
* Facility Type Id
*/
// @ApiMember(Description="Facility Type Id")
public var addressTypeId:Int?
/**
* Facility Additional Information
*/
// @ApiMember(Description="Facility Additional Information")
public var mallOrDeptStoreUnitNumber:String
/**
* Number of Floors
*/
// @ApiMember(Description="Number of Floors")
public var floorNumber:Int?
/**
* 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")
public var gpsLatitude:Double?
/**
* 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")
public var gpsLongitude:Double?
/**
* Time Vallee
*/
// @ApiMember(Description="Time Vallee", IsRequired=true)
public var timeVallee:Bool
/**
* Last Visit Date
*/
// @ApiMember(Description="Last Visit Date")
public var lastVisitDate:Date?
/**
* EPartnerProgram
*/
// @ApiMember(Description="EPartnerProgram")
public var ePartnerProgram:Int?
/**
* ePartner Launch Date
*/
// @ApiMember(Description="ePartner Launch Date")
public var ePartnerLaunchDate:Date?
/**
* ePartner Scoring
*/
// @ApiMember(Description="ePartner Scoring")
public var ePartnerScoring:Int?
/**
* Social Media
*/
// @ApiMember(Description="Social Media")
public var socialMedia:Bool?
/**
* SEO
*/
// @ApiMember(Description="SEO")
public var seo:Bool?
/**
* Google Business
*/
// @ApiMember(Description="Google Business")
public var googleBusiness:Bool?
required public init(){}
}
public class UpdatePOSBrandIdentityResponse : Codable
{
required public init(){}
}
Swift 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
{
}