Employee Attendance
This API gives Employee Attendance of an employee for the given date
URL
hrdetails/emp_attendance
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
---|---|---|---|---|---|---|
key | String | 32 | 32 | M | Z5FVQccv4YqxNI5fdcdOY5Dvr8SkeYfU | Key obtained from authentiaction. |
attendancefrom | String | M | 2010-10-10 | The From Date in yyyy-MM-dd format | ||
attendancetill | String | M | 2010-10-10 | The Till Date in yyyy-MM-dd format | ||
firm | Integer | 9999 | M | 1 | Firmid of Employee Working Unit | |
deptcode | Integer | 999 | M | 1 | Department Code of the Employee | |
desigcode | Integer | 9999 | M | 1 | Designation Code of the Employee | |
empcode | Integer | 99999 | M | 1 | Employee Code |
Response Values
Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
---|---|---|---|---|---|---|
employeeatt | Array | M | Attendance Details of Employee | |||
adate | String | 10 | 10 | M | 2010-10-10 | Date of Attendance |
accode | Integer | 1 | 9999 | M | 1 | Employee Code |
atype_updated | String | 2 | 10 | M | PR | Attendance Status of Employee |
co_id | String | 1 | 99999 | M | 1 | Company ID of Employee |
doj | String | 10 | 10 | M | 2010-10-10 | Date of Join of Employee |
departmentcode | Integer | 1 | 999 | M | 1 | Department code of Employee |
degcode | Integer | 1 | 9999 | M | 1 | Designation Code of Employee |
employee | String | 1 | 99999 | M | NICK | Name of Employee |
holiday | Character | M | T | If Holiday Then T Else F | ||
isleav | Character | M | F | If Leave then T Else F | ||
atstatus_updated | Decimal | 1 | M | 1 | Attendance value If Present Then 1, Half Day Then 0.5 , Absent or Leave Then 0 |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"attendancefrom": "2010-10-10",
"attendancetill": "2010-10-10",
"firm": "1",
"deptcode": "1",
"desigcode": "1",
"empcode": "1"
}
Sample Success Response
{
"employeeatt": [
{
"adate": "2010-10-10",
"accode": "1",
"atype_updated": "PR",
"co_id": "1",
"doj": "2010-10-10",
"departmentcode": "1",
"degcode": "1",
"employee": "NICK",
"holiday": "T",
"isleav": "F",
"atstatus_updated": "1"
}
],
"e": 200,
"msg": "Success"
}