Enquire about the project and project owner (no pagination)
| 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) |