Richemont.Booster2.PublicApi

<back to all web services

GetLanguages

Requires Authentication
The following routes are available for this service:
GET/languagesGet all available languages
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 GetLanguages
        End Class

        Public Partial Class GetLanguagesResponse
            Inherits List(Of Language)
        End Class

        Public Partial Class Language
            '''<Summary>
            '''Booster ID of the language
            '''</Summary>
            <ApiMember(Description:="Booster ID of the language", IsRequired:=true)>
            Public Overridable Property languageId As String

            '''<Summary>
            '''Description of the language
            '''</Summary>
            <ApiMember(Description:="Description of the language", IsRequired:=true)>
            Public Overridable Property description As String

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

VB.NET GetLanguages 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 /languages HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[]