Query the number of Plants under a subordinate account
Parameter | Description | Required |
---|---|---|
action | querySubUsrPlantCount | True |
uid | subordinate account id | True |
response:
Parameter | Description | Required |
---|---|---|
count | number of Plants | 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 |