PUT api/v1/hR_LeaveType/{leaveTypeId}/leaveTypeId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
leaveTypeId

integer

Required

Body Parameters

HR_LeaveTypeVM
NameDescriptionTypeAdditional information
leaveTypeId

integer

None.

leaveTypeName

string

None.

acronym

string

None.

dateCreated

date

None.

tenantId

integer

None.

isActive

boolean

None.

isPaidTimeOff

boolean

None.

createdBy

integer

None.

isActiveName

string

None.

isPaidTimeOffName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "leaveTypeId": 1,
  "leaveTypeName": "sample string 2",
  "acronym": "sample string 3",
  "dateCreated": "2024-11-24T08:58:32.7168606-08:00",
  "tenantId": 1,
  "isActive": true,
  "isPaidTimeOff": true,
  "createdBy": 4,
  "isActiveName": "sample string 5",
  "isPaidTimeOffName": "sample string 6"
}

application/xml, text/xml

Sample:
<HR_LeaveTypeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <acronym>sample string 3</acronym>
  <createdBy>4</createdBy>
  <dateCreated>2024-11-24T08:58:32.7168606-08:00</dateCreated>
  <isActive>true</isActive>
  <isActiveName>sample string 5</isActiveName>
  <isPaidTimeOff>true</isPaidTimeOff>
  <isPaidTimeOffName>sample string 6</isPaidTimeOffName>
  <leaveTypeId>1</leaveTypeId>
  <leaveTypeName>sample string 2</leaveTypeName>
  <tenantId>1</tenantId>
</HR_LeaveTypeVM>

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.