Last Updated on : 2023-06-15 06:01:01
Query the latest alerts of a specified industrial device by the device code.
GET: /v1.1/iot-03/si/devices/{device_code}/latest-alarm
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_code | String | uri | true | The code of a specified device. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
type | String | The type of an alert. |
content | String | The content of an alert. |
time | Long | The time. |
GET: /v1.1/iot-03/si/devices/cnc/latest-alarm
{
"result": [
{
"type": "Fault",
"content": "100",
"time": 1637312944223
},
{
"type": "Fault",
"content": "100",
"time": 1637312944223
},
{
"type": "Fault",
"content": "100",
"time": 1637312944223
}
],
"t": 1638200144685,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback