| GET | /salesReps/{brand}/{posCode} | Get Sales Reps |
|---|
// @ts-nocheck
export class SalesRep
{
/** @description The first name of the sales representative. */
// @ApiMember(Description="The first name of the sales representative.", IsRequired=true)
public firstName: string;
/** @description The last name of the sales representative. */
// @ApiMember(Description="The last name of the sales representative.", IsRequired=true)
public lastName: string;
/** @description The email address of the sales representative. */
// @ApiMember(Description="The email address of the sales representative.", IsRequired=true)
public email: string;
/** @description The unique user ID of the sales representative. */
// @ApiMember(Description="The unique user ID of the sales representative.", IsRequired=true)
public userId: string;
/** @description Whether the sales representative's account is locked. */
// @ApiMember(Description="Whether the sales representative's account is locked.", IsRequired=true)
public accountLocked: boolean;
/** @description Whether the sales representative's account is pinned. */
// @ApiMember(Description="Whether the sales representative's account is pinned.", IsRequired=true)
public isPinned: boolean;
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;
/** @description Whether the sales representative's account is locked. */
// @ApiMember(Description="Whether the sales representative's account is locked.")
public accountLocked?: boolean;
/** @description Whether the sales representative's account is pinned. */
// @ApiMember(Description="Whether the sales representative's account is pinned.")
public isPinned?: boolean;
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 .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 []