Last Updated on : 2023-06-21 07:13:09download
Query the historical data of a specified device.
GET: /v1.0/iot-03/si/monitor-data
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| monitor_object_id | String | query | true | The ID of a specified monitored object. |
| attr_code | String | query | true | The code of a specified attribute. |
| start_time | Long | query | true | The start time. |
| end_time | Long | query | true | The end time. |
| query_type | String | query | true | The query type.
|
| Parameter name | Type | Description |
|---|---|---|
| result | MonitorDataDTO | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| unit | String | The unit. |
| data_list | List |
The list of data. |
| attr_name | String | The name of a specified attribute. |
Description of data_list
| Parameter name | Type | Description |
|---|---|---|
| time | Long | The time. |
| value | String | The value of a specified attribute. |
GET: /v1.0/iot-03/si/monitor-data?monitor_object_id=1463343595302440962&attr_code=co2&start_time=1637757323787&end_time=1637757929787&query_type=portion_dose
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback