Professional Documents
Culture Documents
Access Device APIv1.0.2
Access Device APIv1.0.2
Access Device APIv1.0.2
description
Version 1 . 0 . 2
Table of Contents
Device local service interface description........................................................................1
table of Contents...........................................................................................................................3
Overview.............................................................................................................................................3
1. Browser access address............................................................................................4
2. The default login password.....................................................................................4
3. Record export...............................................................................................................4
Technology docking.........................................................................................................................5
Appendix 2.9 : Device local service interface description....................................5
1 , record interface...................................................................................................5
2 , Picture Interface.................................................................................................7
Appendix 1.8 : successfully pass the identification code.........................................8
Appendix 1.9 : access failure identification code.......................................................8
Overview
This function is faster and more convenient for local deployment, solves the
problems of difficult wiring and network environment, and is completely
independent of the platform function and does not affect each other.
888888
The password is the same as the device interface entry setting interface,
which can be modified through the platform.
3. Record export
Click the button in the upper right corner of the interface to pop up the
time interval selection box :
Click the export button, select the time interval, and export the
corresponding record.
Equipment default retention policy: keep the last record month,
retention 500M picture ( about 85 00 Ge);
Technology docking
After opening the local service function, the client can obtain the
required data by accessing the device docking interface
address through HTTP-GET ;
Appendix 2.9 : Device local service interface
description
The device supports opening the local service interface through settings, and
the interface provides services to the outside through the http server .
If there is no special instructions, the character set is utf-8;
1 , record interface
Interface address :
http: // { device IP} : 10088 / record
Output format :
JSON
Field list:
Field name Types of Explanation
i d Numerical value Personnel ID / Card Number
n ame String Name
t ype Numerical value Passage 1 = Success 0 = Failure
t ime String time
rt ype Numerical value When successfully identified, this field
represents the relay number
This field represents the record classification
when the failure flag
c ode Numerical value When successful identification, this field
represents the access success code
In the case of failure identification, this
field represents the pass failure identification
code
t emperature String Time string
Example query:
http: // { device IP} : 10088 / record? sortby = time & order = desc & limit = 5
GET request query field description table:
Field name Types of Explanation
sortby String Sort by field, only included in the field list
order String Ascending or descending order
limit Numerical value Limit number
Please read as appropriate, select the appropriate reading
frequency and time interval to avoid affecting the performance of the
device.
2 , Picture Interface
Example query:
http: // { device IP} : 10088 / static / { picture name }
Correspondence:
Passing success:
PASS_APPFACEU_{ device number }_{passage identification }_
{art ID / card }_{ capture time} .jpg
Passing failure:
FAIL_APPFACEU_{equipment number}_{record
classification} _ {access failure indicator }_{person ID/card number }_
{ capture time} .jpg
Strangers: (Strangers as a special passage failure situation, separate format)
UNKNOWN_APPFACEU_{devicenumber}_{passage identification }_{l
ocal unfamiliar person ID _{ capture time} .jpg
value description
0x01 Reading head 1
0x02 Reading head 2
0x03 Reading head 3
0x04 Reading head 4
0x05 Reading head 5
0x06 Reading head 6
0x07 Reading head 7
0x08 Reading head 8
0x09 Keep
0x0A Face recognition
0x0B Visitor QR code to open the door
0x0C External device opens the door
0x0D Scan the code to open the door
0x0E Remote door opening
0x0F QR code reader
0x10 Password to open the door
0x11 Third-party platform opens
0x12 Bluetooth open the door
Appendix 1.9 : access failure identification code