Delete Plants

When there are any Dataloggers or Device in the Plants, deletion is not allowed

for example: http://api.shinemonitor.com/public/?sign=7f220b6f21d0b52d0452d9c66ffe1f4f84635b81&salt=2337424845041575962&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=delPlant&plantid=1&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

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
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:18:58

results matching ""

    No results matching ""