Richemont.Booster2.PublicApi

<back to all web services

ReadEquipmentWarrantyPartner

Requires Authentication
The following routes are available for this service:
GET/partner/warranty/equipmentRead CPO SelloutRead 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 .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 /partner/warranty/equipment HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	maison: String,
	cpoSelloutId: String,
	pos: String,
	selloutDate: 0001-01-01,
	selloutStatus: String,
	soldBy: String,
	readCpoSelloutResponseItems: 
	[
		{
			productName: String,
			productDescription: String,
			reference: String,
			serialNumber: String,
			quantity: 0,
			status: String,
			returnReason: String,
			additionalNotes: String,
			warrantyEndDate: 0001-01-01
		}
	]
}