OK
curl -i -X POST \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/post_tax_deductions/miscellaneous' \ -H 'Content-Type: application/json' \ -d '{ "employeeId": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "amount": 0.1, "percent": 0.1, "annualLimitAmount": 0.1, "totalLimitAmount": 0.1 }'
{ "id": "string", "employeeId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "amount": 0.1, "percent": 0.1, "annualLimitAmount": 0.1, "totalLimitAmount": 0.1, "isExternal": true }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/post_tax_deductions/miscellaneous?amountAbove=0.1&amountBelow=0.1&annualAbove=0.1&annualBelow=0.1&description=string&effective=2019-08-24&employeeId=string&id=string&page=1&pageSize=10&percentAbove=0.1&percentBelow=0.1&totalAbove=0.1&totalBelow=0.1'
{ "hasResources": true, "totalResources": 0, "totalPages": 0, "pageSize": 0, "currentPage": 0, "previousPage": 0, "nextPage": 0, "results": [ { … } ] }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/post_tax_deductions/miscellaneous/{deductionId}'
{ "id": "string", "employeeId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "amount": 0.1, "percent": 0.1, "annualLimitAmount": 0.1, "totalLimitAmount": 0.1, "isExternal": true }
curl -i -X PATCH \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/post_tax_deductions/miscellaneous/{deductionId}' \ -H 'Content-Type: application/json' \ -d '{ "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "amount": 0.1, "percent": 0.1, "annualLimitAmount": 0.1, "totalLimitAmount": 0.1 }'
{ "id": "string", "employeeId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "amount": 0.1, "percent": 0.1, "annualLimitAmount": 0.1, "totalLimitAmount": 0.1, "isExternal": true }
curl -i -X DELETE \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/post_tax_deductions/miscellaneous/{deductionId}'