Richemont.Booster2.PublicApi

<back to all web services

GetInterests

Requires Authentication
The following routes are available for this service:
GET/interests/{brand}/{posCode}Get customer interests

export class Interest
{
    /** @description Interest description */
    // @ApiMember(Description="Interest description", IsRequired=true)
    public interest: string;

    /** @description SAP Interest ID, e.g. 'CA-1' */
    // @ApiMember(Description="SAP Interest ID, e.g. 'CA-1'", IsRequired=true)
    public sapInterestId: string;

    /** @description Interest description translation */
    // @ApiMember(Description="Interest description translation")
    public translation: string;

    public constructor(init?: Partial<Interest>) { (Object as any).assign(this, init); }
}

export class GetInterestsResponse extends Array<Interest>
{

    public constructor(init?: Partial<GetInterestsResponse>) { super(); (Object as any).assign(this, init); }
}

export class GetInterests
{
    /** @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<GetInterests>) { (Object as any).assign(this, init); }
}

TypeScript GetInterests DTOs

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

HTTP + JSV

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

GET /interests/{brand}/{posCode} HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	
]