| GET | /warranty/promotertype | Get a list of Promoter Types |
|---|
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 GetPromoterType
End Class
Public Partial Class GetPromoterTypeResponse
Inherits List(Of PromoterTypeItem)
End Class
Public Partial Class PromoterTypeItem
'''<Summary>
'''Code of Promoter Type
'''</Summary>
<ApiMember(Description:="Code of Promoter Type", IsRequired:=true)>
Public Overridable Property code As String
'''<Summary>
'''Description of Promoter Type
'''</Summary>
<ApiMember(Description:="Description of Promoter Type", IsRequired:=true)>
Public Overridable Property description As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /warranty/promotertype HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ ]