| GET | /genders/{brand}/{posCode} | Get genders |
|---|
export class Gender
{
/** @description Gender Id */
// @ApiMember(Description="Gender Id", IsRequired=true)
public gender: string;
/** @description Gender description */
// @ApiMember(Description="Gender description", IsRequired=true)
public genderDs: string;
public constructor(init?: Partial<Gender>) { (Object as any).assign(this, init); }
}
export class GetGendersResponse extends Array<Gender>
{
public constructor(init?: Partial<GetGendersResponse>) { super(); (Object as any).assign(this, init); }
}
export class GetGenders
{
/** @description Brand */
// @ApiMember(Description="Brand", IsRequired=true)
public brand: string;
/** @description POS Legacy */
// @ApiMember(Description="POS Legacy", IsRequired=true)
public posCode: string;
public constructor(init?: Partial<GetGenders>) { (Object as any).assign(this, init); }
}
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.
GET /genders/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length []