Query the number of plant
Parameter | Description | Required |
---|---|---|
action | queryPlantCount | True |
status | Station status, If you do not pass this parameter, it means that you do not care about | False |
response:
Parameter | Description | Required |
---|---|---|
count | Number of Plants | False |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"count":8
}
}
Possible errors:
Response error code | Description | Details |
---|---|---|
0x0006 | ERR_FORMAT_ERROR | Parameter error |
0x0104 | ERR_NOT_FOUND_PLANT | Unable to find the Plant |
0x000B | ERR_NO_PERMISSION | No permission (the user does not have permission to operate the Plants) |
0x0008 | ERR_FORBIDDEN | Refusal (Plant owner) |