PUT api/v1/hR_LeaveAnnualPlan/{leaveAnnualPlanId}/leaveAnnualPlanId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
leaveAnnualPlanId

integer

Required

Body Parameters

HR_LeaveAnnualPlanVM
NameDescriptionTypeAdditional 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": "2024-09-19T09:16:14.6868895-07:00",
  "endDate": "2024-09-19T09:16:14.6868895-07:00",
  "instruction": "sample string 2",
  "description": "sample string 3",
  "dateTimeCreated": "2024-09-19T09:16:14.6868895-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>2024-09-19T09:16:14.6868895-07:00</dateTimeCreated>
  <departmentId>1</departmentId>
  <departmentUnitId>1</departmentUnitId>
  <description>sample string 3</description>
  <employeeId>1</employeeId>
  <endDate>2024-09-19T09:16:14.6868895-07:00</endDate>
  <instruction>sample string 2</instruction>
  <leaveAnnualPlanId>1</leaveAnnualPlanId>
  <leaveTypeId>1</leaveTypeId>
  <startDate>2024-09-19T09:16:14.6868895-07:00</startDate>
  <tenantId>1</tenantId>
</HR_LeaveAnnualPlanVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.