Query the device

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

parameter description required
action queryDevices true
plantid Power station id, If you do not pass this parameter, ignore it false
status device status, seedevice status, If you do not pass this parameter, ignore it false
devtype device type, seedevice type, If you do not pass this parameter, ignore it false
pn Digital collector number, fuzzy search false
alias Device alias or serial number, fuzzy search false
page pagination proessing, page number, start at 0, if you do not pass this parameter, it defaults to 0 false
pagesize pagination processing, The number of records per page, 1 ~ 50, If you do not pass this parameter, it defaults to 1 false

response:

parameter description required
total Total number of records true
page pagination processing,page number true
pagesize pagination processing, The number of records per page true
device[x] seeQuery device information true

possible error:

Returns an error code description detailed description
0x0102 ERR_NOT_FOUND_DEVICE device not found
0x0104 ERR_NOT_FOUND_PLANT power station not found

results matching ""

    No results matching ""