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
"use strict";
export class ReadEquipmentWarrantyPartnerResponseItem {
    /** @param {{productName?:string,productDescription?:string,reference?:string,serialNumber?:string,quantity?:number,status?:string,returnReason?:string,additionalNotes?:string,warrantyEndDate?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {?string}
     * @description Product name */
    productName;
    /**
     * @type {?string}
     * @description Product description */
    productDescription;
    /**
     * @type {?string}
     * @description Product reference */
    reference;
    /**
     * @type {?string}
     * @description Product serial number */
    serialNumber;
    /**
     * @type {?number}
     * @description Quantity */
    quantity;
    /**
     * @type {?string}
     * @description Status */
    status;
    /**
     * @type {?string}
     * @description Return reason */
    returnReason;
    /**
     * @type {?string}
     * @description Additional notes */
    additionalNotes;
    /**
     * @type {?string}
     * @description Warranty end date */
    warrantyEndDate;
}
export class ReadEquipmentWarrantyPartnerResponse {
    /** @param {{maison?:string,cpoSelloutId?:string,pos?:string,selloutDate?:string,selloutStatus?:string,soldBy?:string,readCpoSelloutResponseItems?:ReadEquipmentWarrantyPartnerResponseItem[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {?string}
     * @description Maison */
    maison;
    /**
     * @type {?string}
     * @description Cpo sellout id */
    cpoSelloutId;
    /**
     * @type {?string}
     * @description pos */
    pos;
    /**
     * @type {?string}
     * @description Sellout date */
    selloutDate;
    /**
     * @type {?string}
     * @description Sellout status */
    selloutStatus;
    /**
     * @type {?string}
     * @description Sold by */
    soldBy;
    /**
     * @type {?ReadEquipmentWarrantyPartnerResponseItem[]}
     * @description Cpo sellout items */
    readCpoSelloutResponseItems;
}
export class ReadEquipmentWarrantyPartner {
    /** @param {{brand?:string,posCode?:string,cpoSelloutId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Brand Trigram, e.g. CAR, IWC */
    brand;
    /**
     * @type {string}
     * @description Richemont POS code, e.g. 102048 */
    posCode;
    /**
     * @type {string}
     * @description Cpo sellout Id, e.g a0RbW000000qIyXUAU */
    cpoSelloutId;
}

JavaScript ReadEquipmentWarrantyPartner DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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)\/"}]}