| GET | /salesReps/{brand}/{posCode} | Get Sales Reps |
|---|
export class SalesRep
{
/** @description First name of sales representative */
// @ApiMember(Description="First name of sales representative", IsRequired=true)
public firstName: string;
/** @description Last name of sales representative */
// @ApiMember(Description="Last name of sales representative", IsRequired=true)
public lastName: string;
/** @description Email address of sales representative */
// @ApiMember(Description="Email address of sales representative", IsRequired=true)
public email: string;
/** @description User ID of sales representative */
// @ApiMember(Description="User ID of sales representative", IsRequired=true)
public userId: string;
public constructor(init?: Partial<SalesRep>) { (Object as any).assign(this, init); }
}
export class GetSalesRepsResponse extends Array<SalesRep>
{
public constructor(init?: Partial<GetSalesRepsResponse>) { super(); (Object as any).assign(this, init); }
}
export class GetSalesReps
{
/** @description Brand Triagram, e.g. CAR, IWC, VAC */
// @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
public brand: string;
/** @description Point of Sale Code, e.g. ES100:102048 */
// @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
public posCode: string;
/** @description Booster Customer Id */
// @ApiMember(Description="Booster Customer Id")
public boosterCustomerId?: number;
public constructor(init?: Partial<GetSalesReps>) { (Object as any).assign(this, init); }
}
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 /salesReps/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length []