PUT api/v1/hR_Contract/{contractId}/contractId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contractId

integer

Required

Body Parameters

HR_ContractVM
NameDescriptionTypeAdditional information
contractId

integer

None.

employeeId

integer

None.

contractHoursId

integer

None.

isContractRenewable

boolean

None.

contractEndDate

date

None.

dateCreated

date

None.

tenantId

integer

None.

createdBy

integer

None.

resumptionDate

date

None.

days

Collection of WorkDays

None.

gradeId

integer

None.

gradeLevelId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "contractId": 1,
  "employeeId": 1,
  "contractHoursId": 1,
  "isContractRenewable": true,
  "contractEndDate": "2024-11-24T08:58:13.6697552-08:00",
  "dateCreated": "2024-11-24T08:58:13.6697552-08:00",
  "tenantId": 1,
  "createdBy": 1,
  "resumptionDate": "2024-11-24T08:58:13.6697552-08:00",
  "days": [
    {
      "key": "sample string 1",
      "value": 2
    },
    {
      "key": "sample string 1",
      "value": 2
    }
  ],
  "gradeId": 1,
  "gradeLevelId": 1
}

application/xml, text/xml

Sample:
<HR_ContractVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <contractEndDate>2024-11-24T08:58:13.6697552-08:00</contractEndDate>
  <contractHoursId>1</contractHoursId>
  <contractId>1</contractId>
  <createdBy>1</createdBy>
  <dateCreated>2024-11-24T08:58:13.6697552-08:00</dateCreated>
  <days>
    <WorkDays>
      <key>sample string 1</key>
      <value>2</value>
    </WorkDays>
    <WorkDays>
      <key>sample string 1</key>
      <value>2</value>
    </WorkDays>
  </days>
  <employeeId>1</employeeId>
  <gradeId>1</gradeId>
  <gradeLevelId>1</gradeLevelId>
  <isContractRenewable>true</isContractRenewable>
  <resumptionDate>2024-11-24T08:58:13.6697552-08:00</resumptionDate>
  <tenantId>1</tenantId>
</HR_ContractVM>

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.