GET api/Deductions?companyIds={companyIds}
RESTfull Get Method to return all employee deduction records for employees by company ids.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
companyIds | The company ids. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "DeductionCode": "sample string 1", "EmployeeId": 2, "CompanyCode": "sample string 3", "StatusCode": "sample string 4", "EmployeeDeductionPerPayrollAmount": 5.0, "EmployerDeductionPerPayrollAmount": 1.0, "EmployeeMaximumAnnualDeductionAmount": 1.0, "EmployerMaximumAnnualDeductionAmount": 1.0, "StartDate": "2024-12-26T13:15:01.8448769-06:00", "EndDate": "2024-12-26T13:15:01.8448769-06:00", "PayeeCode": "sample string 7", "Petitioner": "sample string 8", "CaseId": "sample string 9", "IsEmployerContributionCalculated": true }, { "DeductionCode": "sample string 1", "EmployeeId": 2, "CompanyCode": "sample string 3", "StatusCode": "sample string 4", "EmployeeDeductionPerPayrollAmount": 5.0, "EmployerDeductionPerPayrollAmount": 1.0, "EmployeeMaximumAnnualDeductionAmount": 1.0, "EmployerMaximumAnnualDeductionAmount": 1.0, "StartDate": "2024-12-26T13:15:01.8448769-06:00", "EndDate": "2024-12-26T13:15:01.8448769-06:00", "PayeeCode": "sample string 7", "Petitioner": "sample string 8", "CaseId": "sample string 9", "IsEmployerContributionCalculated": true }, { "DeductionCode": "sample string 1", "EmployeeId": 2, "CompanyCode": "sample string 3", "StatusCode": "sample string 4", "EmployeeDeductionPerPayrollAmount": 5.0, "EmployerDeductionPerPayrollAmount": 1.0, "EmployeeMaximumAnnualDeductionAmount": 1.0, "EmployerMaximumAnnualDeductionAmount": 1.0, "StartDate": "2024-12-26T13:15:01.8448769-06:00", "EndDate": "2024-12-26T13:15:01.8448769-06:00", "PayeeCode": "sample string 7", "Petitioner": "sample string 8", "CaseId": "sample string 9", "IsEmployerContributionCalculated": true } ]
application/xml, text/xml
Sample:
<ArrayOfDeduction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netchex.API.External.Areas.Deductions.Models.External"> <Deduction> <CaseId>sample string 9</CaseId> <CompanyCode>sample string 3</CompanyCode> <DeductionCode>sample string 1</DeductionCode> <EmployeeDeductionPerPayrollAmount>5</EmployeeDeductionPerPayrollAmount> <EmployeeId>2</EmployeeId> <EmployeeMaximumAnnualDeductionAmount>1</EmployeeMaximumAnnualDeductionAmount> <EmployerDeductionPerPayrollAmount>1</EmployerDeductionPerPayrollAmount> <EmployerMaximumAnnualDeductionAmount>1</EmployerMaximumAnnualDeductionAmount> <EndDate>2024-12-26T13:15:01.8448769-06:00</EndDate> <IsEmployerContributionCalculated>true</IsEmployerContributionCalculated> <PayeeCode>sample string 7</PayeeCode> <Petitioner>sample string 8</Petitioner> <StartDate>2024-12-26T13:15:01.8448769-06:00</StartDate> <StatusCode>sample string 4</StatusCode> </Deduction> <Deduction> <CaseId>sample string 9</CaseId> <CompanyCode>sample string 3</CompanyCode> <DeductionCode>sample string 1</DeductionCode> <EmployeeDeductionPerPayrollAmount>5</EmployeeDeductionPerPayrollAmount> <EmployeeId>2</EmployeeId> <EmployeeMaximumAnnualDeductionAmount>1</EmployeeMaximumAnnualDeductionAmount> <EmployerDeductionPerPayrollAmount>1</EmployerDeductionPerPayrollAmount> <EmployerMaximumAnnualDeductionAmount>1</EmployerMaximumAnnualDeductionAmount> <EndDate>2024-12-26T13:15:01.8448769-06:00</EndDate> <IsEmployerContributionCalculated>true</IsEmployerContributionCalculated> <PayeeCode>sample string 7</PayeeCode> <Petitioner>sample string 8</Petitioner> <StartDate>2024-12-26T13:15:01.8448769-06:00</StartDate> <StatusCode>sample string 4</StatusCode> </Deduction> <Deduction> <CaseId>sample string 9</CaseId> <CompanyCode>sample string 3</CompanyCode> <DeductionCode>sample string 1</DeductionCode> <EmployeeDeductionPerPayrollAmount>5</EmployeeDeductionPerPayrollAmount> <EmployeeId>2</EmployeeId> <EmployeeMaximumAnnualDeductionAmount>1</EmployeeMaximumAnnualDeductionAmount> <EmployerDeductionPerPayrollAmount>1</EmployerDeductionPerPayrollAmount> <EmployerMaximumAnnualDeductionAmount>1</EmployerMaximumAnnualDeductionAmount> <EndDate>2024-12-26T13:15:01.8448769-06:00</EndDate> <IsEmployerContributionCalculated>true</IsEmployerContributionCalculated> <PayeeCode>sample string 7</PayeeCode> <Petitioner>sample string 8</Petitioner> <StartDate>2024-12-26T13:15:01.8448769-06:00</StartDate> <StatusCode>sample string 4</StatusCode> </Deduction> </ArrayOfDeduction>