OK
Encompass.Api (1.0)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/
- Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees
- 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}/employees' \
-H 'Content-Type: application/json' \
-d '{
"firstName": "string",
"middleName": "string",
"lastName": "string",
"email": "string",
"ssn": "string",
"active": true,
"primaryWorkplaceId": "string",
"workplaces": [
"string"
],
"departmentId": "string",
"dateOfBirth": "2019-08-24",
"startDate": "2019-08-24",
"terminationDate": "2019-08-24",
"defaultPaymentMethod": "DirectDeposit",
"formW2ElectronicConsent": true,
"residence": {
"street1": "string",
"street2": "string",
"city": "string",
"zipcode": "string",
"state": "AL",
"country": "US"
},
"wage": {
"rate": 0.1,
"period": "Hourly",
"flsaOvertimeExemptionStatus": "NonExempt",
"supplementalTaxMethod": "Flat",
"fullTimeHours": 0.1
}
}'
Response
application/json
{ "id": "string", "companyId": "string", "code": "string", "firstName": "string", "middleName": "string", "lastName": "string", "email": "string", "ssnLastFour": "string", "ssnValidationStatus": "Pending", "active": true, "formW2ElectronicConsent": true, "dateOfBirth": "2019-08-24", "startDate": "2019-08-24", "terminationDate": "2019-08-24", "defaultPaymentMethod": "DirectDeposit", "defaultNetPaySplit": "string", "bankAccounts": [ "string" ], "primaryWorkplaceId": "string", "workplaces": [ { … } ], "department": { "id": "string", "name": "string" }, "residence": { "street1": "string", "street2": "string", "city": "string", "zipcode": "string", "state": "AL", "country": "US" }, "wage": { "rate": 0.1, "period": "Hourly", "flsaOvertimeExemptionStatus": "NonExempt", "supplementalTaxMethod": "Flat", "fullTimeHours": 0.1 }, "onboard": { "status": "Blocking", "blockingSteps": [ … ], "remainingSteps": [ … ], "ssn": [ … ], "paymentMethod": [ … ], "workplaces": [ … ], "employeeDetails": [ … ], "withholdings": [ … ], "companyDefinedAttributes": [ … ] } }
- Mock server
https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees
- 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}/employees?id=string&workplaceId=string&departmentId=string&state=AL&search=string&active=true&includeSearch=true&includeId=true&includeWorkplaceId=true&includeDepartmentId=true&includeState=true&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}/employees/{employeeId}
- 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}/employees/{employeeId}'
Response
application/json
{ "id": "string", "companyId": "string", "code": "string", "firstName": "string", "middleName": "string", "lastName": "string", "email": "string", "ssnLastFour": "string", "ssnValidationStatus": "Pending", "active": true, "formW2ElectronicConsent": true, "dateOfBirth": "2019-08-24", "startDate": "2019-08-24", "terminationDate": "2019-08-24", "defaultPaymentMethod": "DirectDeposit", "defaultNetPaySplit": "string", "bankAccounts": [ "string" ], "primaryWorkplaceId": "string", "workplaces": [ { … } ], "department": { "id": "string", "name": "string" }, "residence": { "street1": "string", "street2": "string", "city": "string", "zipcode": "string", "state": "AL", "country": "US" }, "wage": { "rate": 0.1, "period": "Hourly", "flsaOvertimeExemptionStatus": "NonExempt", "supplementalTaxMethod": "Flat", "fullTimeHours": 0.1 }, "onboard": { "status": "Blocking", "blockingSteps": [ … ], "remainingSteps": [ … ], "ssn": [ … ], "paymentMethod": [ … ], "workplaces": [ … ], "employeeDetails": [ … ], "withholdings": [ … ], "companyDefinedAttributes": [ … ] } }