Get whitelisted driver by driver id and location id

GETGet 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

URLhttps://api-gateway-evnnovator.com/api/v1/whitelist/driver/{driver_id}/location/{location_id}

Request Header

Header NameAuthorization
VariableBearer <oauth token>
DescriptionThis is the required header with oauth2.0 token value.

Parameters

Namedriver_id
Data TypeString
Variable Typerequired
DescriptionID identifying a Driver in Client Application
Namelocation_id
Data TypeString
Variable Typerequired
DescriptionUnique code of Charging Location or Charging Station

Sample Request and Response

GET https://api-gateway-evnnovator.com/api/ocpi/api/v1/whitelist/driver/demo-driver-1/location/2b10508db844fada81778c8b1bce853e

Response Json :

{
    "status_code": 1000,
    "status_message": "Success",
    "timestamp": "2022-03-26T14:43:01.879",
    "data": {
    "uid": "aGyJYcVTJDYXykvp"
    }
}

Response

CodeDescription
200OK
401Unauthorized
403Forbidden
404Not Found

Powered by BetterDocs