Last Updated on : 2023-06-21 07:13:11download
Add a monitored object, including the name, code, and picture.
POST: /v1.0/iot-03/si/monitor-object
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
monitor_object_type | String | true | The type of a specified monitored object. | |
monitor_object_name | String | true | The name of a specified monitored object. | |
remark | String | false | The remarks. | |
device_list | List | false | A list of linked devices. | |
picture_list | List | false | The list of pictures of monitored objects. |
Description of picture_list
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
attachment_name | String | false | The file name. | |
attachment_value | String | false | The cloud_key of a specified file. | |
thumbnail_attachment_value | String | false | The cloud_key of a specified file thumbnail. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
POST: /v1.0/iot-03/si/monitor-object
{
"monitorObjectId": "197***",
"monitorObjectType": "energy_collect",
"monitorObjectName": "Vibration Monitoring Test",
"remark": "Remarks of vibration monitoring test",
"deviceList": [
"vdevo***"
],
"pictureList": [
{
"attachmentName": "****.JPG",
"attachmentValue": "is-product/other/20211126/20211126**.JPG",
"thumbnailAttachmentValue": "is-product/other/20211126/20211126**.JPG"
}
]
{
"result": true,
"t": 1632730415965,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback