POST api/Attendance/ApproveRejectAttendance
Request Information
URI Parameters
None.
Body Parameters
updatetAtendanceApproval| Name | Description | Type | Additional information |
|---|---|---|---|
| currentusername | string |
None. |
|
| currentemployeeId | string |
None. |
|
| id | integer |
None. |
|
| employeeId | integer |
None. |
|
| status | string |
None. |
|
| device_id | string |
None. |
|
| comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"currentusername": "sample string 1",
"currentemployeeId": "sample string 2",
"id": 3,
"employeeId": 4,
"status": "sample string 5",
"device_id": "sample string 6",
"comments": "sample string 7"
}
application/xml, text/xml
Sample:
<updatetAtendanceApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <comments>sample string 7</comments> <currentemployeeId>sample string 2</currentemployeeId> <currentusername>sample string 1</currentusername> <device_id>sample string 6</device_id> <employeeId>4</employeeId> <id>3</id> <status>sample string 5</status> </updatetAtendanceApproval>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.