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

Get ExceptionEventtoken required

Rule violations in a time window (up to 24 hours), oldest first.

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

Parameters

typeName is "ExceptionEvent".

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).
search.ruleSearch.idstringoptionalOnly this rule (a Rule id).
resultsLimitnumberoptionalRecords per call. Default and maximum 25,000.e.g. 100
sort.sortBystringoptionalPage through results: date.e.g. date
sort.offsetstringoptionalactiveFrom 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 activeFrom 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":"ExceptionEvent","search":{"fromDate":"2026-10-27T00:00:00Z","toDate":"2026-10-27T06:00:00Z"},"resultsLimit":100,"sort":{"sortBy":"date"}}}'
Body
{
  "method": "Get",
  "params": {
    "typeName": "ExceptionEvent",
    "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-23049789",
      "activeFrom": "2026-10-28T04:15:48.000Z",
      "activeTo": "2026-10-28T04:15:48.000Z",
      "duration": "00:00:00",
      "rule": {
        "id": "1-72"
      },
      "vehicle": {
        "id": "1-1865690"
      },
      "driver": "UnknownDriverId",
      "state": "Valid"
    }
  ]
}

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