Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


You can use our web (HTTP request) API to submit employee attendance information to HRWorks by way of JSON formatted strings.
The API request can be made for uploading the swipe card / biometric machine data of an employee to HRWorks. For each swipe card / biometric machine input, this API method needs to be called separately. In this document, the word swipe refers to the usage of both swipe card / biometric machine, as the case may be. 

...

{

"employeeId": "<Employee ID>", 

"location": "<Swipe/Biometric machine ID>", 

"swipeTime": "<yyyy-mm-dd hh:mm:ss>", 

"in_out": "<In/Out>"

}

Multiple objects can be supplied as a JSON array.

{

"employeeId": "<Employee ID>", 

"location": "<Swipe/Biometric machine ID>", 

"swipeTime": "<yyyy-mm-dd hh:mm:ss>", 

"in_out": "<In/Out>"

}

You can post employee attendance information to HRWorks using this request. The post request can be made by way of JSON formatted string named attendanceInputJSON, which allows you to submit attendance data with the following parameters as input.

...

1
2
3
4
5

#The following command updates existing employee data.
  
curl --location --request POST 'https://hinote.in/hrworks/api/post/AttendanceInput.do?key=<customer_api_key>\
--header 'Content-Type: text/plain' \
--data-raw '{"employeeId": "XYZ0001", "nameInBankAccountloaction": "Deepika Sharma"}'