| GET | /customer/{brand}/filter-values | Get 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"salesReps":[{"id":"String","name":"String"}]}