Tag Parameters: list

Overview

Return a collection of tag parameters that match the API request parameters.

 

API URL

/api/tagparamrules/query

 

HTTP Method

GET

 

URL Parameters

Name Type Required Description
access_token or user_access_token String Requires Specify the API access_token of the account or the user_access_token obtained after the user logged in.

 

Response

An HTTP code of 200 is responded for each successful data requests. The message body contains a JSON object listing all tag parameter.

 

Examples

{

    "code": 0,

    "msg": "Successful operation",

    "msg_en": "Successful operation",

    "data": [
        {
            "id": 3,
           "name": "Time Settings",
           "describe": "Time Settings",
           "param": "{\"static_fn\":1000,\"active_fn\":200,\"set_utctime\":1,\"range_type\":1}",
           "starttime": 26679,
           "stoptime": 60039,
           "isused": 1,
           "create_time": "2022-03-08T05:25:45Z",
           "update_time": "2022-03-09T02:56:02Z",
           "status": 0,
           "tag_serialnumber": null,
           "send_anchor": "60c1",
           "riceive_diff": 4,
           "receive_object": "2460"
       },

       ......

   ],
   "exe_time": "0.002053"

}