Query the item

scuh as, request: http://api.dessmonitor.com/public/?sign=45a0317337cad1b975b7cc8e6ae35401daa5c356&salt=6799118618252297881&token=5b13e18eaa179d4bdce4cf2cc0e66eaa506c7f27ccac6b9e7beaa190ec0e386f&action=queryPlants&status=0&orderBy=ascPlantName&page=0&pagesize=10&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description required
action queryPlants true
status Project status, If you do not pass this parameter, igonre it false
orderBy collation rules, Possible values:
ascPlantName, In order of project name
descPlantName, In reverse order by project name
ascInstall, In chronological order of project installation
descInstall, Reverse order by project installation time
ascStatus, In order of project status
descStatus, Reverse order by project status
,If you do not pass this parameter, defaults to ascPlantName
false
plantName Project name, fuzzy search false
page Pagination processing, page number, Start at 0, If you do not pass this parameter, defaults to 0 false
pagesize Pagination processing, The number of records per page, 1 ~ 50, If you do not pass this parameter, 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
plant[x]seeQuery project information true
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "total":8,
        "page":0,
        "pagesize":1,
        "plant":[
            {
                "pid":1,
                "uid":1,
                "name":"PLANT",
                "status":1,
                "picBig":"http://img.shinemonitor.com/picBig.png",
                "picSmall":"http://img.shinemonitor.com/picSmall.png",
                "install":"2017-06-29 02:16:21",
                "gts":"2017-06-29 02:16:21"
            }
        ]
    }
}

possible error:

Returns an error code description detailed description
0x0006 ERR_FORMAT_ERROR parameter error
0x0104 ERR_NOT_FOUND_PLANT Project not foound
0x0008 ERR_FORBIDDEN reject(invoked the projectowner/distributor/equipment manufacturer, rejected other roles)

results matching ""

    No results matching ""