Send an OCPI command to a charger
Translates an OCPI command (START_SESSION, STOP_SESSION, …) into OCPP through the gateway. Poll GET /proxy/ocpi/commands/{tracking_id} with the returned tracking_id for the OCPI CommandResult.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
command
OCPI command type.
Headers
X-Request-Id
X-Correlation-Id
Request
This endpoint expects an object.
payload
OCPI command body exactly as the eMSP would send it.
ocpi_version
Allowed values:
country_code
CPO country code; with party_id it picks one CPO party.
party_id
CPO party id (3 characters).
Response
Successful Response
result
Allowed values:
timeout
message
tracking_id
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