Richemont.Booster2.PublicApi

<back to all web services

DeleteEquipmentWarranty

Requires Authentication
The following routes are available for this service:
DELETE/warranty/equipment/{brand}/{posCode}/{equipmentNr}/{warrantyType}Delete the specified equipment warranty from SAP
"use strict";
export class DeleteEquipmentWarrantyResponse {
    /** @param {{success?:boolean,statuscode?:HttpStatusCode,message?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {boolean} */
    success;
    /** @type {HttpStatusCode} */
    statuscode;
    /** @type {string} */
    message;
}
export class DeleteEquipmentWarranty {
    /** @param {{brand?:string,posCode?:string,equipmentNr?:string,warrantyType?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided */
    brand;
    /**
     * @type {string}
     * @description Richemont POS code */
    posCode;
    /**
     * @type {string}
     * @description EquipmentNumber */
    equipmentNr;
    /**
     * @type {string}
     * @description WarrantyType */
    warrantyType;
}

JavaScript DeleteEquipmentWarranty DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /warranty/equipment/{brand}/{posCode}/{equipmentNr}/{warrantyType} HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"success":false,"statuscode":"Continue","message":"String"}