Richemont.Booster2.PublicApi

<back to all web services

GetInterests

Requires Authentication
The following routes are available for this service:
GET/interests/{brand}/{posCode}Get customer interests
import java.math.*
import java.util.*
import net.servicestack.client.*


open class GetInterests
{
    /**
    * Brand
    */
    @ApiMember(Description="Brand", IsRequired=true)
    var brand:String? = null

    /**
    * POS Legacy
    */
    @ApiMember(Description="POS Legacy", IsRequired=true)
    var posCode:String? = null
}

open class GetInterestsResponse : ArrayList<Interest>()
{
}

open class Interest
{
    /**
    * Interest description
    */
    @ApiMember(Description="Interest description", IsRequired=true)
    var interest:String? = null

    /**
    * SAP Interest ID, e.g. 'CA-1'
    */
    @ApiMember(Description="SAP Interest ID, e.g. 'CA-1'", IsRequired=true)
    var sapInterestId:String? = null

    /**
    * Interest description translation
    */
    @ApiMember(Description="Interest description translation")
    var translation:String? = null
}

Kotlin GetInterests DTOs

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

HTTP + CSV

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

GET /interests/{brand}/{posCode} HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[]