v15

latestOpenAPI 3.1.02026-07-1295183803.5 KB
Tracking_Asset

Event History of an Asset

get/skynet/asset/{id}/event/list

Query parameters

keystring 32 character alphanumeric string required
Example:key=API_KEY

A key is a unique identifier that is required to authenticate a request to the API.

monitor_idstring

Filter the events by monitor_id. When provided, only the events triggered by the monitor will be returned in response.

Please note that if the attributes of the asset identified by id and those of the monitor do not match, then no events might be returned for this monitor_id.

start_timeinteger

Time after which the events triggered by the asset need to be retrieved.

end_timeinteger

Time before which the events triggered by the asset need to be retrieved.

pninteger

Denotes page number. Use this along with the ps parameter to implement pagination for your searched results. This parameter does not have a maximum limit but would return an empty response in case a higher value is provided when the result-set itself is smaller.

psinteger

Denotes number of search results per page. Use this along with the pn parameter to implement pagination for your searched results.

Response

OK

statusstring

A string indicating the state of the response. On successful responses, the value will be Ok. Indicative error messages are returned for different errors. See the API Error Codes section below for more information.

messagestring

Displays the error message in case of a failed request. If the request is successful, this field is not present in the response.