Get lock time

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.

1 Request example

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
lockIdIntYLock ID, generated by Lock init
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
dateLongLock time (timestamp in millisecond)