Query the number of Dataloggers for a Plant owner under a subordinate account
Parameter | Description | Required |
---|---|---|
action | querySubUsrPlantOwnerCollectorCount | True |
uid | subordinate account id | True |
plantOwnerUid | The owner ID of a certain Plant under a sub account | True |
reponse:
Parameter | Description | Required |
---|---|---|
count | Number of Datalogger | 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 |