Skip to main content
Version: 2.7

History Access

The REST API provides GET methods for data and alarm-events.

HTTP MethodGET
HTTP Url:history
HTTP Query-Parameter:id: Id of the data node or alarm event pool; “startTime”: Start of the history; “endTime”: End of the history
Request Content-Type-
Request Body-
Response Content-Typetext/xml
Response ContentHistory Items

Example:

GET http://localhost:8081/history?id=7a877618-4603-41a7-bc05-75e56e4294a5&startTime=2019-10-19T18:43:25.0566729Z&endTime=2019-10-23Z

Response Body:

<HumanOS.Stream>
<History>
<Entry>
<TimeStamp>2019-10-19T18:36:03.2505005Z</TimeStamp>
<Value>0</Value>
</Entry>
<Entry>
<TimeStamp>2019-10-19T18:41:17.3769639Z</TimeStamp>
<Value>4849</Value>
</Entry>
<Entry>
<TimeStamp>2019-10-19T18:41:20.4075000Z</TimeStamp>
<Value>3782</Value>
</Entry>
<Entry>
<TimeStamp>2019-10-19T18:41:22.8066050Z</TimeStamp>
<Value>3426</Value>
</Entry>
<Entry>
<TimeStamp>2019-10-19T18:41:26.4365719Z</TimeStamp>
<Value>3085</Value>
</Entry>
</History>
</HumanOS.Stream>