| GET | /partner/warranty/equipment | Read CPO Sellout | Read CPO Sellout API |
|---|
export class ReadEquipmentWarrantyPartnerResponseItem
{
/** @description Product name */
// @ApiMember(Description="Product name")
public productName?: string;
/** @description Product description */
// @ApiMember(Description="Product description")
public productDescription?: string;
/** @description Product reference */
// @ApiMember(Description="Product reference")
public reference?: string;
/** @description Product serial number */
// @ApiMember(Description="Product serial number")
public serialNumber?: string;
/** @description Quantity */
// @ApiMember(Description="Quantity")
public quantity?: number;
/** @description Status */
// @ApiMember(Description="Status")
public status?: string;
/** @description Return reason */
// @ApiMember(Description="Return reason")
public returnReason?: string;
/** @description Additional notes */
// @ApiMember(Description="Additional notes")
public additionalNotes?: string;
/** @description Warranty end date */
// @ApiMember(Description="Warranty end date")
public warrantyEndDate?: string;
public constructor(init?: Partial<ReadEquipmentWarrantyPartnerResponseItem>) { (Object as any).assign(this, init); }
}
export class ReadEquipmentWarrantyPartnerResponse
{
/** @description Maison */
// @ApiMember(Description="Maison")
public maison?: string;
/** @description Cpo sellout id */
// @ApiMember(Description="Cpo sellout id")
public cpoSelloutId?: string;
/** @description pos */
// @ApiMember(Description="pos")
public pos?: string;
/** @description Sellout date */
// @ApiMember(Description="Sellout date")
public selloutDate?: string;
/** @description Sellout status */
// @ApiMember(Description="Sellout status")
public selloutStatus?: string;
/** @description Sold by */
// @ApiMember(Description="Sold by")
public soldBy?: string;
/** @description Cpo sellout items */
// @ApiMember(Description="Cpo sellout items")
public readCpoSelloutResponseItems?: ReadEquipmentWarrantyPartnerResponseItem[];
public constructor(init?: Partial<ReadEquipmentWarrantyPartnerResponse>) { (Object as any).assign(this, init); }
}
export class ReadEquipmentWarrantyPartner
{
/** @description Brand Trigram, e.g. CAR, IWC */
// @ApiMember(Description="Brand Trigram, e.g. CAR, IWC", IsRequired=true)
public brand: string;
/** @description Richemont POS code, e.g. 102048 */
// @ApiMember(Description="Richemont POS code, e.g. 102048", IsRequired=true)
public posCode: string;
/** @description Cpo sellout Id, e.g a0RbW000000qIyXUAU */
// @ApiMember(Description="Cpo sellout Id, e.g a0RbW000000qIyXUAU", IsRequired=true)
public cpoSelloutId: string;
public constructor(init?: Partial<ReadEquipmentWarrantyPartner>) { (Object as any).assign(this, init); }
}
TypeScript ReadEquipmentWarrantyPartner DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /partner/warranty/equipment HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"maison":"String","cpoSelloutId":"String","pos":"String","selloutDate":"\/Date(-62135596800000-0000)\/","selloutStatus":"String","soldBy":"String","readCpoSelloutResponseItems":[{"productName":"String","productDescription":"String","reference":"String","serialNumber":"String","quantity":0,"status":"String","returnReason":"String","additionalNotes":"String","warrantyEndDate":"\/Date(-62135596800000-0000)\/"}]}