| GET | /salesReps/{brand}/{posCode} | Get Sales Reps |
|---|
"use strict";
export class SalesRep {
/** @param {{firstName?:string,lastName?:string,email?:string,userId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description First name of sales representative */
firstName;
/**
* @type {string}
* @description Last name of sales representative */
lastName;
/**
* @type {string}
* @description Email address of sales representative */
email;
/**
* @type {string}
* @description User ID of sales representative */
userId;
}
export class GetSalesRepsResponse extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class GetSalesReps {
/** @param {{brand?:string,posCode?:string,boosterCustomerId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Brand Triagram, e.g. CAR, IWC, VAC */
brand;
/**
* @type {string}
* @description Point of Sale Code, e.g. ES100:102048 */
posCode;
/**
* @type {?number}
* @description Booster Customer Id */
boosterCustomerId;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /salesReps/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ ]