7_API REFERENCE MANUAL
OJMAR 133
JSON response:
{
"result": "ok",
"card_type": "Port 56 configured correctly"
}
7.3.3.2
Lock request
Definition
Every time a card is approached to the lock, this one will send a request to the 3rd
party SW with the information of the card and the lock, leaving the decision of what
action should be performed to the 3rd party SW.
Parameters
A JSON structure will be received by TCP/IP with following parameters.
Parameter
Mandatory
Data type
Possible values
profiles
Yes
Array (Int)
uid
Yes
String
Approached card´s
UID
mem_uid
Yes
String
UID that lock has in
its memory
lock_status
Yes
Array (String)
A - Opened
C - Closed
L - Free
O - Occupied
B - Blocked
Num_installation
Yes
String
Lock installation
number
Num_subinstallation
Yes
String
Lock
subinstallation
number
locks
Yes
Array(Int)
Which locks has
the card access
rights to
lock_request
Yes
Boolean
If lock is making a
request
lock_response
Yes
Boolean
If lock is answering
a petition
lock_number
Yes
Int
Lock´s number
Example
JSON structure with:
Summary of Contents for Nexo NLX1
Page 1: ...E S P INSTRUCTIONS MANUAL VERSION 2 0 NEXO NLX1 SYSTEM...
Page 2: ......
Page 3: ...INSTRUCTIONS MANUAL VERSION 1 0 NEXO NLX1 SYSTEM...
Page 7: ...CONTENTSOJMAR 7 PAGE LEFT BLANK INTENTIONALLY...
Page 39: ...2_MANUAL DE INSTALACI N OJMAR 39 PAGE LEFT BLANK INTENTIONALLY...
Page 57: ...3_PUESTA EN MARCHA OJMAR 57 PAGE LEFT BLANK INTENTIONALLY...
Page 62: ...5_MANUAL DE MANTENIMIENTO 1 2 3 User key master or service 4...
Page 70: ...5_MANUAL DE MANTENIMIENTO...
Page 74: ...5_MANUAL DE MANTENIMIENTO PAGE LEFT BLANK INTENTIONALLY...
Page 150: ...7_API REFERENCE MANUAL options BT group 1 range_from 1 range_to 100...
Page 184: ...7_API REFERENCE MANUAL PAGE LEFT BLANK INTENTIONALLY...
Page 186: ...7_API REFERENCE MANUAL Option b...
Page 187: ...7_API REFERENCE MANUAL OJMAR 187 Option c INSTALLING ONE ROUTER PER 50 LOCKS IS RECOMMENDED...
Page 188: ...7_API REFERENCE MANUAL...