The request is intended to get statistics of unit's sensors.
&svc=get_graph¶ms={ "id_unit": integer, "from": timestamp, "to": timestamp, "sensors_ids": [ integer, integer, ... ], "fields": [ string, string, ... ] }
| Parameter | Description |
|---|---|
| id_unit | Unique Unit ID |
| from | Start time of getting statistics |
| to | end time of getting statistics |
| sensors_ids | Array of Sensor IDs |
| fields | Array of Fields |
[ { "time": 1517034271 // Message time }, ... ]