Query the number of Device owned by a certain Plant owner
| Parameter | Description | Required |
|---|---|---|
| action | queryPlantOwnerDeviceCount | True |
| uid | Plant owner id | True |
response:
| Parameter | Description | Required |
|---|---|---|
| count | number of Device | True |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"count":8
}
}
Possible errors:
| Response error code | Description | Details |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | Format error, parameter error |
| 0x0105 | ERR_NOT_FOUND_USR | Unable to find user |
| 0x000B | ERR_NO_PERMISSION | No permissions |