Richemont.Booster2.PublicApi

<back to all web services

GetGenders

Requires Authentication
The following routes are available for this service:
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); }
}

TypeScript GetGenders DTOs

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

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[]