Get Monitored Object List

Last Updated on : 2023-06-21 07:13:10download

Get a list of monitored objects based on the type of the monitored objects.

API address

GET: /v1.0/iot-03/si/monitor-object/list

Request parameter

Parameter nameTypeINRequiredDescription
monitor_object_typeStringquerytrueThe type of a specified monitored object.

Return parameter

Parameter nameTypeDescription
resultListThe returned result.

Description of result

Parameter nameTypeDescription
monitor_object_idStringThe ID of a specified monitored object.
monitor_object_typeStringThe type of a specified monitored object.
monitor_object_nameStringThe name of a specified monitored object.
remarkStringThe remarks.

Request example

GET: /v1.0/iot-03/si/monitor-object/list?monitor_object_type=environment

Return example

{
    "result": [
        {
            "remark": "Remarks of Grand Center",
            "monitor_object_type": "environment",
            "monitor_object_id": "192***",
            "monitor_object_name": "Grand Center"
        }
    ]
}

Error code

For more information, see error code.