| GET | /languages | Get 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
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.
GET /languages HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length []