POST api/PostLeave

Request Information

URI Parameters

None.

Body Parameters

Faculty_Leave_Application
NameDescriptionTypeAdditional information
Id

integer

None.

User_Id

string

None.

Leave_From_Dt

date

None.

Leave_To_Dt

date

None.

Apply_dt

date

None.

Leave_Description

string

None.

Status

integer

None.

ActionBy

string

None.

Remark

string

None.

Action_dt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "User_Id": "sample string 2",
  "Leave_From_Dt": "2026-10-28T10:24:57.2116116+05:30",
  "Leave_To_Dt": "2026-10-28T10:24:57.2116116+05:30",
  "Apply_dt": "2026-10-28T10:24:57.2116116+05:30",
  "Leave_Description": "sample string 3",
  "Status": 1,
  "ActionBy": "sample string 4",
  "Remark": "sample string 5",
  "Action_dt": "2026-10-28T10:24:57.2116116+05:30"
}

application/xml, text/xml

Sample:
<Faculty_Leave_Application xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApplicationDataAccess">
  <ActionBy>sample string 4</ActionBy>
  <Action_dt>2026-10-28T10:24:57.2116116+05:30</Action_dt>
  <Apply_dt>2026-10-28T10:24:57.2116116+05:30</Apply_dt>
  <Id>1</Id>
  <Leave_Description>sample string 3</Leave_Description>
  <Leave_From_Dt>2026-10-28T10:24:57.2116116+05:30</Leave_From_Dt>
  <Leave_To_Dt>2026-10-28T10:24:57.2116116+05:30</Leave_To_Dt>
  <Remark>sample string 5</Remark>
  <Status>1</Status>
  <User_Id>sample string 2</User_Id>
</Faculty_Leave_Application>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.