Set charging preferences on a partner session (2.2.1 / 2.3.0)
Sends the CPO charging preferences (profile type, departure time, energy need) for a session it runs. OCPI 2.2.1 and 2.3.0 only.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
OCPI version: 221 (2.2.1) or 230 (2.3.0). OCPI 2.1.1 has no charging profiles or charging preferences.
Allowed values:
session_id
Query parameters
partner_id
Roaming partner to talk to (from GET /ocpi/partners).
Request
This endpoint expects an object.
profile_type
Allowed values:
departure_time
energy_need
kWh.
discharge_allowed
Response
Successful Response
session_id
result
Allowed values:
http_status
ocpi_status_code
error
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error