Authentication

Before calling the business API, it is always necessary to obtain the platform assigned secret and token through identity authentication

for example, request: http://api.shinemonitor.com/public/?sign=675bd5418fce7be5e30b920a16a46ce075c90a35&salt=1491967716993&action=auth&usr=vplant&company-key=0123456789ABCDEF&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action auth True
usr Account assigned by the platform True
company-key Manufacturer identification assigned by the platform True

The specific usage of the interface can be found in Authentication interface call.

Possible errors:

Response error code Description Details
0x0007 ERR_MISSING_PARAMETER Missing necessary parameters (incoming parameters may be empty)
0x000F ERR_NOT_FOUND_COMPANY_KEY No manufacturer key found
0x0010 ERR_PASSWORD_VERIF_FAIL Password verification failed (possibly due to incorrect password encryption)
0x0105 ERR_NOT_FOUND_USR The user was not found
0x0019 ERR_USR_DISABLED Account frozen
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:16:21

results matching ""

    No results matching ""