Get a session
One session: energy, cost, status. Send country_code and party_id when two parties used the id.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
session_id
OCPI session id.
Query parameters
country_code
Owner party’s OCPI country code; send it when two parties used the id.
party_id
Owner party’s OCPI party id; send it when two parties used the id.
Response
The session in OCPI 2.2.1 shape.
id
country_code
party_id
start_date_time
last_updated
source
end_date_time
kwh
cdr_token
auth_method
location_id
evse_uid
connector_id
currency
total_cost
status
Errors
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error