POST api/LeaveEDetails/CreateLeave

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
LeaveEModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "LVENCASH_ID": 1,
  "DOC_CODE": "sample string 2",
  "leave_id": 3,
  "LEAVES_ENCASHEDs": "sample string 4",
  "EMP_EMPLOYEE_CODE": "sample string 5",
  "DI_District": "sample string 6",
  "Department_Name": "sample string 7",
  "DOC_DATE": "2024-12-27T06:56:15.6053118+05:30",
  "EMP_FIRST_NAME": "sample string 8",
  "LEAVE_TYPEs": 9,
  "LEAVES_ENCASHED": 10,
  "EmpID": 11,
  "LeaveModel": {
    "Leave_id": 1,
    "Leave_code": "sample string 2",
    "Leave_name": "sample string 3",
    "Encashment": "sample string 4",
    "Accumalation": "sample string 5",
    "Ceiling": 1,
    "leave_name": "sample string 6",
    "leave_id": 7,
    "PaidStatus": "sample string 8",
    "LeaveCredit": "sample string 9",
    "AllowedInsta": "sample string 10",
    "CeilingForAvail": 1,
    "No_insta": 1,
    "LeaveDays": 1,
    "Maximuminstall": 1,
    "EnbcashmentAllowed": "sample string 11",
    "EnbcashmentCeiling": "sample string 12"
  },
  "LEAVES_AVL": 12,
  "ENCASH_AMOUNT": 13,
  "LEAVE_TRANS_DATE": "2024-12-27T06:56:15.6053118+05:30",
  "No_LEAVES": 15,
  "DivisionId": 16,
  "Doc_Year": "2024-12-27T06:56:15.6053118+05:30",
  "DOC_STATUS": "sample string 18"
}

application/xml, text/xml

Sample:
<LeaveEModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <DI_District>sample string 6</DI_District>
  <DOC_CODE>sample string 2</DOC_CODE>
  <DOC_DATE>2024-12-27T06:56:15.6053118+05:30</DOC_DATE>
  <DOC_STATUS>sample string 18</DOC_STATUS>
  <Department_Name>sample string 7</Department_Name>
  <DivisionId>16</DivisionId>
  <Doc_Year>2024-12-27T06:56:15.6053118+05:30</Doc_Year>
  <EMP_EMPLOYEE_CODE>sample string 5</EMP_EMPLOYEE_CODE>
  <EMP_FIRST_NAME>sample string 8</EMP_FIRST_NAME>
  <ENCASH_AMOUNT>13</ENCASH_AMOUNT>
  <EmpID>11</EmpID>
  <LEAVES_AVL>12</LEAVES_AVL>
  <LEAVES_ENCASHED>10</LEAVES_ENCASHED>
  <LEAVES_ENCASHEDs>sample string 4</LEAVES_ENCASHEDs>
  <LEAVE_TRANS_DATE>2024-12-27T06:56:15.6053118+05:30</LEAVE_TRANS_DATE>
  <LEAVE_TYPEs>9</LEAVE_TYPEs>
  <LVENCASH_ID>1</LVENCASH_ID>
  <LeaveModel>
    <Accumalation>sample string 5</Accumalation>
    <AllowedInsta>sample string 10</AllowedInsta>
    <Ceiling>1</Ceiling>
    <CeilingForAvail>1</CeilingForAvail>
    <EnbcashmentAllowed>sample string 11</EnbcashmentAllowed>
    <EnbcashmentCeiling>sample string 12</EnbcashmentCeiling>
    <Encashment>sample string 4</Encashment>
    <LeaveCredit>sample string 9</LeaveCredit>
    <LeaveDays>1</LeaveDays>
    <Leave_code>sample string 2</Leave_code>
    <Leave_id>1</Leave_id>
    <Leave_name>sample string 3</Leave_name>
    <Maximuminstall>1</Maximuminstall>
    <No_insta>1</No_insta>
    <PaidStatus>sample string 8</PaidStatus>
    <leave_id>7</leave_id>
    <leave_name>sample string 6</leave_name>
  </LeaveModel>
  <No_LEAVES>15</No_LEAVES>
  <leave_id>3</leave_id>
</LeaveEModel>

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 'LeaveEModel'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.