| POST | /warranty/v1/GetBrandPrivacyPolicy |
|---|
export class BaseRequest<TResponse> implements IRequest
{
public sid: string;
public app: string;
public _os: string;
public _appVersion: string;
public _searchMethod: string;
public constructor(init?: Partial<BaseRequest<TResponse>>) { (Object as any).assign(this, init); }
}
export class GetBrandPrivacyPolicy extends BaseRequest<string>
{
public countryId: string;
public languageId: string;
public brandTrigram: string;
public posId?: number;
public constructor(init?: Partial<GetBrandPrivacyPolicy>) { super(init); (Object as any).assign(this, init); }
}
TypeScript GetBrandPrivacyPolicy 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.
POST /warranty/v1/GetBrandPrivacyPolicy HTTP/1.1
Host: qp-microservices-booster.richemont.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
countryId: String,
languageId: String,
brandTrigram: String,
posId: 0,
sid: String,
app: String,
_os: String,
_appVersion: String,
_searchMethod: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length (string)