Skip to navigation

Get a command

Route, status, the immediate response and the final result of one command. A roaming command still PENDING is refreshed from the partner’s CommandResult first, so polling this finishes it.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

tracking_idstringRequiredformat: "^[\x21-\x7e]+$"1-36 characters

tracking_id returned by POST /emsp/commands/....

Response

The command with its route, response and final result.
tracking_idstring
commandenum or any
authorization_referencestring
routeobject
statusenum or any
created_atdatetime
expires_atdatetime
responseobject or nullOptional

The CPO’s / charger’s immediate OCPI CommandResponse.

resultstring or nullOptional
session_idstring or nullOptional
responded_atdatetime or nullOptional
finished_atdatetime or nullOptional

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error