| GET | /salesReps/{brand}/{posCode} | Get Sales Reps |
|---|
"use strict";
export class SalesRep {
/** @param {{firstName?:string,lastName?:string,email?:string,userId?:string,accountLocked?:boolean,isPinned?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description The first name of the sales representative. */
firstName;
/**
* @type {string}
* @description The last name of the sales representative. */
lastName;
/**
* @type {string}
* @description The email address of the sales representative. */
email;
/**
* @type {string}
* @description The unique user ID of the sales representative. */
userId;
/**
* @type {boolean}
* @description Whether the sales representative's account is locked. */
accountLocked;
/**
* @type {boolean}
* @description Whether the sales representative's account is pinned. */
isPinned;
}
export class GetSalesRepsResponse extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class GetSalesReps {
/** @param {{brand?:string,posCode?:string,boosterCustomerId?:number,accountLocked?:boolean,isPinned?:boolean}} [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;
/**
* @type {?boolean}
* @description Whether the sales representative's account is locked. */
accountLocked;
/**
* @type {?boolean}
* @description Whether the sales representative's account is pinned. */
isPinned;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length []