POST api/leave/approval
Request Information
URI Parameters
None.
Body Parameters
InsertLeaveApproval| Name | Description | Type | Additional information |
|---|---|---|---|
| LeaveReqId | integer |
None. |
|
| ApproverId | integer |
None. |
|
| Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeaveReqId": 1,
"ApproverId": 2,
"Comments": "sample string 3"
}
application/xml, text/xml
Sample:
<InsertLeaveApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/working_sample_mvc_api.Models"> <ApproverId>2</ApproverId> <Comments>sample string 3</Comments> <LeaveReqId>1</LeaveReqId> </InsertLeaveApproval>
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.