Get a list of CDRs
Authorizations
Authorization: Bearer <SPIRII_API_KEY>
Query Parameters
Retrieve CDRs as CPO or EMP. Defaults to CPO. CPO records are all records on your chargers, EMP are all records performed by your Drivers.
cpo, emp Retrieve ongoing charging sessions as part of the response.
0, 1 Retrieve charge records updated at or after this time.
Retrieve charge records updated before this time.
Field used for sorting the returned results.
Direction of sorting.
asc, desc Filter object using stringified JSON in MongoDB format. Allowed fields: operatorId, companyId, company.id, auth.idTag.id, auth.idTag.operatorId, auth.idTag.companyId, auth.idTag.customerId, auth.idTag.crmCustomerId, auth.type, transactionId, location.country, location.isPublic, location.crmCustomerId, auth.idTag.uid, startedAt, endedAt, updatedAt, createdAt, isRoaming, location.appUserId, location.id, location.type, consumed, role, evseId, sessionId, paymentMetadata.externalSessionId, roamingDetails.type, voucher.id, chargeBoxId. Mongo operators: $gt, $gte, $lt, $lte, $eq, $ne, $in, $nin, $exists, $regex. Logical operators: $or, $and.
Retrieve charging sessions belonging to child companies as well, as part of the response.
0, 1 Retrieve only priority/non-priority charging records
0, 1 Pagination cursor used to traverse returned records forwards when filtering returns more than limit records. This parameter is mutually exclusive with previousPageCursor.
Pagination cursor used to traverse returned records backwards when filtering returns more than limit records. This parameter is mutually exclusive with nextPageCursor.
Number of records to return.
List of CDR's properties to be returned in response.