POST api/v1/hR_SalaryAdvance

Request Information

URI Parameters

None.

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": "2025-11-07T03:50:19.740694-08:00",
  "amount": 1.0,
  "reason": "sample string 2",
  "tenantId": 3,
  "dateRegistered": "2025-11-07T03:50:19.740694-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>2025-11-07T03:50:19.740694-08:00</dateRegistered>
  <deductionMonth>2025-11-07T03:50:19.740694-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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HR_SalaryAdvanceVM'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.