POST api/EmployeeFixedComponent/AddFixedComponent

Request Information

URI Parameters

None.

Body Parameters

RequestEmployeeFixedComponentCreate
NameDescriptionTypeAdditional information
EmployeePayrollProfileId

integer

None.

ComponentId

integer

None.

AmountOrRate

decimal number

None.

CalculationMethod

string

None.

EffectiveFrom

string

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeePayrollProfileId": 1,
  "ComponentId": 2,
  "AmountOrRate": 3.0,
  "CalculationMethod": "sample string 4",
  "EffectiveFrom": "sample string 5",
  "CreatedBy": 6
}

application/xml, text/xml

Sample:
<RequestEmployeeFixedComponentCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom">
  <AmountOrRate>3</AmountOrRate>
  <CalculationMethod>sample string 4</CalculationMethod>
  <ComponentId>2</ComponentId>
  <CreatedBy>6</CreatedBy>
  <EffectiveFrom>sample string 5</EffectiveFrom>
  <EmployeePayrollProfileId>1</EmployeePayrollProfileId>
</RequestEmployeeFixedComponentCreate>

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/" />