Last Updated on : 2023-06-21 07:13:09download
Query the alert history on pages.
GET: /v1.0/si/iot-03/alarm-record/page
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
monitor_object_id | String | query | false | The code of a specified monitored object. |
monitor_type | String | query | false | The type of a specified metric.
|
alarm_level | Integer | query | false | The level of a specified alert.
|
process_status | Integer | query | false | The processing status. |
page_no | Integer | query | false | The page number. |
page_size | Integer | query | false | The number of items returned on each page. Maximum value: 100 . |
Parameter name | Type | Description |
---|---|---|
result | Page | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
total | Long | The total number of items. |
list | List |
The returned list. |
has_more | Boolean | Specifies whether to return the next page. |
Description of list
Parameter name | Type | Description |
---|---|---|
process_remark | String | The remarks. |
range_value | String | The interval value. |
alarm_level | Integer | The level of a specified alert.
|
monitor_object_name | String | The name of a specified monitored object. |
process_time | Long | The processing time. |
id | Long | The ID of the primary key. |
alarm_value | Double | The alert value. |
alarm_config_id | Long | The ID of a specified alert configuration. |
process_status | Integer | The processing status.
|
tuya_device_id | String | The device ID. |
monitor_object_id | String | The ID of a specified monitored object. |
range_rule | String | The interval rules.
|
monitor_type_name | String | The type name of a specified metric. |
process_person | String | The name of the processor. |
alarm_time | Long | The time when an alert is triggered. |
monitor_type | String | The type of a specified metric.
|
monitor_object_type | String | The type of a specified monitored object.
|
attr_code | String | The code of a specified attribute. |
attr_name | String | The name of a specified attribute. |
gmt_modified | Long | The time when it is updated. |
GET: /v1.0/si/iot-03/alarm-record/page
{
"result": {
"has_more": false,
"list": [
{
"alarm_config_id": 146334359530244****,
"alarm_level": 2,
"alarm_time": 1637757323784,
"alarm_value": 66,
"attr_code": "co2_value",
"attr_name": "CO2 detection value",
"gmt_modified": 1638241150321,
"id": 146348640464735****,
"monitor_object_id": "146334101962229****",
"monitor_object_type": "",
"monitor_type": "environment",
"monitor_type_name": "Industrial environment"
"process_person": "hh",
"process_remark": "111111",
"process_status": 1,
"process_time": 1638241150291,
"range_rule": "greaterThan",
"range_value": "50",
"tuya_device_id": "vdevo16376349197****"
}
],
"total": 1
},
"success": true,
"t": 1638270806094
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback