POST api/v1/hR_LeaveAnnualPlan
Request Information
URI Parameters
None.
Body Parameters
HR_LeaveAnnualPlanVM| Name | Description | Type | Additional information |
|---|---|---|---|
| leaveAnnualPlanId | integer |
None. |
|
| employeeId | integer |
None. |
|
| leaveTypeId | integer |
None. |
|
| departmentId | integer |
None. |
|
| departmentUnitId | integer |
None. |
|
| startDate | date |
None. |
|
| endDate | date |
None. |
|
| instruction | string |
None. |
|
| description | string |
None. |
|
| dateTimeCreated | date |
None. |
|
| tenantId | integer |
None. |
|
| createdBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"leaveAnnualPlanId": 1,
"employeeId": 1,
"leaveTypeId": 1,
"departmentId": 1,
"departmentUnitId": 1,
"startDate": "2025-10-27T09:19:55.4361919-07:00",
"endDate": "2025-10-27T09:19:55.4361919-07:00",
"instruction": "sample string 2",
"description": "sample string 3",
"dateTimeCreated": "2025-10-27T09:19:55.4361919-07:00",
"tenantId": 1,
"createdBy": 4
}
application/xml, text/xml
Sample:
<HR_LeaveAnnualPlanVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <createdBy>4</createdBy> <dateTimeCreated>2025-10-27T09:19:55.4361919-07:00</dateTimeCreated> <departmentId>1</departmentId> <departmentUnitId>1</departmentUnitId> <description>sample string 3</description> <employeeId>1</employeeId> <endDate>2025-10-27T09:19:55.4361919-07:00</endDate> <instruction>sample string 2</instruction> <leaveAnnualPlanId>1</leaveAnnualPlanId> <leaveTypeId>1</leaveTypeId> <startDate>2025-10-27T09:19:55.4361919-07:00</startDate> <tenantId>1</tenantId> </HR_LeaveAnnualPlanVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.