Retrieve time series data
GET {{baseUrl}}/timeseries/:entity/:propertySetName?from=<dateTime>&to=<dateTime>&limit=No Default value. Based on Timeseries data density; as much as possible record values are retrieved for requested time range under stipulated overall request timelimit of 1 minute.&select=<string>
Retrieve time series data for a single asset (entity) and aspect (property set). Returns data for the specified time range. Returns only the selected properties if 'select' parameter is used.
The maximum number of time series data items returned per request is defined by parameter 'limit'. In case more time series data items are present in the requested time range, only a subset of data items will be returned. In that case response property 'nextRecord' contains the request URL to fetch the next set of time series data items, by increasing the 'from' parameter accordingly.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | (Required) Beginning of the time range to read (exclusive). 'from' time must be less than 'to' time. Range between 'from' and 'to' time must be less than 90 days. | |
to | string | (Required) End of the time range to retrieve (inclusive). | |
limit | string | Maximum number of time series data items to be retrieved. | |
select | string | Comma-separated list of properties to be returned. By default all properties of an(a) aspect (property set) are considered. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"records":[{"_time":"1954-01-25T15:15:03.337Z"},{"_time":"2022-10-12T22:43:56.139Z"}],"nextRecord":"magna consectetur"}