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 .xml suffix or ?format=xml

HTTP + 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>