| DELETE | /warranty/equipment/{brand}/{posCode}/{equipmentNr}/{warrantyType} | Delete the specified equipment warranty from SAP |
|---|
namespace Richemont.Booster2.PublicApi.Sellout.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type DeleteEquipmentWarrantyResponse() =
member val success:Boolean = new Boolean() with get,set
member val statuscode:HttpStatusCode = new HttpStatusCode() with get,set
member val message:String = null with get,set
[<AllowNullLiteral>]
type DeleteEquipmentWarranty() =
///<summary>
///Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided
///</summary>
[<ApiMember(Description="Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided")>]
member val brand:String = null with get,set
///<summary>
///Richemont POS code
///</summary>
[<ApiMember(Description="Richemont POS code", IsRequired=true)>]
member val posCode:String = null with get,set
///<summary>
///EquipmentNumber
///</summary>
[<ApiMember(Description="EquipmentNumber", IsRequired=true)>]
member val equipmentNr:String = null with get,set
///<summary>
///WarrantyType
///</summary>
[<ApiMember(Description="WarrantyType", IsRequired=true)>]
member val warrantyType:String = null with get,set
F# DeleteEquipmentWarranty DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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"}