POST api/AddUpdateLeaveApplication
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
objLeaveApplication | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "LeaveApplicationID": 1, "UserID": 2, "DateOfApplication": "sample string 3", "LeaveFromDate": "sample string 4", "LeaveToDate": "sample string 5", "LeaveStatusID": 6, "Remark": "sample string 7", "ApprovedByUserID": 8, "ApprovalDate": "sample string 9", "UserFullName": "sample string 10", "ApprovedByUserFullName": "sample string 11" }
text/html
Sample:
{"LeaveApplicationID":1,"UserID":2,"DateOfApplication":"sample string 3","LeaveFromDate":"sample string 4","LeaveToDate":"sample string 5","LeaveStatusID":6,"Remark":"sample string 7","ApprovedByUserID":8,"ApprovalDate":"sample string 9","UserFullName":"sample string 10","ApprovedByUserFullName":"sample string 11"}
application/xml, text/xml
Sample:
<LeaveApplicationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.SalarySlip"> <ApprovalDate>sample string 9</ApprovalDate> <ApprovedByUserFullName>sample string 11</ApprovedByUserFullName> <ApprovedByUserID>8</ApprovedByUserID> <DateOfApplication>sample string 3</DateOfApplication> <LeaveApplicationID>1</LeaveApplicationID> <LeaveFromDate>sample string 4</LeaveFromDate> <LeaveStatusID>6</LeaveStatusID> <LeaveToDate>sample string 5</LeaveToDate> <Remark>sample string 7</Remark> <UserFullName>sample string 10</UserFullName> <UserID>2</UserID> </LeaveApplicationViewModel>
application/x-www-form-urlencoded
Sample: