7_API REFERENCE MANUAL
OJMAR 123
Example
JSON request:
http://localhost:8086/card/read/cnreader/classic
JSON response:
{
"result": "ok",
"data_online":
"0005111166663301048400000C03035100000A03010800FE0215E1000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000
00",
"uid": "26F99832"
}
7.3.2.2.2
WRITE CARD
Definition
JSON file is sent by POST with the frame and reader type (NFC, CNReader) and
the web service will write the frame in the card. Available for OTS & Nexo NLX1
family.
•
NOTE: Use Datamodel´s API web services in order to create the frame
that will be written on the card.
Parameters
POST http://localhost:8086/card/write
Parameters of the request JSON file:
Parameter
Mandatory
Data type
Possible values
reader_type
Yes
String
"nfc", "cnreader"
card_model
Yes (For OTS
family)
String
"ultralight",
"classic", "desfire"
card_model
Yes (For Nexo
NLX1 family)
String
"classic"
frame
Yes
String
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...