POST api/v1/hR_LeaveBalance

Request Information

URI Parameters

None.

Body Parameters

HR_LeaveBalanceVM
NameDescriptionTypeAdditional information
leaveBalanceId

integer

None.

employeeId

integer

None.

businessYearId

integer

None.

leaveTypeId

integer

None.

daysEligible

integer

None.

leaveStartDate

date

None.

resumptionDate

date

None.

dateResumed

date

None.

dayUtilized

integer

None.

dayBalance

integer

None.

dateCreated

date

None.

tenantId

integer

None.

isActive

boolean

None.

createdBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "leaveBalanceId": 1,
  "employeeId": 1,
  "businessYearId": 1,
  "leaveTypeId": 1,
  "daysEligible": 1,
  "leaveStartDate": "2024-11-24T08:56:29.0432313-08:00",
  "resumptionDate": "2024-11-24T08:56:29.0432313-08:00",
  "dateResumed": "2024-11-24T08:56:29.0432313-08:00",
  "dayUtilized": 1,
  "dayBalance": 1,
  "dateCreated": "2024-11-24T08:56:29.0432313-08:00",
  "tenantId": 1,
  "isActive": true,
  "createdBy": 2
}

application/xml, text/xml

Sample:
<HR_LeaveBalanceVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <businessYearId>1</businessYearId>
  <createdBy>2</createdBy>
  <dateCreated>2024-11-24T08:56:29.0432313-08:00</dateCreated>
  <dateResumed>2024-11-24T08:56:29.0432313-08:00</dateResumed>
  <dayBalance>1</dayBalance>
  <dayUtilized>1</dayUtilized>
  <daysEligible>1</daysEligible>
  <employeeId>1</employeeId>
  <isActive>true</isActive>
  <leaveBalanceId>1</leaveBalanceId>
  <leaveStartDate>2024-11-24T08:56:29.0432313-08:00</leaveStartDate>
  <leaveTypeId>1</leaveTypeId>
  <resumptionDate>2024-11-24T08:56:29.0432313-08:00</resumptionDate>
  <tenantId>1</tenantId>
</HR_LeaveBalanceVM>

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.