...
- 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: If attendance locations are configured, then specify the In Location, else can be left blank.Out Location: If attendance locations are configured, then specify the Out Location, else can be left blankThis is a text value specifying the ID for the swipe card / biometric machine. This should correspond to a swipe card / biometric machine ID (referred to as Attendance Location ID in HRWorks) stored in HRWorks. This is a non-mandatory field. If a value is not provided, the default attendance location (as specified in HRWorks) shall be used.
- Out Location: This is a text value specifying the ID for the swipe card / biometric machine. This should correspond to a swipe card / biometric machine ID (referred to as Attendance Location ID in HRWorks) stored in HRWorks. This is a non-mandatory field. If a value is not provided, the default attendance location (as specified in HRWorks) shall be used.
- Comments: Enter comments for the attendance entry. Can be left blank.
...
4 Coding Examples
4.1 CURL
1 |
curl -F "key=<hrworks_user_id>" |
...
|
...
|
...
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) or in the CSV 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.
...
|