POST api/StudentApplyLeave

Request Information

URI Parameters

None.

Body Parameters

StudentApplyLeave
NameDescriptionTypeAdditional information
UserId

integer

None.

FromDate

date

None.

ToDate

date

None.

Reason

string

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "FromDate": "2026-04-02T15:23:59.915682+05:30",
  "ToDate": "2026-04-02T15:23:59.915682+05:30",
  "Reason": "sample string 4",
  "Type": "sample string 5"
}

application/xml, text/xml

Sample:
<StudentApplyLeave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiForAndroid.Models">
  <FromDate>2026-04-02T15:23:59.915682+05:30</FromDate>
  <Reason>sample string 4</Reason>
  <ToDate>2026-04-02T15:23:59.915682+05:30</ToDate>
  <Type>sample string 5</Type>
  <UserId>1</UserId>
</StudentApplyLeave>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>