| PUT | /posIdentity/{brand} | Update a POS Brand Identity |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class UpdatePOSBrandIdentity
{
/**
* Point of Sale Code, e.g. ES100:102048
*/
@ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
public String posCode = null;
/**
* Brand Triagram, e.g. CAR, IWC, VAC
*/
@ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
public String brand = 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")
public String alternativeCountry = null;
/**
* Alternative Zip Code of POS, max length 50 characters
*/
@ApiMember(Description="Alternative Zip Code of POS, max length 50 characters")
public String alternativeZipCode = null;
/**
* Alternative Street Name and Number of the POS
*/
@ApiMember(Description="Alternative Street Name and Number of the POS")
public String alternativeStreet = null;
/**
* Alternative City name of the POS, max length 50 characters
*/
@ApiMember(Description="Alternative City name of the POS, max length 50 characters")
public String alternativeCity = null;
/**
* Total Maison Commercial Surface
*/
@ApiMember(Description="Total Maison Commercial Surface")
public BigDecimal brandWatchesCommercialSurface = null;
/**
* Watches Commercial Area
*/
@ApiMember(Description="Watches Commercial Area")
public BigDecimal posWatchesCommercialSurface = null;
/**
* Website URL (Partner Website), max length 200 characters
*/
@ApiMember(Description="Website URL (Partner Website), max length 200 characters")
public String website = null;
/**
* SWT POS type
*/
@ApiMember(Description="SWT POS type")
public Integer posType = null;
/**
* Post Contract Status Id
*/
@ApiMember(Description="Post Contract Status Id")
public Integer postContractStatusId = null;
/**
* Opening Date
*/
@ApiMember(Description="Opening Date")
public Date openingDate = null;
/**
* Closing Date
*/
@ApiMember(Description="Closing Date")
public Date closingDate = null;
/**
* Sub Market Country ID
*/
@ApiMember(Description="Sub Market Country ID")
public Integer subMarketCountryId = null;
/**
* Facility Type Id
*/
@ApiMember(Description="Facility Type Id")
public Integer addressTypeId = null;
/**
* Facility Additional Information
*/
@ApiMember(Description="Facility Additional Information")
public String mallOrDeptStoreUnitNumber = null;
/**
* Number of Floors
*/
@ApiMember(Description="Number of Floors")
public Integer floorNumber = 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")
public BigDecimal gpsLatitude = 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")
public BigDecimal gpsLongitude = null;
/**
* Time Vallee
*/
@ApiMember(Description="Time Vallee", IsRequired=true)
public Boolean timeVallee = null;
/**
* Last Visit Date
*/
@ApiMember(Description="Last Visit Date")
public Date lastVisitDate = null;
/**
* EPartnerProgram
*/
@ApiMember(Description="EPartnerProgram")
public Integer ePartnerProgram = null;
/**
* ePartner Launch Date
*/
@ApiMember(Description="ePartner Launch Date")
public Date ePartnerLaunchDate = null;
/**
* ePartner Scoring
*/
@ApiMember(Description="ePartner Scoring")
public Integer ePartnerScoring = null;
/**
* Social Media
*/
@ApiMember(Description="Social Media")
public Boolean socialMedia = null;
/**
* SEO
*/
@ApiMember(Description="SEO")
public Boolean seo = null;
/**
* Google Business
*/
@ApiMember(Description="Google Business")
public Boolean googleBusiness = null;
public String getPosCode() { return posCode; }
public UpdatePOSBrandIdentity setPosCode(String value) { this.posCode = value; return this; }
public String getBrand() { return brand; }
public UpdatePOSBrandIdentity setBrand(String value) { this.brand = value; return this; }
public String getAlternativeCountry() { return alternativeCountry; }
public UpdatePOSBrandIdentity setAlternativeCountry(String value) { this.alternativeCountry = value; return this; }
public String getAlternativeZipCode() { return alternativeZipCode; }
public UpdatePOSBrandIdentity setAlternativeZipCode(String value) { this.alternativeZipCode = value; return this; }
public String getAlternativeStreet() { return alternativeStreet; }
public UpdatePOSBrandIdentity setAlternativeStreet(String value) { this.alternativeStreet = value; return this; }
public String getAlternativeCity() { return alternativeCity; }
public UpdatePOSBrandIdentity setAlternativeCity(String value) { this.alternativeCity = value; return this; }
public BigDecimal getBrandWatchesCommercialSurface() { return brandWatchesCommercialSurface; }
public UpdatePOSBrandIdentity setBrandWatchesCommercialSurface(BigDecimal value) { this.brandWatchesCommercialSurface = value; return this; }
public BigDecimal getPosWatchesCommercialSurface() { return posWatchesCommercialSurface; }
public UpdatePOSBrandIdentity setPosWatchesCommercialSurface(BigDecimal value) { this.posWatchesCommercialSurface = value; return this; }
public String getWebsite() { return website; }
public UpdatePOSBrandIdentity setWebsite(String value) { this.website = value; return this; }
public Integer getPosType() { return posType; }
public UpdatePOSBrandIdentity setPosType(Integer value) { this.posType = value; return this; }
public Integer getPostContractStatusId() { return postContractStatusId; }
public UpdatePOSBrandIdentity setPostContractStatusId(Integer value) { this.postContractStatusId = value; return this; }
public Date getOpeningDate() { return openingDate; }
public UpdatePOSBrandIdentity setOpeningDate(Date value) { this.openingDate = value; return this; }
public Date getClosingDate() { return closingDate; }
public UpdatePOSBrandIdentity setClosingDate(Date value) { this.closingDate = value; return this; }
public Integer getSubMarketCountryId() { return subMarketCountryId; }
public UpdatePOSBrandIdentity setSubMarketCountryId(Integer value) { this.subMarketCountryId = value; return this; }
public Integer getAddressTypeId() { return addressTypeId; }
public UpdatePOSBrandIdentity setAddressTypeId(Integer value) { this.addressTypeId = value; return this; }
public String getMallOrDeptStoreUnitNumber() { return mallOrDeptStoreUnitNumber; }
public UpdatePOSBrandIdentity setMallOrDeptStoreUnitNumber(String value) { this.mallOrDeptStoreUnitNumber = value; return this; }
public Integer getFloorNumber() { return floorNumber; }
public UpdatePOSBrandIdentity setFloorNumber(Integer value) { this.floorNumber = value; return this; }
public BigDecimal getGpsLatitude() { return gpsLatitude; }
public UpdatePOSBrandIdentity setGpsLatitude(BigDecimal value) { this.gpsLatitude = value; return this; }
public BigDecimal getGpsLongitude() { return gpsLongitude; }
public UpdatePOSBrandIdentity setGpsLongitude(BigDecimal value) { this.gpsLongitude = value; return this; }
public Boolean isTimeVallee() { return timeVallee; }
public UpdatePOSBrandIdentity setTimeVallee(Boolean value) { this.timeVallee = value; return this; }
public Date getLastVisitDate() { return lastVisitDate; }
public UpdatePOSBrandIdentity setLastVisitDate(Date value) { this.lastVisitDate = value; return this; }
public Integer getEPartnerProgram() { return ePartnerProgram; }
public UpdatePOSBrandIdentity setEPartnerProgram(Integer value) { this.ePartnerProgram = value; return this; }
public Date getEPartnerLaunchDate() { return ePartnerLaunchDate; }
public UpdatePOSBrandIdentity setEPartnerLaunchDate(Date value) { this.ePartnerLaunchDate = value; return this; }
public Integer getEPartnerScoring() { return ePartnerScoring; }
public UpdatePOSBrandIdentity setEPartnerScoring(Integer value) { this.ePartnerScoring = value; return this; }
public Boolean isSocialMedia() { return socialMedia; }
public UpdatePOSBrandIdentity setSocialMedia(Boolean value) { this.socialMedia = value; return this; }
public Boolean isSeo() { return seo; }
public UpdatePOSBrandIdentity setSeo(Boolean value) { this.seo = value; return this; }
public Boolean isGoogleBusiness() { return googleBusiness; }
public UpdatePOSBrandIdentity setGoogleBusiness(Boolean value) { this.googleBusiness = value; return this; }
}
public static class UpdatePOSBrandIdentityResponse
{
}
}
Java UpdatePOSBrandIdentity DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
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: text/csv
Content-Length: length
{}