https://api.sciener.com/v3/lock/queryDate
Get the time of a lock remotely via gateway or WiFi lock.
There is a time in the lock, when unlocking via passcode or ekey, the lock will check if it is valid base on the lock time. If the lock time is incorrect, a valid passcode may failed to unlock the lock. You can request this API to query the lock time, and you can request cloud API:Adjust lock time to adjust lock time if it's incorrect.
xxxxxxxxxxcurl --location --request GET 'https://api.sciener.com/v3/lock/queryDate?clientId=4773aa036f7f49c68d876bb4be85c80c&accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f&lockId=163377&date=1626674054000'| 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) |
| Parameter | Type | Description |
|---|---|---|
| date | Long | Lock time (timestamp in millisecond) |
xxxxxxxxxx{"date": 1625025703000}