OK
Encompass.Api (1.0)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/
Bodyapplication/jsonrequired
Enum"Medical125""Vision125""Dental125""Disability125""Accident125""Cancer125""CriticalIllness125""Hospital125""Life125""Pension401K"
- Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company' \
-H 'Content-Type: application/json' \
-d '{
"description": "string",
"effectiveStart": "2019-08-24",
"effectiveEnd": "2019-08-24",
"type": "Medical125",
"period": "Monthly",
"employeeContributionAmount": 0.1,
"employeeContributionPercent": 0.1,
"companyContributionAmount": 0.1,
"companyContributionPercent": 0.1
}'Response
application/json
{ "id": "string", "companyId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "type": "Medical125", "period": "Monthly", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1, "associatedEmployeeBenefits": 0 }
- Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company?id=string&description=string&period=Monthly&type=Medical125&effective=2019-08-24&employeeContributionAmountAbove=0.1&employeeContributionPercentAbove=0.1&companyContributionAmountAbove=0.1&companyContributionPercentAbove=0.1&employeeContributionAmountBelow=0.1&employeeContributionPercentBelow=0.1&companyContributionAmountBelow=0.1&companyContributionPercentBelow=0.1&page=1&pageSize=10'Response
application/json
{ "hasResources": true, "totalResources": 0, "totalPages": 0, "pageSize": 0, "currentPage": 0, "previousPage": 0, "nextPage": 0, "results": [ { … } ] }
- Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company/{benefitId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company/{benefitId}'Response
application/json
{ "id": "string", "companyId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "type": "Medical125", "period": "Monthly", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1, "associatedEmployeeBenefits": 0 }
- Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company/{benefitId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company/{benefitId}' \
-H 'Content-Type: application/json' \
-d '{
"description": "string",
"effectiveStart": "2019-08-24",
"effectiveEnd": "2019-08-24",
"employeeContributionAmount": 0.1,
"employeeContributionPercent": 0.1,
"companyContributionAmount": 0.1,
"companyContributionPercent": 0.1,
"period": "string"
}'Response
application/json
{ "id": "string", "companyId": "string", "source": "string", "description": "string", "effectiveStart": "2019-08-24", "effectiveEnd": "2019-08-24", "type": "Medical125", "period": "Monthly", "employeeContributionAmount": 0.1, "employeeContributionPercent": 0.1, "companyContributionAmount": 0.1, "companyContributionPercent": 0.1, "associatedEmployeeBenefits": 0 }
- Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company/{benefitId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/benefits/company/{benefitId}'