Richemont.Booster2.PublicApi

<back to all web services

GetPromoterType

Requires Authentication
The following routes are available for this service:
GET/warranty/promotertypeGet 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

VB.NET GetPromoterType DTOs

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

HTTP + OTHER

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

[]