Skip to content

List sessions by charger id with pagination

POST
/api/sessions/list/by/charger

Post /api/sessions/list/by/charger

Request Body required

object
chargerId
required
string
pagination
required
object
skip
integer
>= -9007199254740991 <= 9007199254740991
take
integer
>= -9007199254740991 <= 9007199254740991

Responses

200

Response for status ok

object
success
required
boolean
sessions
required
Array
Any of:
object
id
required
string
transactionId
required
integer
>= -9007199254740991 <= 9007199254740991
namespaceId
required
string
chargerId
required
string
connectorId
required
integer
> -9007199254740991 <= 9007199254740991
idTag
string
startedAtTimestamp
required
string
startedAtEnergy
required
integer
nullable >= -9007199254740991 <= 9007199254740991
lastMeteredAtTimestamp
string
lastMeteredAtEnergy
integer
>= -9007199254740991 <= 9007199254740991
price
required
number
>= -9007199254740991 <= 9007199254740991
pricingModel
object
rulesets
required
Array<object>
object
id
required
string
>= 21 characters <= 21 characters
name
required
string
<= 64 characters
backgroundColor
required
string
<= 12 characters
schedules
required
Array<object>
object
id
required
string
>= 21 characters <= 21 characters
schedule
required
Any of:
object
type
required
string
Allowed values: Permanent
rules
required
object
PerMinute
required
object
price
required
integer
<= 9007199254740991
PerKilowattHour
required
object
price
required
integer
<= 9007199254740991
timeZone
required
string
note
string
owner
object
kind
required
string
Allowed values: user
id
required
string
createdAt
required
string
updatedAt
required
string
status
required
string
Allowed values: Started
count
required
number

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string