Get list of CDRs
x-ms-visibility: "important"
Use this endpoint to get CDRs (Charge Detail Records) of transactions that were started using OCPI integration.
application/json
Request Body
LastUpdated time, integrationId, chargerId and/or siteId are available earch criteria
startLastUpdated date-time nullable
endLastUpdated date-time nullable
integrationId string
chargerId string
siteId int64 nullable
Responses
- 200
- 400
- 401
Return the JSON representation of CDRs
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
sessionId string
transactionId string
startTimeUTC date-time
endTimeUTC date-time
lastUpdated date-time
consumptionKWH double
chargerId string
evseUid string
evseId string
socketId int32 nullable
address string
city string
country string
postalCode string
cdrTokenUid string
cdrTokenType int32 nullable
Possible values: [0
, 1
, 2
, 3
]
Default value: 0
contractid string
authorizationReference string
externalTariffId string
cdrTariffType int32 nullable
Possible values: [0
, 1
, 2
, 3
, 4
]
Default value: 0
currency string
totalCostInclVat double nullable
totalCostExclVat double nullable
totalFixedCostInclVat double nullable
totalFixedCostExclVat double nullable
totalEnergyCostInclVat double nullable
totalEnergyCostExclVat double nullable
totalTimeCostInclVat double nullable
totalTimeCostExclVat double nullable
totalParkingTimeCostInclVat double nullable
totalParkingTimeCostExclVat double nullable
totalTime string
serviceProviderId string
infraProviderId string
[
{
"sessionId": "string",
"transactionId": "string",
"startTimeUTC": "2024-10-10T06:49:37.389Z",
"endTimeUTC": "2024-10-10T06:49:37.389Z",
"lastUpdated": "2024-10-10T06:49:37.389Z",
"consumptionKWH": 0,
"chargerId": "string",
"evseUid": "string",
"evseId": "string",
"socketId": 0,
"address": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"cdrTokenUid": "string",
"cdrTokenType": 0,
"contractid": "string",
"authorizationReference": "string",
"externalTariffId": "string",
"cdrTariffType": 0,
"currency": "string",
"totalCostInclVat": 0,
"totalCostExclVat": 0,
"totalFixedCostInclVat": 0,
"totalFixedCostExclVat": 0,
"totalEnergyCostInclVat": 0,
"totalEnergyCostExclVat": 0,
"totalTimeCostInclVat": 0,
"totalTimeCostExclVat": 0,
"totalParkingTimeCostInclVat": 0,
"totalParkingTimeCostExclVat": 0,
"totalTime": "string",
"serviceProviderId": "string",
"infraProviderId": "string"
}
]
Something went wrong
Not authorised
Loading...