| GET | /serialnumber/{brand}/{serialNumber}/lookup | Get 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length []