OK
curl -i -X POST \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/employee' \ -H 'Content-Type: application/json' \ -d '{ "description": "string", "employeeId": "string", "companyBenefitId": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "type": "Medical125", "hsaContributionLimit": "Single", "period": "string", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1 }'
{ "id": "string", "employeeId": "string", "companyBenefitId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "type": "Medical125", "hsaContributionLimit": "Single", "period": "Monthly", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1, "isExternal": true }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/employee?companyContributionAmountAbove=0.1&companyContributionAmountBelow=0.1&companyContributionPercentAbove=0.1&companyContributionPercentBelow=0.1&description=string&effective=2019-08-24&employeeContributionAmountAbove=0.1&employeeContributionAmountBelow=0.1&employeeContributionPercentAbove=0.1&employeeContributionPercentBelow=0.1&employeeId=string&hsaContributionLimit=Single&id=string&page=1&pageSize=10&period=Monthly&type=Medical125'
{ "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}/benefits/employee/{benefitId}'
{ "id": "string", "employeeId": "string", "companyBenefitId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "type": "Medical125", "hsaContributionLimit": "Single", "period": "Monthly", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1, "isExternal": true }
curl -i -X PATCH \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/employee/{benefitId}' \ -H 'Content-Type: application/json' \ -d '{ "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "period": "string", "hsaContributionLimit": "string", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1 }'
{ "id": "string", "employeeId": "string", "companyBenefitId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "type": "Medical125", "hsaContributionLimit": "Single", "period": "Monthly", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1, "isExternal": true }
curl -i -X DELETE \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/employee/{benefitId}'