POST api/LeaveApplication/{leaveId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| leaveId | integer |
Required |
Body Parameters
tblLeaveApplication| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ApplicationDate | date |
None. |
|
| RequestNo | string |
None. |
|
| LDFrom | date |
None. |
|
| LDTo | date |
None. |
|
| LeaveDays | string |
None. |
|
| LeaveUse | string |
None. |
|
| LeaveR | string |
None. |
|
| LReason | string |
None. |
|
| LatterPic | Collection of byte |
None. |
|
| Status | string |
None. |
|
| SYear | string |
None. |
|
| SchoolCode | integer |
None. |
|
| TeacherID | string |
None. |
|
| LeaveTypeID | integer |
None. |
|
| AdminMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ApplicationDate": "2025-12-06T04:32:54.4662887+00:00",
"RequestNo": "sample string 3",
"LDFrom": "2025-12-06T04:32:54.4662887+00:00",
"LDTo": "2025-12-06T04:32:54.4662887+00:00",
"LeaveDays": "sample string 4",
"LeaveUse": "sample string 5",
"LeaveR": "sample string 6",
"LReason": "sample string 7",
"LatterPic": "QEA=",
"Status": "sample string 8",
"SYear": "sample string 9",
"SchoolCode": 1,
"TeacherID": "sample string 10",
"LeaveTypeID": 11,
"AdminMessage": "sample string 12"
}
application/x-www-form-urlencoded
Sample:
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. |