POST api/PayrollAdjustment/CreateAdjustment

Request Information

URI Parameters

None.

Body Parameters

RequestPayrollAdjustmentCreate
NameDescriptionTypeAdditional information
SourcePayrollPeriodId

integer

None.

EmployeeId

integer

None.

ComponentId

integer

None.

Amount

decimal number

None.

Reason

string

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SourcePayrollPeriodId": 1,
  "EmployeeId": 2,
  "ComponentId": 1,
  "Amount": 3.0,
  "Reason": "sample string 4",
  "CreatedBy": 5
}

application/xml, text/xml

Sample:
<RequestPayrollAdjustmentCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom">
  <Amount>3</Amount>
  <ComponentId>1</ComponentId>
  <CreatedBy>5</CreatedBy>
  <EmployeeId>2</EmployeeId>
  <Reason>sample string 4</Reason>
  <SourcePayrollPeriodId>1</SourcePayrollPeriodId>
</RequestPayrollAdjustmentCreate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />