| DELETE | /warranty/equipment/{brand}/{posCode}/{equipmentNr}/{warrantyType} | Delete the specified equipment warranty from SAP |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.Sellout.ServiceModel
Namespace Global
Namespace Richemont.Booster2.PublicApi.Sellout.ServiceModel
Public Partial Class 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")>
Public Overridable Property brand As String
'''<Summary>
'''Richemont POS code
'''</Summary>
<ApiMember(Description:="Richemont POS code", IsRequired:=true)>
Public Overridable Property posCode As String
'''<Summary>
'''EquipmentNumber
'''</Summary>
<ApiMember(Description:="EquipmentNumber", IsRequired:=true)>
Public Overridable Property equipmentNr As String
'''<Summary>
'''WarrantyType
'''</Summary>
<ApiMember(Description:="WarrantyType", IsRequired:=true)>
Public Overridable Property warrantyType As String
End Class
Public Partial Class DeleteEquipmentWarrantyResponse
Public Overridable Property success As Boolean
Public Overridable Property statuscode As HttpStatusCode
Public Overridable Property message As String
End Class
End Namespace
End Namespace
VB.NET DeleteEquipmentWarranty 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 /warranty/equipment/{brand}/{posCode}/{equipmentNr}/{warrantyType} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"success":false,"statuscode":"Continue","message":"String"}