GET hmain/api/Apf/v1/Attandance/GetAttendanceSummary?EmployeeId={EmployeeId}&DepartMentId={DepartMentId}&FromDate={FromDate}&ToDate={ToDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
Required |
|
| DepartMentId | integer |
Required |
|
| FromDate | string |
Required |
|
| ToDate | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of pr_rptAttendanceSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeNo | integer |
None. |
|
| EmployeeName | string |
None. |
|
| DepartmentId | integer |
None. |
|
| DepartmentName | string |
None. |
|
| WorkHours | integer |
None. |
|
| PresentDays | integer |
None. |
|
| AbsentDays | integer |
None. |
|
| LateDays | integer |
None. |
|
| LateHours | string |
None. |
|
| OffDaysOverTime | string |
None. |
|
| WorkDaysOverTime | string |
None. |
|
| TotalOverTime | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EmployeeNo": 1,
"EmployeeName": "sample string 2",
"DepartmentId": 3,
"DepartmentName": "sample string 4",
"WorkHours": 5,
"PresentDays": 6,
"AbsentDays": 7,
"LateDays": 8,
"LateHours": "sample string 9",
"OffDaysOverTime": "sample string 10",
"WorkDaysOverTime": "sample string 11",
"TotalOverTime": "sample string 12"
},
{
"EmployeeNo": 1,
"EmployeeName": "sample string 2",
"DepartmentId": 3,
"DepartmentName": "sample string 4",
"WorkHours": 5,
"PresentDays": 6,
"AbsentDays": 7,
"LateDays": 8,
"LateHours": "sample string 9",
"OffDaysOverTime": "sample string 10",
"WorkDaysOverTime": "sample string 11",
"TotalOverTime": "sample string 12"
}
]
application/xml, text/xml
Sample:
<ArrayOfpr_rptAttendanceSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HATS.Model">
<pr_rptAttendanceSummary>
<AbsentDays>7</AbsentDays>
<DepartmentId>3</DepartmentId>
<DepartmentName>sample string 4</DepartmentName>
<EmployeeName>sample string 2</EmployeeName>
<EmployeeNo>1</EmployeeNo>
<LateDays>8</LateDays>
<LateHours>sample string 9</LateHours>
<OffDaysOverTime>sample string 10</OffDaysOverTime>
<PresentDays>6</PresentDays>
<TotalOverTime>sample string 12</TotalOverTime>
<WorkDaysOverTime>sample string 11</WorkDaysOverTime>
<WorkHours>5</WorkHours>
</pr_rptAttendanceSummary>
<pr_rptAttendanceSummary>
<AbsentDays>7</AbsentDays>
<DepartmentId>3</DepartmentId>
<DepartmentName>sample string 4</DepartmentName>
<EmployeeName>sample string 2</EmployeeName>
<EmployeeNo>1</EmployeeNo>
<LateDays>8</LateDays>
<LateHours>sample string 9</LateHours>
<OffDaysOverTime>sample string 10</OffDaysOverTime>
<PresentDays>6</PresentDays>
<TotalOverTime>sample string 12</TotalOverTime>
<WorkDaysOverTime>sample string 11</WorkDaysOverTime>
<WorkHours>5</WorkHours>
</pr_rptAttendanceSummary>
</ArrayOfpr_rptAttendanceSummary>