POST api/Attendance/AddAttendanceLeaveApply
Request Information
URI Parameters
None.
Body Parameters
PropertyAttendanceApplyLeave| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyId | string |
None. |
|
| ApplyId | string |
None. |
|
| MainId | string |
None. |
|
| BusinessType | EnumBusinessType |
None. |
|
| LeaveStartDate | date |
None. |
|
| LeaveEndDate | date |
None. |
|
| LeaveType | integer |
None. |
|
| LeaveTimes | decimal number |
None. |
|
| LeaveRemark | string |
None. |
|
| StaffId | string |
None. |
|
| Id | string |
None. |
|
| Created | date |
None. |
|
| Updated | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyId": "sample string 1",
"ApplyId": "sample string 2",
"MainId": "sample string 3",
"BusinessType": 3,
"LeaveStartDate": "2025-12-07 04:19:47",
"LeaveEndDate": "2025-12-07 04:19:47",
"LeaveType": 6,
"LeaveTimes": 7.0,
"LeaveRemark": "sample string 8",
"StaffId": "sample string 9",
"Id": "sample string 10",
"Created": "2025-12-07 04:19:47",
"Updated": "2025-12-07 04:19:47"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultObjOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Mesg | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Mesg": "sample string 2",
"Data": "sample string 3"
}