Booster.Microservices

<back to all web services

GetBrandPrivacyPolicy

Requires Authentication
The following routes are available for this service:
POST/warranty/v1/GetBrandPrivacyPolicy
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetBrandPrivacyPolicy extends BaseRequest<String>
    {
        public String countryId = null;
        public String languageId = null;
        public String brandTrigram = null;
        public Integer posId = null;
        
        public String getCountryId() { return countryId; }
        public GetBrandPrivacyPolicy setCountryId(String value) { this.countryId = value; return this; }
        public String getLanguageId() { return languageId; }
        public GetBrandPrivacyPolicy setLanguageId(String value) { this.languageId = value; return this; }
        public String getBrandTrigram() { return brandTrigram; }
        public GetBrandPrivacyPolicy setBrandTrigram(String value) { this.brandTrigram = value; return this; }
        public Integer getPosId() { return posId; }
        public GetBrandPrivacyPolicy setPosId(Integer value) { this.posId = value; return this; }
    }

    public static class BaseRequest<TResponse> implements IRequest
    {
        public String sid = null;
        public String app = null;
        public String _os = null;
        public String _appVersion = null;
        public String _searchMethod = null;
        
        public String getSid() { return sid; }
        public BaseRequest<TResponse> setSid(String value) { this.sid = value; return this; }
        public String getApp() { return app; }
        public BaseRequest<TResponse> setApp(String value) { this.app = value; return this; }
        public String getOs() { return _os; }
        public BaseRequest<TResponse> setOs(String value) { this._os = value; return this; }
        public String getAppVersion() { return _appVersion; }
        public BaseRequest<TResponse> setAppVersion(String value) { this._appVersion = value; return this; }
        public String getSearchMethod() { return _searchMethod; }
        public BaseRequest<TResponse> setSearchMethod(String value) { this._searchMethod = value; return this; }
    }

}

Java GetBrandPrivacyPolicy DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /warranty/v1/GetBrandPrivacyPolicy HTTP/1.1 
Host: qp-microservices-booster.richemont.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetBrandPrivacyPolicy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Booster.Microservices.ServiceModel.Sale">
  <_appVersion xmlns="http://schemas.datacontract.org/2004/07/Booster.Microservices.ServiceModel.Common">String</_appVersion>
  <_os xmlns="http://schemas.datacontract.org/2004/07/Booster.Microservices.ServiceModel.Common">String</_os>
  <_searchMethod xmlns="http://schemas.datacontract.org/2004/07/Booster.Microservices.ServiceModel.Common">String</_searchMethod>
  <app xmlns="http://schemas.datacontract.org/2004/07/Booster.Microservices.ServiceModel.Common">String</app>
  <sid xmlns="http://schemas.datacontract.org/2004/07/Booster.Microservices.ServiceModel.Common">String</sid>
  <brandTrigram>String</brandTrigram>
  <countryId>String</countryId>
  <languageId>String</languageId>
  <posId>0</posId>
</GetBrandPrivacyPolicy>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

(string)