PUT api/v1/hR_LeaveTypeEligibility/{leaveTypeEligibilityId}/leaveTypeEligibilityId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
leaveTypeEligibilityId

integer

Required

Body Parameters

HR_LeaveTypeEligibilityVM
NameDescriptionTypeAdditional information
leaveTypeEligibilityId

integer

None.

leaveTypeId

integer

None.

roleId

integer

None.

appoveDays

integer

None.

isWorkdaysOnly

boolean

None.

isPayable

boolean

None.

dateCreated

date

None.

tenantId

integer

None.

isActive

boolean

None.

createdBy

integer

None.

leaveTypeName

string

None.

roleName

string

None.

isWorkdaysOnlyName

string

None.

isActiveName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "leaveTypeEligibilityId": 1,
  "leaveTypeId": 2,
  "roleId": 1,
  "appoveDays": 1,
  "isWorkdaysOnly": true,
  "isPayable": true,
  "dateCreated": "2024-11-24T08:48:14.6909104-08:00",
  "tenantId": 1,
  "isActive": true,
  "createdBy": 3,
  "leaveTypeName": "sample string 4",
  "roleName": "sample string 5",
  "isWorkdaysOnlyName": "sample string 6",
  "isActiveName": "sample string 7"
}

application/xml, text/xml

Sample:
<HR_LeaveTypeEligibilityVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <appoveDays>1</appoveDays>
  <createdBy>3</createdBy>
  <dateCreated>2024-11-24T08:48:14.6909104-08:00</dateCreated>
  <isActive>true</isActive>
  <isActiveName>sample string 7</isActiveName>
  <isPayable>true</isPayable>
  <isWorkdaysOnly>true</isWorkdaysOnly>
  <isWorkdaysOnlyName>sample string 6</isWorkdaysOnlyName>
  <leaveTypeEligibilityId>1</leaveTypeEligibilityId>
  <leaveTypeId>2</leaveTypeId>
  <leaveTypeName>sample string 4</leaveTypeName>
  <roleId>1</roleId>
  <roleName>sample string 5</roleName>
  <tenantId>1</tenantId>
</HR_LeaveTypeEligibilityVM>

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.