| GET | Get whitelisted driver by driver id and location id |
Retrive a unique Token ID of the Whitelisted driver at a CPO level. If the Driver is not whitelisted at a CPO then the API first Whitelist the driver and then return a unique Token ID
Request Header
| Header Name | Authorization |
| Variable | Bearer <oauth token> |
| Description | This is the required header with oauth2.0 token value. |
Parameters
| Name | driver_id |
| Data Type | String |
| Variable Type | required |
| Description | ID identifying a Driver in Client Application |
| Name | location_id |
| Data Type | String |
| Variable Type | required |
| Description | Unique code of Charging Location or Charging Station |
Sample Request and Response
Response Json :
{
"status_code": 1000,
"status_message": "Success",
"timestamp": "2022-03-26T14:43:01.879",
"data": {
"uid": "aGyJYcVTJDYXykvp"
}
}
Response
| Code | Description |
| 200 | OK |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
