POST api/EMPPunch/getDashboard
Request Information
URI Parameters
None.
Body Parameters
EMP_Present_Absent_Filter| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| Search | string |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "sample string 1",
"EndDate": "sample string 2",
"Search": "sample string 3",
"PageIndex": 4,
"PageSize": 5
}
text/html
Sample:
{"StartDate":"sample string 1","EndDate":"sample string 2","Search":"sample string 3","PageIndex":4,"PageSize":5}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
EMPPunchResponseDashboard| Name | Description | Type | Additional information |
|---|---|---|---|
| Dashboard | EMPAdminDashboard |
None. |
|
| FaceCounts | FaceCountView |
None. |
|
| StatusCode | integer |
None. |
|
| status | string |
None. |
|
| statusText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Dashboard": {
"TotalEmployees": 1,
"FaceApproved": 2,
"FacePending": 3,
"PresentCount": 4,
"AbsentCount": 5
},
"FaceCounts": {
"Approved": 1,
"Pending": 2,
"Today": 3,
"Yesterday": 4
},
"StatusCode": 1,
"status": "sample string 2",
"statusText": "sample string 3"
}
text/html
Sample:
{"Dashboard":{"TotalEmployees":1,"FaceApproved":2,"FacePending":3,"PresentCount":4,"AbsentCount":5},"FaceCounts":{"Approved":1,"Pending":2,"Today":3,"Yesterday":4},"StatusCode":1,"status":"sample string 2","statusText":"sample string 3"}