| GET | Get session by session id |
Retrive charging session details by session id
Parameters
| Name | countryCode |
| Data Type | String (2) |
| Variable Type | required |
| Description | Unique ID to identify charging session |
Sample Request and Response
GET https://api-gateway-evnnovator.com/api/ocpi/api/v1/sessions/a5db858f68a59d25df755847db013244
Response Json :
{
"status_code": 1000,
"status_message": "Success",
"timestamp": "2022-04-04T06:48:08.577",
"data": {
"evseId": "AMP03*1",
"connectorId": "IN*111*EAMP03*1",
"id": "a5db858f68a59d25df755847db013244",
"created_date": "2022-03-14T12:35:47.492+00:00",
"last_modified_date": "2022-03-14T12:45:11.579+00:00",
"party_id": "111",
"country_code": "IN",
"location_id": "620bb06abeaaa76c1e7657e1",
"session_id": "724615825",
"cpoId": "5134ef394bac9a74c46948529abc150f",
"start_datetime": "2022-03-14T12:35:44.000+00:00",
"end_datetime": "2022-03-14T12:45:08.000+00:00",
"kwh": 0.11429,
"auth_id": "de4248351c54e55cd97c0000ed9ceb06",
"auth_method": "AUTH_REQUEST",
"location": {
"coordinates": {
"latitude": 12.87667,
"longitude": 77.67912
},
"evses": [
{
"id": "9c97a7b656f4c1a217fda8c8262c330d",
"uid": "AMP03*1",
"evse_id": "IN*111*EAMP03*1",
"status": "AVAILABLE",
"capabilities": [
"REMOTE_START_STOP_CAPABLE",
"RFID_READER"
],
"connectors": [
{
"id": "3fff37bfc17e66bc519c25fcfa65eaea",
"standard": "DOMESTIC_E",
"format": "SOCKET",
"power_type": "AC_1_PHASE",
"voltage": 230,
"amperage": 14,
"tariff_id": "Default"
}
],
"coordinates": {
"latitude": "12.87667",
"longitude": "77.67912"
}
}
],
"id": "0928aa98a2703e688fba8fbccf9f1782",
"created_date": "2022-03-05T09:37:57.382+00:00",
"last_modified_date": "2022-04-04T06:13:30.317+00:00",
"location_id": "620bb06abeaaa76c1e7657e1",
"cpo_id": "1a85027042ecb57d09f192a20cf4811c",
"cpo_resource_id": "5134ef394bac9a74c46948529abc150f",
"type": "UNKNOWN",
"name": "EVnnovator Lab",
"address": "Radiant Heritage ",
"city": "Bangalore",
"postal_code": "560099",
"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
},
"currency": "INR",
"charging_periods": [
{
"start_date_time": "2022-03-14T12:35:57.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.001"
}
]
},
{
"start_date_time": "2022-03-14T12:36:27.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:36:57.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:37:27.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:37:57.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:38:27.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:38:57.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:39:27.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:39:57.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:40:27.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:40:57.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:41:27.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:41:57.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:42:27.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:43:00.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:43:30.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:44:00.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:44:30.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:45:00.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.006"
}
]
},
{
"start_date_time": "2022-03-14T12:45:08.000Z",
"dimensions": [
{
"type": "PARKING_TIME",
"volume": "0.002"
}
]
}
],
"total_cost": 1.71,
"status": "COMPLETED",
"last_updated": "2022-03-14T12:45:08.000+00:00"
}
}
Response
| Code | Description |
| 200 | OK |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
