POST api/CancelStudentLeave
Request Information
URI Parameters
None.
Body Parameters
StudentLeaveModel_API| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentLeaveId | integer |
None. |
|
| strFromLeaveDate | string |
None. |
|
| strToLeaveDate | string |
None. |
|
| Reason | string |
None. |
|
| Approve | boolean |
None. |
|
| Cancel | boolean |
None. |
|
| Remarks | string |
None. |
|
| YearId | integer |
None. |
|
| UserId | integer |
None. |
|
| SchoolId | integer |
None. |
|
| ConnectionString | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentLeaveId": 1,
"strFromLeaveDate": "sample string 2",
"strToLeaveDate": "sample string 3",
"Reason": "sample string 4",
"Approve": true,
"Cancel": true,
"Remarks": "sample string 7",
"YearId": 8,
"UserId": 9,
"SchoolId": 10,
"ConnectionString": "sample string 11"
}
application/xml, text/xml
Sample:
<StudentLeaveModel_API xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonLibrary.Entity.Student"> <Approve>true</Approve> <Cancel>true</Cancel> <ConnectionString>sample string 11</ConnectionString> <Reason>sample string 4</Reason> <Remarks>sample string 7</Remarks> <SchoolId>10</SchoolId> <StudentLeaveId>1</StudentLeaveId> <UserId>9</UserId> <YearId>8</YearId> <strFromLeaveDate>sample string 2</strFromLeaveDate> <strToLeaveDate>sample string 3</strToLeaveDate> </StudentLeaveModel_API>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |