GET api/Attendance/getAttendance?EmployeeCode={EmployeeCode}&startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeCode | string |
Required |
|
| startDate | date |
Required |
|
| endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Attendance| Name | Description | Type | Additional information |
|---|---|---|---|
| DayOfDate | string |
None. |
|
| AttendanceID | integer |
None. |
|
| CheckIn | string |
None. |
|
| CheckOut | string |
None. |
|
| CheckInDevice | string |
None. |
|
| CheckOutDevice | string |
None. |
|
| CheckInLat | decimal number |
None. |
|
| CheckInLot | decimal number |
None. |
|
| CheckOutLat | decimal number |
None. |
|
| CheckOutLot | decimal number |
None. |
|
| Hour | decimal number |
None. |
|
| IsPushed | boolean |
None. |
|
| IsFromLiveServer | boolean |
None. |
|
| Status | string |
None. |
|
| IsPublicHoliday | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DayOfDate": "sample string 1",
"AttendanceID": 1,
"CheckIn": "sample string 2",
"CheckOut": "sample string 3",
"CheckInDevice": "sample string 4",
"CheckOutDevice": "sample string 5",
"CheckInLat": 6.1,
"CheckInLot": 7.1,
"CheckOutLat": 8.1,
"CheckOutLot": 9.1,
"Hour": 1.1,
"IsPushed": true,
"IsFromLiveServer": true,
"Status": "sample string 12",
"IsPublicHoliday": 1
},
{
"DayOfDate": "sample string 1",
"AttendanceID": 1,
"CheckIn": "sample string 2",
"CheckOut": "sample string 3",
"CheckInDevice": "sample string 4",
"CheckOutDevice": "sample string 5",
"CheckInLat": 6.1,
"CheckInLot": 7.1,
"CheckOutLat": 8.1,
"CheckOutLot": 9.1,
"Hour": 1.1,
"IsPushed": true,
"IsFromLiveServer": true,
"Status": "sample string 12",
"IsPublicHoliday": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfAttendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI.Models"><Attendance><AttendanceID>1</AttendanceID><CheckIn>sample string 2</CheckIn><CheckInDevice>sample string 4</CheckInDevice><CheckInLat>6.1</CheckInLat><CheckInLot>7.1</CheckInLot><CheckOut>sample string 3</CheckOut><CheckOutDevice>sample string 5</CheckOutDevice><CheckOutLat>8.1</CheckOutLat><CheckOutLot>9.1</CheckOutLot><DayOfDate>sample string 1</DayOfDate><Hour>1.1</Hour><IsFromLiveServer>true</IsFromLiveServer><IsPublicHoliday>1</IsPublicHoliday><IsPushed>true</IsPushed><Status>sample string 12</Status></Attendance><Attendance><AttendanceID>1</AttendanceID><CheckIn>sample string 2</CheckIn><CheckInDevice>sample string 4</CheckInDevice><CheckInLat>6.1</CheckInLat><CheckInLot>7.1</CheckInLot><CheckOut>sample string 3</CheckOut><CheckOutDevice>sample string 5</CheckOutDevice><CheckOutLat>8.1</CheckOutLat><CheckOutLot>9.1</CheckOutLot><DayOfDate>sample string 1</DayOfDate><Hour>1.1</Hour><IsFromLiveServer>true</IsFromLiveServer><IsPublicHoliday>1</IsPublicHoliday><IsPushed>true</IsPushed><Status>sample string 12</Status></Attendance></ArrayOfAttendance>