Difference between revisions of "Fingerprint Service Log"

From sbv.wiki
Jump to: navigation, search
(Created page with "{{ Advanced }}")
 
Line 1: Line 1:
 
{{ Advanced }}
 
{{ Advanced }}
 +
 +
There are currently 2 logs maintained. TimeLog records all punches made at the time clock while AdminLog records all other logs sent from the time clock.
 +
 +
The AdminLog will contain the following Message Types:
 +
 +
AdminLogReceived
 +
 +
This message type represents multiple actions. The action can been seen in JsonData.
 +
 +
When the clock does not have an employee with the User ID sent then it will have the action of "Insert User"
 +
 +
[{"access_control":false,"action":"Insert User","admin_id":"","log_id":29,"result":0,"time":"Jan 1, 2019 10:29:05 PM","timezone_offset":"GMT-05:00","user_id":"10000"}]
 +
 +
When the clock has an employee with the User ID sent then it will have the action of "Update User"
 +
 +
[{"access_control":false,"action":"Update User","admin_id":"","log_id":31,"result":0,"time":"Jan 1, 2019 10:32:50 PM","timezone_offset":"GMT-05:00","user_id":"10000"}]
 +
 +
DeviceConnectionChanged - occurs when the clock connects or disconnects from the service. Also occurs when the service is restarted. JsonData will contain true or false.
 +
 +
NewFingerprint - occurs when the user enrolls an employee at the time clock but also when a fingerprint
 +
 +
[{"finger_number":6,"template":"(Fingerprint data)","user_id":"10000"}]

Revision as of 03:39, 2 January 2019

This topic is for advanced users

There are currently 2 logs maintained. TimeLog records all punches made at the time clock while AdminLog records all other logs sent from the time clock.

The AdminLog will contain the following Message Types:

AdminLogReceived

This message type represents multiple actions. The action can been seen in JsonData.

When the clock does not have an employee with the User ID sent then it will have the action of "Insert User"

[{"access_control":false,"action":"Insert User","admin_id":"","log_id":29,"result":0,"time":"Jan 1, 2019 10:29:05 PM","timezone_offset":"GMT-05:00","user_id":"10000"}]

When the clock has an employee with the User ID sent then it will have the action of "Update User"

[{"access_control":false,"action":"Update User","admin_id":"","log_id":31,"result":0,"time":"Jan 1, 2019 10:32:50 PM","timezone_offset":"GMT-05:00","user_id":"10000"}]

DeviceConnectionChanged - occurs when the clock connects or disconnects from the service. Also occurs when the service is restarted. JsonData will contain true or false.

NewFingerprint - occurs when the user enrolls an employee at the time clock but also when a fingerprint

[{"finger_number":6,"template":"(Fingerprint data)","user_id":"10000"}]