PUT api/LeaveDetails/UpdateLeave/{Leave_id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
LeaveModel
No documentation available.

Define this parameter in the request body.

Leave_id
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "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"
}

application/xml, text/xml

Sample:
<LeaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <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>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.