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 .xml suffix or ?format=xml

HTTP + XML

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/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetFilterValuesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.CRM.ServiceModel">
  <salesReps>
    <FilterValues>
      <id>String</id>
      <name>String</name>
    </FilterValues>
  </salesReps>
</GetFilterValuesResponse>