Get Monitored Object List

Last Updated on : 2023-06-21 07:13:12

Get a list of monitored objects by device type.

API address

GET: /v1.0/iot-03/si/monitor-object/device-type-code

Request parameter

Parameter nameTypeINRequiredDescription
device_type_codeStringquerytrueThe code of a specified device type.

Return parameter

Parameter nameTypeDescription
resultListThe returned result.

Description of result

Parameter nameTypeDescription
monitor_object_idStringThe ID of a specified monitored object.
remarkStringThe remarks.
monitor_object_nameStringThe name of a specified monitored object.
monitor_object_typeStringThe type of a specified monitored object. Valid values:
  • energy_collect: industrial energy consumption.
  • environment: industrial environment.
  • vibration: industrial vibration.

Request example

GET: /v1.0/iot-03/si/monitor-object/device-type-code?deviceTypeCode=01

Return example

{
    "result": [
        {
            "remark": "",
            "monitor_object_type": "energy_collect",
            "monitor_object_id": "147023566436973****",
            "monitor_object_name": "Energy Consumption Test 01"
        }
    ],
    "t": 1639623977027,
    "success": true
}

Error code

For more information, see error code.