Richemont.Booster2.PublicApi

<back to all web services

GetAddressTypes

Requires Authentication
The following routes are available for this service:
GET/addressTypesGet all available address types
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.CRM.ServiceModel

Namespace Global

    Namespace Richemont.Booster2.PublicApi.CRM.ServiceModel

        Public Partial Class AddressType
            '''<Summary>
            '''Booster Address Type
            '''</Summary>
            <ApiMember(Description:="Booster Address Type", IsRequired:=true)>
            Public Overridable Property addressType As String

            '''<Summary>
            '''Address type description translation
            '''</Summary>
            <ApiMember(Description:="Address type description translation", IsRequired:=true)>
            Public Overridable Property translation As String
        End Class

        Public Partial Class GetAddressTypes
        End Class

        Public Partial Class GetAddressTypesResponse
            Inherits List(Of AddressType)
        End Class
    End Namespace
End Namespace

VB.NET GetAddressTypes DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /addressTypes HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[]