GET api/Deduction/{employeeNo}/available
Get a list of all payment pay elements available to an employee
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeNo |
Employee Number |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Pay Elements
Collection of stringResponse Formats
application/json, text/json
Sample:
[
{
"RecordID": 1141,
"PayElement": "Advance",
"StartDate": "2022-02-02T00:00:00",
"EndDate": "2022-02-03T00:00:00",
"AnnualAmount": 600.0,
"PeriodAmount": 50.0,
"Balance": null,
"Applied": false
},
{
"RecordID": 1140,
"PayElement": "DEDUCTIONELEM",
"StartDate": "2022-02-01T00:00:00",
"EndDate": "2022-02-05T00:00:00",
"AnnualAmount": 200.0,
"PeriodAmount": 16.66,
"Balance": null,
"Applied": false
}
]
application/xml, text/xml
Sample:
<ArrayOfDeductionDetail>
<DeductionDetail>
<AnnualAmount>200.0</AnnualAmount>
<Applied>false</Applied>
<Balance>null</Balance>
<EndDate>2022-02-05T00:00:00</EndDate>
<PayElement>DEDUCTIONELEM</PayElement>
<PeriodAmount>16.66</PeriodAmount>
<RecordID>1140</RecordID>
<StartDate>2022-02-01T00:00:00</StartDate>
</DeductionDetail>
<DeductionDetail>
<AnnualAmount>600.0</AnnualAmount>
<Applied>false</Applied>
<Balance>null</Balance>
<EndDate>2022-02-03T00:00:00</EndDate>
<PayElement>Advance</PayElement>
<PeriodAmount>50.0</PeriodAmount>
<RecordID>1141</RecordID>
<StartDate>2022-02-02T00:00:00</StartDate>
</DeductionDetail>
</ArrayOfDeductionDetail>