Difference between revisions of "Fingerprint Service Log"

From sbv.wiki
Jump to: navigation, search
Line 9: Line 9:
 
* Admin Log Received
 
* Admin Log Received
 
* Device Connection Changed
 
* Device Connection Changed
* New Finger print
+
* New Fingerprint
  
 
'' Admin Log Received ''
 
'' Admin Log Received ''
Line 15: Line 15:
 
This message type represents multiple actions. The action can been seen in the JsonData column.
 
This message type represents multiple actions. The action can been seen in the JsonData column.
  
* Insert User - when the service sends user data to a clock that does not have an employee with the user ID, the clock will send an
+
* Insert User - when a time clock receives a user that is not in the time clock, the clock sends an "Insert User" message.
  
<nowiki>[{"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"}]</nowiki>
+
<nowiki>[{"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"}]</nowiki>
  
When the clock has an employee with the User ID sent then it will have the action of "Update User"
+
* Update User - when a time clock receives a user that is already in the time clock, the clock sends an "Update User" message.
  
[{"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"}]
+
<nowiki>[{"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"}]</nowiki>
  
DeviceConnectionChanged - occurs when the clock connects or disconnects from the service. Also occurs when the service is restarted. JsonData will contain true or false.
+
'' DeviceConnectionChanged ''
  
NewFingerprint - occurs when the user enrolls an employee at the time clock but also when a fingerprint
+
This occurs when the clock connects or disconnects from the service. Also occurs when the service is restarted. JsonData will contain true or false.
  
[{"finger_number":6,"template":"(Fingerprint data)","user_id":"10000"}]
+
'' NewFingerprint''
 +
 
 +
This occurs when the user enrolls an employee at the time clock but also when a fingerprint is sent to the time clock. The Jsondata is similar but the serial number is "server" when the fingerprint is sent from the service to the time clock, and it is the serial number of the time clock when the clock sends the fingerprint.
 +
 
 +
<nowiki>[{"finger_number":6,"template":"(Fingerprint data...)","user_id":"10000"}]</nowiki>

Revision as of 04:05, 2 January 2019

This topic is for advanced users

There are 2 logs maintained. Time Log records all punches made at the time clock while Admin Log records all other logs sent from the time clock.

Admin Log

The AdminLog will contain the following Message Types:

  • Admin Log Received
  • Device Connection Changed
  • New Fingerprint

Admin Log Received

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

  • Insert User - when a time clock receives a user that is not in the time clock, the clock sends an "Insert User" message.
[{"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"}]
  • Update User - when a time clock receives a user that is already in the time clock, the clock sends an "Update User" message.
[{"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

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

NewFingerprint

This occurs when the user enrolls an employee at the time clock but also when a fingerprint is sent to the time clock. The Jsondata is similar but the serial number is "server" when the fingerprint is sent from the service to the time clock, and it is the serial number of the time clock when the clock sends the fingerprint.

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