1. Activate the API through authorization. You can check whether the API has been activated on the About page (The API Authorization menu is displayed in System Management only when the API is activated). API is shown in License details below:
2. Log in to the system (as the super user, for example, admin) to enter the software. Click [System Management] > [Authority Management] > [API Authorization]. Add a client ID, which must be unique, and a client secret, which will be used when the API is invoked
3. Only when the client ID and secret are added can the next API operation page be displayed normally. Otherwise, the access is abnormal):
4. After the client ID and secret are added, click Browse API on the API Authorization page to skip to the API operation page (The page of the ZKBioSecurity system must be open for normal access of the API operation page). This page provides multiple APIs:
When APIs are invoked, URLs of all request APIs must contain the access_token parameter, whose value is determined by the client key configured on the background (if there are multiple keys, only one is selected), for example:
The access_token parameter must be added when the API is invoked (one request URL can be invoked):
http://110.80.38.74:6066/api/accLevel/getById/2.