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": "2024-09-19T09:08:39.3210602-07:00",
  "amount": 1.0,
  "reason": "sample string 2",
  "tenantId": 3,
  "dateRegistered": "2024-09-19T09:08:39.3210602-07: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-09-19T09:08:39.3210602-07:00</dateRegistered>
  <deductionMonth>2024-09-19T09:08:39.3210602-07: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.