| DELETE | /partner/warranty/equipment/{brand}/{posCode}/{cpoSelloutId} | Delete the specified equipment warranty from SAP and B2 |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Richemont.Booster2.PublicApi.Sellout.ServiceModel;
namespace Richemont.Booster2.PublicApi.Sellout.ServiceModel
{
public partial class DeleteEquipmentWarrantyPartner
{
///<summary>
///Brand Trigram, e.g. CAR, IWC
///</summary>
[ApiMember(Description="Brand Trigram, e.g. CAR, IWC")]
public virtual string brand { get; set; }
///<summary>
///Richemont POS code
///</summary>
[ApiMember(Description="Richemont POS code", IsRequired=true)]
public virtual string posCode { get; set; }
///<summary>
///Cpo sellout Id, e.g a0RbW000000qIyXUAU
///</summary>
[ApiMember(Description="Cpo sellout Id, e.g a0RbW000000qIyXUAU", IsRequired=true)]
public virtual string cpoSelloutId { get; set; }
}
public partial class DeleteEquipmentWarrantyPartnerResponse
{
}
}
C# DeleteEquipmentWarrantyPartner DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /partner/warranty/equipment/{brand}/{posCode}/{cpoSelloutId} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{}