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.*;

public class dtos
{

    public static class GetInterests
    {
        /**
        * Brand
        */
        @ApiMember(Description="Brand", IsRequired=true)
        public String brand = null;

        /**
        * POS Legacy
        */
        @ApiMember(Description="POS Legacy", IsRequired=true)
        public String posCode = null;
        
        public String getBrand() { return brand; }
        public GetInterests setBrand(String value) { this.brand = value; return this; }
        public String getPosCode() { return posCode; }
        public GetInterests setPosCode(String value) { this.posCode = value; return this; }
    }

    public static class GetInterestsResponse extends ArrayList<Interest>
    {
        
    }

    public static class Interest
    {
        /**
        * Interest description
        */
        @ApiMember(Description="Interest description", IsRequired=true)
        public String interest = null;

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

        /**
        * Interest description translation
        */
        @ApiMember(Description="Interest description translation")
        public String translation = null;
        
        public String getInterest() { return interest; }
        public Interest setInterest(String value) { this.interest = value; return this; }
        public String getSapInterestId() { return sapInterestId; }
        public Interest setSapInterestId(String value) { this.sapInterestId = value; return this; }
        public String getTranslation() { return translation; }
        public Interest setTranslation(String value) { this.translation = value; return this; }
    }

}

Java GetInterests 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 /interests/{brand}/{posCode} HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[]