CLIENT MAPPING API
This API returns the complete list of active clients mapped to a dealer.
This endpoint is typically used to fetch client details associated with a dealer account for downstream operations.
🔑 Header Parameters
| Header | Type | Description | Example |
|---|---|---|---|
| Content-Type | string | Specifies the media type of the request | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize the request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|---|---|---|
| status | string | Status of API call | "success" |
| code | string | Response code to user request | "s-101" |
| message | string | Success message | "Client mapping fetched successfully" |
| data | object | Client mapping response payload | Refer to Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example |
|---|---|---|---|
| ClientId | string | Client ID | "CL12345" |
| GroupId | string | Group ID | "GRP001" |
| Status | string | Status | "ACTIVE" |