Enquire about the project and project owner (no pagination)

such as,request: http://api.dessmonitor.com/public/?sign=65ec72acfdbe388f156d1cac577efaeb71472704&salt=1658387241182&token=246aeeddd9cafc61553535cb435208aab22372de9420502cdb17521b43ea4da5&action=queryPlantsInfoEs&page=0&pagesize=15&devtype=2304&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description required
action queryPlantsInfoEs true
plantName Project name, fuzzy search false
page Paging processing, page number, start at 0, If you do not pass this parameter, defaults to 0 false
pagesize Paging processing, The number of records per page, 1 ~ 50, If you do not pass this parameter, defaults to 1 false
devtype Device type, seeDevice type false

Response parameters:

parameter description required
info[x].uid Project owner ID true
info[x].usr Project owner name true
info[x].pid Project ID true
info[x].pname Project name true

response:

    {
  "err":0,
  "desc":"ERR_NONE",
  "dat":{
    "info":[
      {
        "uid":4385,
        "usr":"Haomai in Shenzhen",
        "pid":7542,
        "pname":"Haomai in Shenzhen"
      },
      {
        "uid":4385,
        "usr":"Haomai in Shenzhen",
        "pid":7390,
        "pname":"Jintaiyang in Huizhou"
      }
    ]
  }
}

possible error:

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

results matching ""

    No results matching ""