POST api/Leave/UpdateLeaveType
Request Information
URI Parameters
None.
Body Parameters
CLeaveApplication| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| MemberId | integer |
None. |
|
| ProjectManagerId | integer |
None. |
|
| LeaveTypeId | integer |
None. |
|
| ApplyDate | date |
None. |
|
| LeaveFromDate | date |
None. |
|
| LeaveToDate | date |
None. |
|
| NoOfDays | decimal number |
None. |
|
| PurposeOfLeave | string |
None. |
|
| Status | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| IsApproved | boolean |
None. |
|
| ApprovedBy | integer |
None. |
|
| ApprovedDate | date |
None. |
|
| IsDelete | boolean |
None. |
|
| AttachmentPath | string |
None. |
|
| IsAttachment | boolean |
None. |
|
| _strLeaveFromDate | date |
None. |
|
| _strLeaveToDate | date |
None. |
|
| MemberName | string |
None. |
|
| ProjectManagerName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"memberId": 1,
"projectManagerId": 1,
"leaveTypeId": 1,
"applyDate": "2026-11-23T00:19:02.5205672-08:00",
"leaveFromDate": "2026-11-23T00:19:02.5205672-08:00",
"leaveToDate": "2026-11-23T00:19:02.5211308-08:00",
"noOfDays": 1.0,
"purposeOfLeave": "sample string 2",
"status": "sample string 3",
"createdDate": "2026-11-23T00:19:02.5231436-08:00",
"modifiedDate": "2026-11-23T00:19:02.5231436-08:00",
"isApproved": true,
"approvedBy": 1,
"approvedDate": "2026-11-23T00:19:02.5242886-08:00",
"isDelete": true,
"attachmentPath": "sample string 4",
"isAttachment": true,
"_strLeaveFromDate": "2026-11-23T00:19:02.525154-08:00",
"_strLeaveToDate": "2026-11-23T00:19:02.5256666-08:00",
"memberName": "sample string 5",
"projectManagerName": "sample string 6"
}
application/xml, text/xml
Sample:
<CLeaveApplication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.Model"> <ApplyDate>2026-11-23T00:19:02.5205672-08:00</ApplyDate> <ApprovedBy>1</ApprovedBy> <ApprovedDate>2026-11-23T00:19:02.5242886-08:00</ApprovedDate> <AttachmentPath>sample string 4</AttachmentPath> <CreatedDate>2026-11-23T00:19:02.5231436-08:00</CreatedDate> <Id>1</Id> <IsApproved>true</IsApproved> <IsAttachment>true</IsAttachment> <IsDelete>true</IsDelete> <LeaveFromDate>2026-11-23T00:19:02.5205672-08:00</LeaveFromDate> <LeaveToDate>2026-11-23T00:19:02.5211308-08:00</LeaveToDate> <LeaveTypeId>1</LeaveTypeId> <MemberId>1</MemberId> <MemberName>sample string 5</MemberName> <ModifiedDate>2026-11-23T00:19:02.5231436-08:00</ModifiedDate> <NoOfDays>1</NoOfDays> <ProjectManagerId>1</ProjectManagerId> <ProjectManagerName>sample string 6</ProjectManagerName> <PurposeOfLeave>sample string 2</PurposeOfLeave> <Status>sample string 3</Status> <_strLeaveFromDate>2026-11-23T00:19:02.525154-08:00</_strLeaveFromDate> <_strLeaveToDate>2026-11-23T00:19:02.5256666-08:00</_strLeaveToDate> </CLeaveApplication>
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.