This is used to retrieve information about a list of available Locations with EVSEs and Connectors.
This is used to retrieve information about a list of available Locations with EVSEs and Connectors.
Query Parameters
date_from date-time
Only return objects that have last_updated after or equal to this Date/Time (inclusive).
date_to date-time
Only return objects that have last_updated up to this Date/Time, but not including (exclusive).
offset string
The offset of the first object returned. Default is 0 (the first object).
limit string
The maximum number of objects to GET.
Header Parameters
Authorization string required
Token Base64encodedtoken
X-Request-ID string required
Unique request ID
X-Correlation-ID string required
Unique correlation ID
Responses
- 200
- 400
The OK response
application/json
Schema
Schema
string
Something went wrong
GET /2.2.1/locations
Request
Request
curl / cURL
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
python / requests
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
go / native
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
nodejs / axios
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
ruby / Net::HTTP
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
csharp / RestSharp
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
php / cURL
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
java / OkHttp
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
powershell / RestMethod
curl -L -X GET 'http://emablerocpi-test.azurewebsites.net/ocpi/2.2.1/locations' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'