authentication

Before calling the business API, It is always necessary to pass authentication first, Get the secrets and tokens assigned by the platform.

such as, request: http://api.dessmonitor.com/public/?sign=675bd5418fce7be5e30b920a16a46ce075c90a35&salt=1491967716993&action=authSource&usr=vplant&company-key=0123456789ABCDEF&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description Required
action authSource true
usr The account number assigned by the platform true
source The user source is not transmitted by default to energy storage:1 false
company-key The vendor ID assigned by the platform false

more information about how to use the interface, seeinvoke Authentication interface.

Possible errors:

Returns an error code description Detailed description
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 validation failed (possibly incorrect password encryption)
0x0105 ERR_NOT_FOUND_USR The user was not found

results matching ""

    No results matching ""