Richemont.Booster2.PublicApi

<back to all web services

GetSerialNumberHistory

Requires Authentication
The following routes are available for this service:
GET/serialnumber/{brand}/{serialNumber}/lookupGet a serial number history

export class SerialNumberList
{
    /** @description Article Code */
    // @ApiMember(Description="Article Code", IsRequired=true)
    public articleCode: string;

    /** @description Serial Number */
    // @ApiMember(Description="Serial Number", IsRequired=true)
    public serialNumber: string;

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

export class GetSerialNumberHistoryResponse extends Array<SerialNumberList>
{

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

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

    /** @description Serial Number */
    // @ApiMember(Description="Serial Number", IsRequired=true)
    public serialNumber: string;

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

TypeScript GetSerialNumberHistory 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 /serialnumber/{brand}/{serialNumber}/lookup HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	
]