7/10/2023 1:03:14 PM
Sign-in-out Device integration:
Method1:
GetSignInOutRecord(string code, string HRCode, DateTime date)
And it returns JSON fields:
HRCode string, signin DateTime, signout DateTime
Note: “HRCode” parameter were empty strings then return all Records of the sent "date"
else send Record of sent “HRCode”
Kindly find below a sample of URL called to retrieve JSON data of Sign-in-out, and its result:
https://Myorganization.com/api/GetSignInOutRecord?date=20-Jan-2017&code=123456
- The URL must contain the name "GetSignInOutRecord" followed by the parameters
- The date format must accept formats of "dd-MMM-yyyy" and "yyyy-MM-dd",
examples: "20-Jan-2017" and "2022-01-20"
Returned result:
[{"HRCode":"1566","signin":"Jan 20 2017 10:50:49 AM","signout":"Jan 20 2017 5:10:09 PM",
"signInDeviceName" : "1- first device", "signOutDeviceName" : "2 - second device"},
{"HRCode":"1400","signin":"Jan 20 2017 10:50:49 AM","signout":"Jan 20 2017 5:10:09 PM",
"signInDeviceName" : "1- first device", "signOutDeviceName" : "2 - second device"}
]
Another sample for specific employee:
https://Myorganization.com/api/GetSignInOutRecord?HRCode= 1566&date=20-Jan-2017&code=123456
Returned Result:
[{"HRCode":"1566","signin":"Jan 20 2017 10:50:49 AM","signout":"Jan 20 2017 5:10:09 PM",
"signInDeviceName" : "1- first device", "signOutDeviceName" : "2 - second device"}]
==================================================================================================
Tested Direct connection with ZKTeco fingerprint device models:
- ZKTeco K40, ZKTeco iFace402, ZK K60 Pro, ZK CVL6000, ZK F22