GET v1/on-demand-pay/export/deductions?companyCode={companyCode}&divisionCode={divisionCode}
Retrieve Deductions by Division
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
|
| divisionCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OnDemandPayDeductionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"code": "sample string 1",
"description": "sample string 2"
},
{
"code": "sample string 1",
"description": "sample string 2"
}
]
text/xml
Sample:
<ArrayOfOnDemandPayDeductionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models">
<OnDemandPayDeductionDTO>
<Code xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.Data.Models">sample string 1</Code>
<Description xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.Data.Models">sample string 2</Description>
</OnDemandPayDeductionDTO>
<OnDemandPayDeductionDTO>
<Code xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.Data.Models">sample string 1</Code>
<Description xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.Data.Models">sample string 2</Description>
</OnDemandPayDeductionDTO>
</ArrayOfOnDemandPayDeductionDTO>