Query data collector information

such as, request: http://api.dessmonitor.com/public/?sign=7f220b6f21d0b52d0452d9c66ffe1f4f84635b81&salt=2337424845041575962&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=queryCollectorInfo&pn=COLLECTOR0001,COLLECTOR0002&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description required
action queryCollectorInfo true
pn Digital collector number, Separated by multiple ',' signs, Supports up to 256 at a time true

response:

parameter description required
collector[x].pn Digital collector number true
collector[x].alias Data collector alias false
collector[x].datFetch Data acquisition frequency (seconds) true
collector[x].timezone Data collector operating time zone (seconds relative to zero time zone) true
collector[x].load The number of loads of the data collector true
collector[x].status Data collector status, seedevice status true
collector[x].uid The owner of the power station to which the data collector belongsid, it is possible that the data collector does not belong to any power plant owner false
collector[x].pid The power station to which the data collector belongs id, It is possible that the data collector does not belong to any power station false
collector[x].gprs.ccid GPRS-CCID, it is valid only when the data collector is of GPRS type false
collector[x].gprs.card GPRS-CARD, it is valid only when the data collector is of GPRS type false
collector[x].gprs.imsi GPRS-IMSI, it is valid only when the data collector is of GPRS type false

notice, The interface is failing quickly: If a collector number is considered to be incorrect, the interface will immediately return an error.

In addition, the order of the returned data collectors may differ from the order passed at query time.

{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "collector":[
            {
                "pn":"COLLECTOR0001",
                "datFetch":60,
                "timezone":28800,
                "load":1,
                "uid":1,
                "pid":1
            },
            {
                "pn":"COLLECTOR0002",
                "datFetch":300,
                "timezone":28800,
                "load":1,
                "uid":1,
                "pid":1
            }
        ]
    }
}

possible error:

Returns an error code description detailed description
0x0006 ERR_FORMAT_ERROR parameter error
0x0007 ERR_MISSING_PARAMETER Missing necessary parameters (incoming parameters may be empty)
0x000D ERR_OVER_LIMIT Limit exceeded
0x0101 ERR_NOT_FOUND_COLLECTOR The data collector could not be found

results matching ""

    No results matching ""