POST api/EmpLeaveApp/CreateEmpLeaveApplication

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
EmployeeLeaveApllicationModels
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "LEAVE_APPL_ID": 1,
  "EMP_ID": 2,
  "LEAVE_TYPE": 3,
  "LEAVE_START_DATE": "2024-12-27T06:45:27.2091373+05:30",
  "LEAVE_END_DATE": "2024-12-27T06:45:27.2091373+05:30",
  "LEAVE_TOTAL_DAYS": 6,
  "LEAVE_DEBITS": 7,
  "LEAVE_BAL": 8,
  "Remarks": "sample string 9",
  "EMP_EMPLOYEE_CODE": "sample string 10",
  "EMP_FIRST_NAME": "sample string 11",
  "Department_Name": "sample string 12",
  "leave_name": "sample string 13",
  "DI_Id": 14,
  "AppNo": "sample string 15",
  "LeaveStatus": "sample string 16",
  "DOC_DATE": "2024-12-27T06:45:27.2091373+05:30",
  "AutherRemarks": "sample string 18",
  "EMP_DIVISION_ID": 19,
  "District": "sample string 20",
  "LEAVE_APP_STATUS": 1,
  "Doc_STATUS": "sample string 21",
  "TotalItems": 22
}

application/xml, text/xml

Sample:
<EmployeeLeaveApllicationModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <AppNo>sample string 15</AppNo>
  <AutherRemarks>sample string 18</AutherRemarks>
  <DI_Id>14</DI_Id>
  <DOC_DATE>2024-12-27T06:45:27.2091373+05:30</DOC_DATE>
  <Department_Name>sample string 12</Department_Name>
  <District>sample string 20</District>
  <Doc_STATUS>sample string 21</Doc_STATUS>
  <EMP_DIVISION_ID>19</EMP_DIVISION_ID>
  <EMP_EMPLOYEE_CODE>sample string 10</EMP_EMPLOYEE_CODE>
  <EMP_FIRST_NAME>sample string 11</EMP_FIRST_NAME>
  <EMP_ID>2</EMP_ID>
  <LEAVE_APPL_ID>1</LEAVE_APPL_ID>
  <LEAVE_APP_STATUS>1</LEAVE_APP_STATUS>
  <LEAVE_BAL>8</LEAVE_BAL>
  <LEAVE_DEBITS>7</LEAVE_DEBITS>
  <LEAVE_END_DATE>2024-12-27T06:45:27.2091373+05:30</LEAVE_END_DATE>
  <LEAVE_START_DATE>2024-12-27T06:45:27.2091373+05:30</LEAVE_START_DATE>
  <LEAVE_TOTAL_DAYS>6</LEAVE_TOTAL_DAYS>
  <LEAVE_TYPE>3</LEAVE_TYPE>
  <LeaveStatus>sample string 16</LeaveStatus>
  <Remarks>sample string 9</Remarks>
  <TotalItems>22</TotalItems>
  <leave_name>sample string 13</leave_name>
</EmployeeLeaveApllicationModels>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmployeeLeaveApllicationModels'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.