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

KeyDatatypeRequiredDescription
fromstring(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.
tostring(Required) End of the time range to retrieve (inclusive).
limitstringMaximum number of time series data items to be retrieved.
selectstringComma-separated list of properties to be returned. By default all properties of an(a) aspect (property set) are considered.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;records&quot;:[{&quot;_time&quot;:&quot;1954-01-25T15:15:03.337Z&quot;},{&quot;_time&quot;:&quot;2022-10-12T22:43:56.139Z&quot;}],&quot;nextRecord&quot;:&quot;magna consectetur&quot;}