Search System State Events by Search Criteria.
GET {{baseUrl}}/states/events?from=<string>&to=<string>&location=<string>&source=<string>&id=<string>&asset-name=<string>&asset-type=<string>&state=<string>
Finds System State Events that matches the search criteria. A maximum of 10000 records will be returned.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | The start point of the interval in UTC, selecting the event-time. e.g. 2020-01-31T12:30:00.000Z. | |
to | string | The end point of the interval in UTC, selecting the event-time. e.g. 2020-01-31T13:30:00.000Z. | |
location | string | The event location. | |
source | string | The event source. | |
id | string | The state id. | |
asset-name | string | The asset name. | |
asset-type | string | The asset type. | |
state | string | The state type (key). |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"event-time":"2022-05-14T00:05:08.220Z","event-type":"SYSTEM_STATE_EVENT","source":"Scanner TRA_12","states":{"laborum7d":{"value":["aute sit Duis","in ex"],"number":[-26009673.663841277,-31693336.42679222],"unit":"in labore minim","timestamp":["1975-10-02T22:23:57.054Z","1979-11-29T04:42:55.677Z"],"source":"id nostrud"}},"location":"TRA_12","id":"ABCDE-1234","external-ids":{"empty":false},"asset-name":"Sorting Machine 3","asset-type":"chute","meta":{"created-at":"1956-10-17T04:33:36.297Z","created-by":{"user-id":"adipisicing sunt amet","user-name":"magna laborum amet dolor sint"},"modified-count":25617202,"modified-at":"1981-02-07T21:07:44.372Z"},"model-version":{"major":54701233,"minor":-29237757,"patch":4922655},"system-attributes":{"proident_5f8":"et velit ut cillum adipisicing","laborum_0b":"aliquip sint cillum"}},{"event-time":"1989-04-16T04:12:13.954Z","event-type":"SYSTEM_STATE_EVENT","source":"Scanner TRA_12","states":{"reprehenderit_4":{"value":["nulla aliqua in","sed"],"number":[16712545.321726188,21799908.49994731],"unit":"nulla elit aute ipsum","timestamp":["1984-05-26T16:25:59.581Z","1985-08-13T00:14:35.168Z"],"source":"sed reprehenderit"}},"location":"TRA_12","id":"ABCDE-1234","external-ids":{"empty":true},"asset-name":"Sorting Machine 3","asset-type":"chute","meta":{"created-at":"1979-11-26T04:55:55.389Z","created-by":{"user-id":"dolore o","user-name":"laboris fugiat sit"},"modified-count":-92418015,"modified-at":"1982-10-01T03:50:20.745Z"},"model-version":{"major":2317154,"minor":16342883,"patch":-94154147},"system-attributes":{"dolor69":"ipsum eiusmod nostr"}}]