Endpoint
GET vehicle-command/{command_id}
Checks the status of a previously submitted remote command.
GET
Use this route to check the status of a command that was initiated through the POST
/vehicle-command route.Request
Header
The bearer token used to authenticate the company.
Path Parameters
The unique command identifier (UUID), returned in the response from the POST
/vehicle-command request.Response
The unique identifier (UUID) of the command registered in the mobway system.
The vehicle’s unique identification number.
The command that was requested.
The current status of the command. It can be “Pending”, when the command has not yet been processed, “Success”, when the command was executed successfully, or “Error”, when the command was not executed successfully.
Additional details about the command result. In case of success, it may contain an object with information returned by the vehicle. In case of error, it usually contains text describing the error, as described below. It will be an empty object while the command is still “Pending” or when the command does not return any additional information.
The date and time of the latest command status update in the mobway system [YYYY-MM-DD HH:MM:SS] (UTC-3). If the value is equal to
created in POST /vehicle-command, it means the command has not yet been updated in the mobway system.The three date and time values for each command are:
- created: when the command was registered in the mobway system (POST
/vehicle-command) - date_time: when the command was executed by the vehicle
- updated: when mobway received the command response