PUT api/v1/hR_SalaryAdvance/{salaryAdvanceId}/salaryAdvanceId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
salaryAdvanceId

integer

Required

Body Parameters

HR_SalaryAdvanceVM
NameDescriptionTypeAdditional information
salaryAdvanceId

integer

None.

branchId

integer

None.

employeeId

integer

None.

deductionMonth

date

None.

amount

decimal number

None.

reason

string

None.

tenantId

integer

None.

dateRegistered

date

None.

approvalStatusId

integer

None.

createdBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "salaryAdvanceId": 1,
  "branchId": 1,
  "employeeId": 1,
  "deductionMonth": "2024-11-24T08:23:29.091282-08:00",
  "amount": 1.0,
  "reason": "sample string 2",
  "tenantId": 3,
  "dateRegistered": "2024-11-24T08:23:29.091282-08:00",
  "approvalStatusId": 1,
  "createdBy": 4
}

application/xml, text/xml

Sample:
<HR_SalaryAdvanceVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <amount>1</amount>
  <approvalStatusId>1</approvalStatusId>
  <branchId>1</branchId>
  <createdBy>4</createdBy>
  <dateRegistered>2024-11-24T08:23:29.091282-08:00</dateRegistered>
  <deductionMonth>2024-11-24T08:23:29.091282-08:00</deductionMonth>
  <employeeId>1</employeeId>
  <reason>sample string 2</reason>
  <salaryAdvanceId>1</salaryAdvanceId>
  <tenantId>3</tenantId>
</HR_SalaryAdvanceVM>

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.