Create a Session object

When a charging session starts, a Session object can be created using this call.

Log in to see full request history
Path Params
string
required
string
required
string
required
Body Params
string | null

The unique id that identifies the session in the CPO platform

date-time

The time when the session became active.

date-time | null

The time when the session is completed.

double

How many kWh are charged.

string | null

Reference to a token, identified by the auth_id field of the Token.

string | null

Method used for authentication.

location
object
string | null

Optional identification of the kWh meter.

string | null

ISO 4217 code of the currency used for this session

array of objects | null

An optional list of charging periods that can be used to calculate and verify the total cost.

charging_periods
double | null

The total cost(excluding VAT) of the session in the
specified currency.This is the price that the eMSP
will have to pay to the CPO.A total_cost of 0.00
means free of charge. When omitted, no price
information is given in the Session object, this does
not have to mean it is free of charge.

string | null

The status of the session:
ACTIVE - The session is accepted and active.
COMPLETED - The session is finished successfully.
INVALID - The session is declared invalid and will not be billed.
PENDING - The session is pending and has not yet started. This is the initial state.

date-time

Timestamp when this Session was last updated (or created).

double | null

State of Charge

Headers
string

Name of the client (or system) calling the api, this is helpful for tracing requests. This is optional.

string

Version of the client (or system) calling the api, this is helpful for tracing requests. This is optional.

Responses

400

Bad Request

Language
Credentials
Authenticate
Click Try It! to start a request and see the response here! Or choose an example:
application/json