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

export class DeleteEquipmentWarrantyResponse
{
    public success: boolean;
    public statuscode: HttpStatusCode;
    public message: string;

    public constructor(init?: Partial<DeleteEquipmentWarrantyResponse>) { (Object as any).assign(this, init); }
}

export class DeleteEquipmentWarranty
{
    /** @description Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided */
    // @ApiMember(Description="Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided")
    public brand: string;

    /** @description Richemont POS code */
    // @ApiMember(Description="Richemont POS code", IsRequired=true)
    public posCode: string;

    /** @description EquipmentNumber */
    // @ApiMember(Description="EquipmentNumber", IsRequired=true)
    public equipmentNr: string;

    /** @description WarrantyType */
    // @ApiMember(Description="WarrantyType", IsRequired=true)
    public warrantyType: string;

    public constructor(init?: Partial<DeleteEquipmentWarranty>) { (Object as any).assign(this, init); }
}

TypeScript DeleteEquipmentWarranty DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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