POST api/ViewStaffAttendance
Request Information
URI Parameters
None.
Body Parameters
TaskListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserPriority | integer |
None. |
|
| ClientWise | boolean |
None. |
|
| StaffWise | boolean |
None. |
|
| ClientId | integer |
None. |
|
| StaffId | integer |
None. |
|
| Pending | boolean |
None. |
|
| Approved | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserPriority": 2,
"ClientWise": true,
"StaffWise": true,
"ClientId": 5,
"StaffId": 6,
"Pending": true,
"Approved": true
}
application/xml, text/xml
Sample:
<TaskListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models"> <Approved>true</Approved> <ClientId>5</ClientId> <ClientWise>true</ClientWise> <Id>1</Id> <Pending>true</Pending> <StaffId>6</StaffId> <StaffWise>true</StaffWise> <UserPriority>2</UserPriority> </TaskListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AttendanceView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AttendanceDate | date |
None. |
|
| StaffId | integer |
None. |
|
| Staff | string |
None. |
|
| Present | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"AttendanceDate": "2025-12-06T04:58:19.9057223+00:00",
"StaffId": 1,
"Staff": "sample string 2",
"Present": true
},
{
"Id": 1,
"AttendanceDate": "2025-12-06T04:58:19.9057223+00:00",
"StaffId": 1,
"Staff": "sample string 2",
"Present": true
}
]
application/xml, text/xml
Sample:
<ArrayOfAttendanceView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models">
<AttendanceView>
<AttendanceDate>2025-12-06T04:58:19.9057223+00:00</AttendanceDate>
<Id>1</Id>
<Present>true</Present>
<Staff>sample string 2</Staff>
<StaffId>1</StaffId>
</AttendanceView>
<AttendanceView>
<AttendanceDate>2025-12-06T04:58:19.9057223+00:00</AttendanceDate>
<Id>1</Id>
<Present>true</Present>
<Staff>sample string 2</Staff>
<StaffId>1</StaffId>
</AttendanceView>
</ArrayOfAttendanceView>