Energy storage queries all device views under the specified protocol

such as, request: http://api.dessmonitor.com/public/?sign=8f47653ca81332a4dbe4cd7931f62e866a0b29a2&salt=1540525275761&token=2b42640717b84aa284ed6c070050213617338981d10888127af18679b2f39115&action=webQueryDevcodeViewEs&devcode=2343&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description required
action webQueryDevcodeViewEs true
devcode Device encoding true

response:

parameter description required
total Total number of all devices true
warningCount Number of all device warnings true
faultCount Number of all device failures true
attention All device alerts true
offCount Number of offline devices across all devices true
normalCount All devices are normal true
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "total":3,
        "warningCount":0,
        "faultCount":0,
        "attention":0,
        "offCount":2,
        "normalCount":1
    }
}

possible errror:

Returns an error code description detailed description
0x0008 ERR_FORBIDDEN rejection
0x0102 ERR_NOT_FOUND_DEVICE device not found
0x0007 ERR_MISSING_PARAMETER The necessary parameters are missing

results matching ""

    No results matching ""