Authentication
Before calling the business API, it is always necessary to obtain the platform assigned secret and token through identity authentication
| 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 |