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
namespace Richemont.Booster2.PublicApi.CRM.ServiceModel

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type AddressType() = 
        ///<summary>
        ///Booster Address Type
        ///</summary>
        [<ApiMember(Description="Booster Address Type", IsRequired=true)>]
        member val addressType:String = null with get,set

        ///<summary>
        ///Address type description translation
        ///</summary>
        [<ApiMember(Description="Address type description translation", IsRequired=true)>]
        member val translation:String = null with get,set

    [<AllowNullLiteral>]
    type GetAddressTypesResponse() = 
        inherit ResizeArray<AddressType>()

    [<AllowNullLiteral>]
    type GetAddressTypes() = 
        class end

F# 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

[]