The RecorderQuery data record contains the parameters sent with a query to the database recorder. This includes the the parameter ID, the time range and some mode parameters for the query.
| Key | Type | Value |
|---|---|---|
| parameterId | String | Full message ID of the parameter to query |
| from | String | timestamp of the first (oldest) value to return |
| to | String | timestamp of the last (youngest) calue to return |
| resVal | Integer | resolution step value |
| resUnit | String | resolution unit one of year, month, week, day, hour, minute, second |
| interpolate | Boolean | true makes the database interpolate between existing samples, false leaves out missing values |
| lastObserved | Boolean | true makes the database add a value at the end of the list if the recorded data does not extend to the 'to' timestamp |