https://api.sciener.com/v3/lock/detail
Only lock's administrator is allowed to get lock details. Note: If the lock does not support certain feature, or has never been configured, the configuration information may not appear in this list.
The ekey user can request cloud API: Get one ekey to get the lockData of a lock.
xxxxxxxxxx11curl --location -g --request GET 'https://api.sciener.com/v3/lock/detail?clientId=fd2ff35ee3d8424c8665c07b7b9a7f45&accessToken=780f7671b6e6be3010d9787f19207aca&lockId=10&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 |
| date | Long | Y | Current time (timestamp in millisecond) |
Only lock's administrator is allowed to get lock details. Note: If the lock does not support certain feature, or has never been configured, the configuration information may not appear in this list.
| Parameter | Type | Description |
|---|---|---|
| lockId | Int | Lock ID |
| lockName | String | Lock name |
| lockAlias | String | Lock alias |
| lockMac | String | Lock MAC |
| noKeyPwd | String | Super passcode, which only belongs to the admin ekey, can be entered on the keypad to unlock |
| electricQuantity | Int | Lock battery |
| featureValue | String | characteristic value. it is used to indicate what kinds of feature do a lock support. |
| timezoneRawOffset | Long | The offset between your time zone and UTC, in millisecond |
| modelNum | String | Product model (for firmware update) |
| hardwareRevision | String | Hardware version (for firmware update) |
| firmwareRevision | String | Firmware version (for firmware update) |
| autoLockTime | Int | Auto lock time (in seconds), -1 for disable auto lock |
| lockSound | Int | Lock sound: 0-unknow、1-on, 2-off |
| soundVolume | Int | Sound Volume:1-5 |
| hasGateway | Int | Connected to a gateway:0-false、1-true |
| privacyLock | Int | Privacy lock:0-unknow、1-on, 2-off |
| tamperAlert | Int | Tamper alert:0-unknow、1-on, 2-off |
| resetButton | Int | Reset button:0-unknow、1-on, 2-off |
| openDirection | Int | Open direction:0-unknow、1-left open、2-right open |
| passageMode | Int | Passage mode:1-enable、2-disable |
| passageModeAutoUnlock | Int | Passagemode auto unlock:1-on, 2-off, set to 1 then the lock will auto unlock at the time the passage mode start |
| date | Long | Lock init time (timestamp in millisecond) |
xxxxxxxxxx231{2"date": 1749195089000,3"lockAlias": "S202F_55ce63",4"lockSound": 1,5"modelNum": "SN284-FINGER-T0_PV53",6"lockMac": "ED:AE:90:63:CE:55",7"privacyLock": 2,8"featureValue": "344CD5F7",9"soundVolume": 5,10"hasGateway": 0,11"autoLockTime": 5,12"lockName": "S202F_55ce63",13"resetButton": 1,14"firmwareRevision": "5.1.0.200705",15"tamperAlert": 1,16"noKeyPwd": "7780189",17"passageMode": 2,18"passageModeAutoUnlock": 2,19"timezoneRawOffset": 28800000,20"lockId": 3466251,21"electricQuantity": 100,22"hardwareRevision": "1.1",23}