GET | Get locations by country code and party id and location id |
Retrive charging stations details by Country Code and Party ID and Location ID
Parameters
Name | countryCode |
Data Type | String (2) |
Variable Type | required |
Description | Unique Country Code |
Name | partyId |
Data Type | String (3) |
Variable Type | required |
Description | Unique code of CPO – Charging Point Operator |
Name | locationId |
Data Type | String |
Variable Type | required |
Description | Unique code of Location or Charging Station |
Sample Request Response
GET https://api-gateway-evnnovator.com/api/ocpi/api/v1/locations/IN/111/62149b68beaaa76c1e83b0c7
Response Json :
{ "status_code": 1000, "status_message": "Success", "timestamp": "2022-04-04T06:13:56.483", "data": { "coordinates": { "latitude": 19.09839, "longitude": 73.00345 }, "evses": [ { "id": "3ac1df05adf2e6af9698dd9f2989421a", "uid": "MAG1*1", "evse_id": "IN*111*EMAG1*1", "status": "AVAILABLE", "capabilities": [ "REMOTE_START_STOP_CAPABLE", "RFID_READER" ], "connectors": [ { "id": "4cb9b9991b02f5f9a915f77267f4b85b", "standard": "DOMESTIC_E", "format": "SOCKET", "power_type": "AC_1_PHASE", "voltage": 230, "amperage": 14, "tariff_id": "Default" } ], "coordinates": { "latitude": "19.09839", "longitude": "73.00345" } } ], "id": "7cc45e648b9f089c5f28a698c6bf6945", "created_date": "2022-03-05T09:37:57.347+00:00", "last_modified_date": "2022-04-04T06:13:30.294+00:00", "location_id": "62149b68beaaa76c1e83b0c7", "cpo_id": "1a85027042ecb57d09f192a20cf4811c", "cpo_resource_id": "5134ef394bac9a74c46948529abc150f", "type": "UNKNOWN", "name": "Cero- Mumbai", "address": "Ma ", "city": "Navi Mumbai", "postal_code": "", "operator": { "name": "CERO", "website": "http://slf.ceromobility.com/" }, "opening_times": { "twentyfourseven": true, "regular_hours": null, "exceptional_openings": null, "exceptional_closings": null }, "charging_when_closed": false, "last_modified_by": "admin", "rating": 0.0, "country_code": "IN", "party_id": "111", "publish": false } }
Response
Code | Description |
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |