Create a Plant browsing account

for example: http://api.shinemonitor.com/public/?sign=45a0317337cad1b975b7cc8e6ae35401daa5c356&salt=6799118618252297881&token=5b13e18eaa179d4bdce4cf2cc0e66eaa506c7f27ccac6b9e7beaa190ec0e386f&action=addPlantBrowser&usr=usr&pwd=pwd&pid=1,2&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action addPlantBrowser True
usr Account name to register True
pwd Password, a hexadecimal lowercase string encrypted by RC4 (SECRET, SHA-1 (PWD)) True
mobile moblie phone False
email E-mail False
desc Description False
rid Role False
enable Account status False
pid Plant id to be assigned, multiple separated by ',' False

response: No text

{
    "err":0,
    "desc":"ERR_NONE"
}

Possible errors:

Response error code Description Details
0x0006 ERR_FAIL Fail
0x0006 ERR_FORMAT_ERROR Format error
0x0007 ERR_MISSING_PARAMETER Missing necessary parameters
0x0010 ERR_PASSWORD_VERIF_FAIL Password verification failed
0x0018 ERR_USR_NAME_DUPLICATE Repeat of user name
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 15:34:52

results matching ""

    No results matching ""