https://api.sciener.com/v3/lock/querySetting
Query lock settings via gateway or WiFi lock, including:2-Privacy lock、3-Tamper alert、4-Reset button、7-Open direction.
For other lock settings, such as sound on/off and volume, please use the "Get Lock Details" API.
For WiFi lock settings, such as power-saving mode on/off, please use the "Get WiFi Lock Information" API.
For door sensor and passage mode, please use their respective APIs.
POST, ContentType:application/x-www-form-urlencoded
xxxxxxxxxx61curl --location -g --request POST 'https://api.sciener.com/v3/lock/querySetting' \2--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \3--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \4--data-urlencode 'lockId=163377' \5--data-urlencode 'type=3' \6--data-urlencode 'date=1625025703000'| 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, generated by Lock init |
| type | Int | Y | The item to be queried: 2-Privacy lock、3-Tamper alert、4-Reset button、7-Open direction |
| date | Long | Y | Current time (timestamp in millisecond) |
| Parameter | Type | Description |
|---|---|---|
| value | Int | Value: 1-on、2-off; Open direction:1-left open、2-right open; |
xxxxxxxxxx31{2"value": 13}