| 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ReadEquipmentWarrantyPartnerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Sellout.ServiceModel">
<cpoSelloutId>String</cpoSelloutId>
<maison>String</maison>
<pos>String</pos>
<readCpoSelloutResponseItems>
<ReadEquipmentWarrantyPartnerResponseItem>
<additionalNotes>String</additionalNotes>
<productDescription>String</productDescription>
<productName>String</productName>
<quantity>0</quantity>
<reference>String</reference>
<returnReason>String</returnReason>
<serialNumber>String</serialNumber>
<status>String</status>
<warrantyEndDate>0001-01-01T00:00:00</warrantyEndDate>
</ReadEquipmentWarrantyPartnerResponseItem>
</readCpoSelloutResponseItems>
<selloutDate>0001-01-01T00:00:00</selloutDate>
<selloutStatus>String</selloutStatus>
<soldBy>String</soldBy>
</ReadEquipmentWarrantyPartnerResponse>