| GET | /salesReps/{brand}/{posCode} | Get Sales Reps |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| brand | path | string | Yes | Brand Triagram, e.g. CAR, IWC, VAC |
| posCode | path | string | Yes | Point of Sale Code, e.g. ES100:102048 |
| boosterCustomerId | query | int? | No | Booster Customer Id |
| accountLocked | query | bool? | No | Whether the sales representative's account is locked. |
| isPinned | query | bool? | No | Whether the sales representative's account is pinned. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| firstName | form | string | Yes | The first name of the sales representative. |
| lastName | form | string | Yes | The last name of the sales representative. |
| form | string | Yes | The email address of the sales representative. | |
| userId | form | Guid | Yes | The unique user ID of the sales representative. |
| accountLocked | form | bool | Yes | Whether the sales representative's account is locked. |
| isPinned | form | bool | Yes | Whether the sales representative's account is pinned. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfSalesRep xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.POS.ServiceModel" />