https://api.sciener.com/v3/lock/getExtraSetting
This mainly includes information such as unauthorized alarms.
If no data is found when querying the cloud for unauthorized alarm information, you need to obtain the latest unauthorized alarm information through the Bluetooth APP SDK, gateway, or Wi-Fi lock channel.
POST, ContentType:application/x-www-form-urlencoded
xxxxxxxxxx61curl --location -g --request POST 'https://api.sciener.com/v3/lock/getExtraSetting' \2--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \3--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \4--data-urlencode 'lockId=3001' \5--data-urlencode 'date=1625025703000'6--data-urlencode 'type=1'| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | Client_id from Create application |
| accessToken | String | Y | Access token,refer to: Get access token |
| lockId | Int | Y | Lock ID |
| type | Int | Y | 0 - Retrieve information from the cloud 1 - Retrieve the latest unauthorized alarm information via gateway or Wi-Fi lock |
| date | Long | Y | Current time (timestamp, in milliseconds) |
| Parameter | Type | Description |
|---|---|---|
| unauthorizedAttemptAlertFlag | Int | Unauthorized alarm, 1 - On, 0 - Off |
| unauthorizedAttemptAlertCount | Int | Unauthorized alerts, number of failures, 0 indicates off. |
| unauthorizedAttemptAlertLockTime | Int | Unauthorized alarm, lock time, unit - seconds |
| unauthorizedAttemptAlertPwd | Int | Unauthorized alarm, password flag: 1 - on, 0 - off |
| unauthorizedAttemptAlertCard | Int | Unauthorized alarm, IC card flag: 1 - On, 0 - Off |
| unauthorizedAttemptAlertFingerprint | Int | Unauthorized access alarm, fingerprint indicator, 1 - open, 0 - closed |
xxxxxxxxxx81{2"unauthorizedAttemptAlertPwd": 1,3"unauthorizedAttemptAlertFingerprint": 1,4"unauthorizedAttemptAlertCount": 5,5"unauthorizedAttemptAlertCard": 1,6"unauthorizedAttemptAlertFlag": 1,7"unauthorizedAttemptAlertLockTime": 18}