Delete Plants
When there are any Dataloggers or Device in the Plants, deletion is not allowed
Parameter | Description | Required |
---|---|---|
action | delPlant | True |
plantid | Plants id | True |
response:
{
"err":0,
"desc":"ERR_NONE"
}
Possible errors:
response error code | Description | Details |
---|---|---|
0x0006 | ERR_FORMAT_ERROR | parameter error |
0x000B | ERR_NO_PERMISSION | No permission (the user does not have permission to operate the power station or can only be the owner of the Plants) |
0x0205 | ERR_COLLECOTR_ISNOT_EMPTY | There are still Datalogger under the Plants |
0x0104 | ERR_NOT_FOUND_PLANT | Unable to find the Plants |