CURL utility can be used to upload attendance data into HRWorks application. The following command can be used for the upload:
curl -F "userId=<hrworks_user_id>" -F "company="<customer_name>" -F "password="<hrworks_password>" -F "input=@<local reference to the attendance data file>" https://www.hinote.in/hrworks/AttendanceFileUpload.do
On request of the customer a specific API userid/password is configured. Attendance upload API can be accessed only using this user id.
The data file should be an xls file (in MS Excel 97/2000/XP format). The template file for this can be downloaded from HRWorks application itself. The template file contains the following columns:
- Employee Id: Employee Id as specified in HRWorks.
- Date: Date for which attendance is being uploaded. Should be Excel date value.
- In Time: Date and Time of the employee entry time. Should be Excel date time value.
- Out Time: Date and Time of the employee exit time. Should be Excel date time value.
- In Location: Should be left as blank. Created for future use.
- Out Location: Should be left as blank. Created for future use.
- Comments: Any relevant comments for the attendance entry. Can be left blank.
Status: Must be left as blank. Used by HRWorks to show any error or warning message once the upload is completed.