Skip to content

Get a single session by its id

GET
/api/sessions/{sessionId}

Get /api/sessions/:sessionId

Parameters

Path Parameters

sessionId
required
string

Request Body required

Responses

200

Response for status ok

object
success
required
boolean
session
required
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

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

404

Response for status notFound

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string