| GET | Get CDR by cdr id |
Retrive charging data record based on a unique CRD ID ( Charging Data Record ID )
Parameters
| Name | cdrs_id |
| Data Type | String (2) |
| Variable Type | required |
| Description | Unique ID idetifying a CDR ( Charging Data Record ) |
Sample Request Response
GET https://api-gateway-evnnovator.com/api/ocpi/api/v1/cdrs/d0889272099264c4e658fe85834d74de
Response Json
{
"status_code": 1000,
"status_message": "Success",
"timestamp": "2022-04-05T17:53:18.452",
"data": {
"id": "d0889272099264c4e658fe85834d74de",
"created_date": "2022-04-05T11:41:32.188+00:00",
"last_modified_date": "2022-04-05T11:41:32.188+00:00",
"party_id": "111",
"cpoId": "5134ef394bac9a74c46948529abc150f",
"country_code": "IN",
"cdr_id": "2117177412",
"start_date_time": "2022-04-05T11:29:14.000+00:00",
"stop_date_time": "2022-04-05T11:41:24.000+00:00",
"auth_id": "de4248351c54e55cd97c0000ed9ceb06",
"auth_method": "AUTH_REQUEST",
"location": {
"lastModifiedDate": "2022-04-05T15:09:28.698+00:00",
"id": "620bb06abeaaa76c1e7657e1",
"name": "EVnnovator Lab",
"address": "Radiant Heritage ",
"city": "Bangalore",
"postal_code": "560099",
"coordinates": {},
"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,
"type": "UNKNOWN",
"evses": [
{
"uid": "AMP03*1",
"evse_id": "IN*111*EAMP03*1",
"status": "AVAILABLE",
"capabilities": [
"REMOTE_START_STOP_CAPABLE",
"RFID_READER"
],
"connectors": [
{
"id": "IN*111*EAMP03*1",
"standard": "DOMESTIC_E",
"format": "SOCKET",
"power_type": "AC_1_PHASE",
"voltage": 230,
"amperage": 14,
"tariff_id": "Default"
}
],
"coordinates": {
"latitude": "12.87667",
"longitude": "77.67912"
}
}
]
},
"currency": "INR",
"charging_periods": [
{
"start_date_time": "2022-04-05T11:29:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0"
}
]
},
{
"start_date_time": "2022-04-05T11:30:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:30:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:31:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:31:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:32:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:32:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:33:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:33:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:34:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:34:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:35:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:35:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:36:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:36:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:37:14.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:37:44.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:38:17.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:38:47.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:39:17.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:39:47.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:40:17.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:40:47.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:41:17.000Z",
"dimensions": [
{
"type": "ENERGY",
"volume": "0.007"
}
]
},
{
"start_date_time": "2022-04-05T11:41:24.000Z",
"dimensions": [
{
"type": "PARKING_TIME",
"volume": "0.001"
}
]
}
],
"total_cost": 2.49,
"total_energy": 0.1666,
"total_time": 0.20083333333333334,
"total_parking_time": 0.0019444444444444444,
"last_updated": "2022-04-05T11:41:24.000+00:00",
"service_charge": "0.3586440375",
"discount_amount": "0.28635000000000005",
"gst_percentage": "18.0",
"total_gst_base_price": "0.44820000000000004",
"total_amount_collected_from_evcustomer": "3.0104940375"
}
}
Response
| Code | Description |
| 200 | OK |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
