POST api/AcceptRejectEmployeesLeaveDetailNew
Request Information
URI Parameters
None.
Body Parameters
EmployeeLeaveModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeLeaveId | integer |
None. |
|
| LeaveTypeId | integer |
None. |
|
| LeaveDurationId | integer |
None. |
|
| strFromDate | string |
None. |
|
| strToDate | string |
None. |
|
| AppliedLeaveRemarks | string |
None. |
|
| RoleType | string |
None. |
|
| UserId | integer |
None. |
|
| SchoolCode | string |
None. |
|
| SchoolId | integer |
None. |
|
| YearId | integer |
None. |
|
| EmployeeLeaveDeatailId | integer |
None. |
|
| AppliedLeaveDetailRemarks | string |
None. |
|
| LeaveStatusId | integer |
None. |
|
| IsCancelLeave | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeLeaveId": 1,
"LeaveTypeId": 2,
"LeaveDurationId": 3,
"strFromDate": "sample string 4",
"strToDate": "sample string 5",
"AppliedLeaveRemarks": "sample string 6",
"RoleType": "sample string 7",
"UserId": 8,
"SchoolCode": "sample string 9",
"SchoolId": 10,
"YearId": 11,
"EmployeeLeaveDeatailId": 12,
"AppliedLeaveDetailRemarks": "sample string 13",
"LeaveStatusId": 14,
"IsCancelLeave": 15
}
application/xml, text/xml
Sample:
<EmployeeLeaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Areas.Leave.Models"> <AppliedLeaveDetailRemarks>sample string 13</AppliedLeaveDetailRemarks> <AppliedLeaveRemarks>sample string 6</AppliedLeaveRemarks> <EmployeeLeaveDeatailId>12</EmployeeLeaveDeatailId> <EmployeeLeaveId>1</EmployeeLeaveId> <IsCancelLeave>15</IsCancelLeave> <LeaveDurationId>3</LeaveDurationId> <LeaveStatusId>14</LeaveStatusId> <LeaveTypeId>2</LeaveTypeId> <RoleType>sample string 7</RoleType> <SchoolCode>sample string 9</SchoolCode> <SchoolId>10</SchoolId> <UserId>8</UserId> <YearId>11</YearId> <strFromDate>sample string 4</strFromDate> <strToDate>sample string 5</strToDate> </EmployeeLeaveModel>
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.