Get passage mode configuration of a lock
https://api.sciener.com/v3/lock/getPassageModeConfig
1. Description
Name Type Required Description
clientId String Y The app_id which is assigned by system when you create an application
accessToken String Y Access token
lockId Int Y Lock ID
date Long Y Current time (timestamp in millisecond)
2.Response
Parameter Type Description
passageMode Int Passage mode: 1-on、2-off
startDate Int Start time of cyclic, in minutes, for example 480 for 8:00
endDate Int End time of cyclic, in minutes, for example 1080 for 18:00
isAllDay Int All Hours: 1-YES、2-NO, if is all hours, then startDate and endDate params is ignored.
weekDays JsonArray[Int] Week days, for example: [1,7], for monday and sunday.
autoUnlock Int Auto unlock:1-on、2-off, set to 1 then the lock will auto unlock at the time the passage mode start