How to: Retrieve the State of a Vehicle

For information about prerequisites, see Creating Vehicle.

To retrieve the current state of a Vehicle, call the Get Vehicle State endpoint by providing the vehicleId in the path parameter.

The response body is returned in JSON format:

{
  "error": {
    "code": "string",
    "description": "string",
    "additionalInfo": {}
  },
  "request": {
    "uri": "string"
  },
  "data": {
    "state": "active:available"
  }
}