Add a Datalogger to the Plant

for example: http://api.shinemonitor.com/public/?sign=261007b9b49e6bb853674f707bbe07342090e16c&salt=4774753303431526569&token=1fa0b3a0872b7257aa7908e16d316f7149e515d41c8e23092eb83987d6cf2774&action=addCollectorToPlant&pn=COLLECTOR0001&alias=COLLECTOR0001&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action addCollectorToPlant True
plantid Plant id True
pn Datalogger number True
alias Datalogger alias False

response:No text

Possible errors:

Response error code Description Details
0x0006 ERR_FORMAT_ERROR Parameter
0x000B ERR_NO_PERMISSION No permission (possible reason only the Plant owner can add)
0x0104 ERR_NOT_FOUND_PLANT Unable to find Plant
0x020A ERR_COLLECTOR_EXISTED Datalogger is already exists
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:28:07

results matching ""

    No results matching ""