DaaS API
Docs & Playground
History (Get)/Get LogRecord

Get LogRecordtoken required

GPS points in a time window (up to 24 hours), oldest first.

POST/daas/apiv1— method = "Get", params.typeName = "LogRecord"

Parameters

typeName is "LogRecord".

NameTypeRequiredDescription
search.fromDatedaterequiredWindow start (ISO-8601 UTC).e.g. 2026-10-27T00:00:00Z
search.toDatedaterequiredWindow end (ISO-8601 UTC). At most 24 hours after fromDate.e.g. 2026-10-27T06:00:00Z
search.vehicleSearch.idstringoptionalOnly this vehicle (a Vehicle id, e.g. 1-1807952).
resultsLimitnumberoptionalRecords per call. Default and maximum 40,000.e.g. 100
sort.sortBystringoptionalPage through results: date.e.g. date
sort.offsetstringoptionaldateTime of the last record of the previous page.
sort.lastIdstringoptionalid of the last record of the previous page.

Notes

To read more than one page, send sort with the last record's dateTime and id.

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":"LogRecord","search":{"fromDate":"2026-10-27T00:00:00Z","toDate":"2026-10-27T06:00:00Z"},"resultsLimit":100,"sort":{"sortBy":"date"}}}'
Body
{
  "method": "Get",
  "params": {
    "typeName": "LogRecord",
    "search": {
      "fromDate": "2026-10-27T00:00:00Z",
      "toDate": "2026-10-27T06:00:00Z"
    },
    "resultsLimit": 100,
    "sort": {
      "sortBy": "date"
    }
  }
}

Response

200 OK
{
  "jsonrpc": "2.0",
  "result": [
    {
      "id": "1-535078618",
      "vehicle": {
        "id": "1-1962231"
      },
      "dateTime": "2026-10-28T04:15:46.000Z",
      "latitude": 30.319055,
      "longitude": 35.146341,
      "speed": 88
    }
  ]
}

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"
      }
    ]
  }
}