Registered Plants Owner

  • Registered Plants Owner requires providing an unregistered Datalogger number as a parameter

for example: http://api.shinemonitor.com/public/?sign=4f12e771c0aa22898b77b58397e14e77f86b7d78&salt=1496932696821&action=reg&usr=plant-user-01&pwd=59c7043a9db2fbffaa6456df73d624d73fa638296760ecceb163db392e937f6931c23b3b8ec76971&mobile=15889700000&email=eybond@eybond.com&sn=W001750X50&company-key=0123456789ABCDEF&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action reg True
usr Account name to register True
pwd Password, encrypted by RC4 (SHA-1 (PN), SHA-1 (PWD)) True
email Email False
mobile Mobile phone False
sn Datalogger number True
company-key Manufacturer identification assigned by the platform True

response: Same authentication interface, refer to Authentication interface call.

If there are doubts about the code implementation of RC4 (SHA-1 (PN), SHA-1 (PWD)), refer to Java Language Example.

Possible errors:

response error code Description Details
0x0006 ERR_FORMAT_ERROR Parameter error
0x0007 ERR_MISSING_PARAMETER Missing necessary parameters (incoming parameters may be empty)
0x000F ERR_NOT_FOUND_COMPANY_KEY No company-key found
0x0103 ERR_INVALID_PN Invalided Datalogger number
0x0207 ERR_USR_EXISTED User already exists
0x0208 ERR_PN_REGISTER The Datalogger has been registered
0x0010 ERR_PASSWORD_VERIF_FAIL Password verification failed
0x0013 ERR_MOBILE_FORMAT Phone number format error
0x0014 ERR_EMAIL_FORMAT Email format error
0x0015 ERR_USRNAME_FORMAT User name format error
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:17:51

results matching ""

    No results matching ""