...
- Employee Id: Employee Id as specified in HRWorks.
- Date: Date for which attendance is being uploaded. Should be Excel date value in case of xls file. For CSV format, the date value should be in the yyyy-mm-dd format.
- In Time: Date and Time of the employee entry time. Should be Excel date time value. For CSV format, the "TimeStamp" format in Data Types should be used.
- Out Time: Date and Time of the employee exit time. Should be Excel date time value. For CSV format, the "TimeStamp" format in Data Types should be used.
- In Location: Should If attendance locations are configured, then specify the In Location, else can be left as blank. Created for future use.
- Out Location: Should If attendance locations are configured, then specify the Out Location, else can be left as blank. Created for future use.
- Comments: Any relevant Enter comments for the attendance entry. Can be left blank.
3. Response
If the Add Employee Attendance Upload request API call is successful, the API shall return a response such as the below.
|
3.1 Response in case of error
...
|
Note:
- errorMsg is a string value describing the error.
- Status codes are described in Status Codes section.
4 Coding Examples
4.1 CURL
...
1 |
curl --location --request POST |
CURL utility can be used to upload attendance data into HRWorks application. The following command can be used for the upload:
...
F "key=<hrworks_user_id>" -F "input=@<local reference to the attendance data file>" https://www.hinote.in/hrworks/AttendanceFileUpload.do |
curl -F "key=<hrworks_user_id>" -F "input=@<local reference to the attendance data file>" https://www.hinote.in/hrworks/AttendanceFileUpload.do
...