Data Request¶
As soon as the token is available, user can request measure data from RMS.
Parameters:
| ID | Measure point ID |
|---|---|
| From | Oldest Value (ISO8601 Format) |
| To | Newest Value (ISO8601 Format) |
| Count | Maximum number of measured values (May not exceed 50'000) |
| Order | Asc = Sort ascending Desc = Sort descending |
| Token | Valid authorization token |
ISO 8601 Date format:
Local and Timezone: 2018-02-25T09:01:30+01:00
UTC: 2018-02-25T09:01:30Z
Example Request:
| Request | URL: API/DataHistory.ashx (HTTP POST) |
|---|---|
| Response from server | { Status: OK ID: 1234, Name: Measurepoint-Name, Parameter: Temperature, Unit: °C, Data: [{ Time: 2018-02-25T09:01:30+01:00, Value: 23.12 }, { Time: 2018-02-25T09:02:30+01:00, Value: 23.14 }] } |
When using the Rotronic Cloud, the URL would be: https://rms.rotronic.com/RMS/API/DataHistory.ashx.