Query charging sessions
x-ms-visibility: "important"
Retrieve a list of charging sessions
application/json
Request Body
Query details for the charging sessions.
page int32 nullable
limit int32 nullable
sortKey string
sortDescending boolean nullable
startTime date-time nullable
startTimeSearchEnd date-time nullable
stopTimeSearchBegin date-time nullable
stopTime date-time nullable
chargerIDs string[]
driverIDs string[]
siteIDs string[]
rfidTags string[]
Responses
- 200
- 400
- 401
List of charging sessions accessible by the user.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
page int32
limit int32
totalRecords int64
hasNextPage boolean
hasPreviousPage boolean
items object[]
timestampStart date-time
timestampEnd date-time
chargerId string
socketId int32
authorizedTagId string
authorizedUserId int64
userName string
siteId int64
siteName string
driverSiteId int64 nullable
driverSiteName string
fullConsumptionWh int32
fullConsumptionKWh double
transactionLengthMinutes double
id int64
unitPowerCost double nullable
currency string
vatPercent double nullable
energyPriceInclVat double nullable
energyPriceExclVat double nullable
chargingTimePriceInclVat double nullable
chargingTimePriceExclVat double nullable
parkingTimePriceInclVat double nullable
parkingTimePriceExclVat double nullable
flatFeeInclVat double nullable
flatFeeExclVat double nullable
totalMarginAmount double nullable
reductionAmount double nullable
totalCostInclVat double nullable
totalCostExclVat double nullable
totalVatAmount double nullable
evseTransactionId string
operationTimestamp date-time nullable
origin string
{
"page": 0,
"limit": 0,
"totalRecords": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"timestampStart": "2025-02-17T11:24:21.279Z",
"timestampEnd": "2025-02-17T11:24:21.279Z",
"chargerId": "string",
"socketId": 0,
"authorizedTagId": "string",
"authorizedUserId": 0,
"userName": "string",
"siteId": 0,
"siteName": "string",
"driverSiteId": 0,
"driverSiteName": "string",
"fullConsumptionWh": 0,
"fullConsumptionKWh": 0,
"transactionLengthMinutes": 0,
"id": 0,
"unitPowerCost": 0,
"currency": "string",
"vatPercent": 0,
"energyPriceInclVat": 0,
"energyPriceExclVat": 0,
"chargingTimePriceInclVat": 0,
"chargingTimePriceExclVat": 0,
"parkingTimePriceInclVat": 0,
"parkingTimePriceExclVat": 0,
"flatFeeInclVat": 0,
"flatFeeExclVat": 0,
"totalMarginAmount": 0,
"reductionAmount": 0,
"totalCostInclVat": 0,
"totalCostExclVat": 0,
"totalVatAmount": 0,
"evseTransactionId": "string",
"operationTimestamp": "2025-02-17T11:24:21.279Z",
"origin": "string"
}
]
}
Exception Details
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
User not authorised
Loading...