Richemont.Booster2.PublicApi

<back to all web services

GetFilterValues

Requires Authentication
The following routes are available for this service:
GET/customer/{brand}/filter-valuesGet filters for customer search
"use strict";
export class FilterValues {
    /** @param {{id?:string,name?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Id */
    id;
    /**
     * @type {string}
     * @description Description */
    name;
}
export class GetFilterValuesResponse {
    /** @param {{salesReps?:FilterValues[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {FilterValues[]} */
    salesReps;
}
export class GetFilterValues {
    /** @param {{brand?:string,fields?:string[],posCodes?:string[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Brand */
    brand;
    /**
     * @type {string[]}
     * @description Fields */
    fields;
    /**
     * @type {string[]}
     * @description List of POS Legacy */
    posCodes;
}

JavaScript GetFilterValues 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 /customer/{brand}/filter-values HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"salesReps":[{"id":"String","name":"String"}]}