History (Get)/Get VehicleStatusInfo
Get VehicleStatusInfotoken required
Current position and state of every vehicle: one record per vehicle.
POST
/daas/apiv1— method = "Get", params.typeName = "VehicleStatusInfo"Parameters
typeName is "VehicleStatusInfo".
| Name | Type | Required | Description |
|---|---|---|---|
search.vehicleSearch.id | string | optional | Only this vehicle (a Vehicle id, e.g. 1-1807952). |
resultsLimit | number | optional | Records per call. Default and maximum 5,000.e.g. 100 |
Notes
isCommunicating is false when the vehicle has not reported for over 30 minutes.Request
curl
curl -X POST 'https://private.develop-1.questar.io/v2/private-questar-units/daas/apiv1' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN' \
--data '{"method":"Get","params":{"typeName":"VehicleStatusInfo","resultsLimit":100}}'Body
{
"method": "Get",
"params": {
"typeName": "VehicleStatusInfo",
"resultsLimit": 100
}
}Response
200 OK
{
"jsonrpc": "2.0",
"result": [
{
"vehicle": {
"id": "1-252562"
},
"dateTime": "2026-10-28T08:05:34.000Z",
"latitude": 32.313806,
"longitude": 34.966229,
"speed": 65,
"bearing": 95,
"isDriving": true,
"isCommunicating": true,
"driver": "UnknownDriverId"
}
]
}Errors also come back as HTTP 200, with an error instead of a result. error.data.type says what went wrong: ArgumentException (a bad parameter), MissingMethodException (unknown method) or InvalidOperationException. With no or an invalid token the gateway answers HTTP 401 / 403.
200 OK
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Get does not support typeName 'Media'",
"name": "JSONRPCError",
"data": {
"type": "ArgumentException"
},
"errors": [
{
"message": "Get does not support typeName 'Media'",
"name": "ArgumentException"
}
]
}
}