OK
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 } }'
{ "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" }, "onboard": { "status": "Blocking", "blockingSteps": [ … ], "remainingSteps": [ … ], "ssn": [ … ], "paymentMethod": [ … ], "workplaces": [ … ], "employeeDetails": [ … ], "withholdings": [ … ] } }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees?active=true&id=string&page=1&pageSize=10'
{ "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}/employees/{employeeId}'
{ "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" }, "onboard": { "status": "Blocking", "blockingSteps": [ … ], "remainingSteps": [ … ], "ssn": [ … ], "paymentMethod": [ … ], "workplaces": [ … ], "employeeDetails": [ … ], "withholdings": [ … ] } }
curl -i -X PATCH \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}' \ -H 'Content-Type: application/json' \ -d '{ "firstName": "string", "middleName": "string", "lastName": "string", "email": "string", "ssn": "string", "defaultNetPaySplit": "string", "dateOfBirth": "2019-08-24", "startDate": "2019-08-24", "terminationDate": "2019-08-24", "defaultPaymentMethod": "string", "departmentId": "string", "primaryWorkplaceId": "string", "workplaces": [ "string" ], "formW2ElectronicConsent": true, "active": 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 } }'
{ "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" }, "onboard": { "status": "Blocking", "blockingSteps": [ … ], "remainingSteps": [ … ], "ssn": [ … ], "paymentMethod": [ … ], "workplaces": [ … ], "employeeDetails": [ … ], "withholdings": [ … ] } }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/paystubs/{payrollId}'
{ "payroll": { "payrollId": "string", "payday": "2019-08-24", "periodStart": "2019-08-24", "periodEnd": "2019-08-24", "voidedPayrollId": "string", "voidedBy": "string" }, "company": { "legalName": "string", "tradeName": "string", "phone": "string", "address": { … } }, "employee": { "firstName": "string", "middleName": "string", "lastName": "string", "ssnLastFour": "string", "residence": { … } }, "timeOffBalance": { "ptoBalanceHours": 0.1, "sickBalanceHours": 0.1, "stateCovidSickBalanceHours": 0.1 }, "summary": { "netPay": 0.1, "netPayYtd": 0.1, "earnings": 0.1, "earningsYtd": 0.1, "reimbursements": 0.1, "reimbursementsYtd": 0.1, "postTaxDeductions": 0.1, "postTaxDeductionsYtd": 0.1, "employeeBenefitContributions": 0.1, "employeeBenefitContributionsYtd": 0.1, "companyBenefitContributions": 0.1, "companyBenefitContributionsYtd": 0.1, "employeeTaxes": 0.1, "employeeTaxesYtd": 0.1, "companyTaxes": 0.1, "companyTaxesYtd": 0.1 }, "earnings": [ { … } ], "reimbursements": [ { … } ], "postTaxDeductions": [ { … } ], "employeeBenefitContributions": [ { … } ], "companyBenefitContributions": [ { … } ], "employeeTaxes": [ { … } ], "companyTaxes": [ { … } ] }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/paystubs?cursor=string'
{ "previousPage": "string", "nextPage": "string", "results": [ { … } ] }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/paystubs/{payrollId}/download'
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/forms?cursor=string'
{ "previousPage": "string", "nextPage": "string", "results": [ { … } ] }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/forms/{formId}'
{ "id": "string", "description": "string", "link": "string", "jurisdictionName": "string", "revisionDate": "2019-08-24", "parameters": [ { … } ], "signatureConfirmationText": "string" }
curl -i -X POST \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/forms/{formId}' \ -H 'Content-Type: application/json' \ -d '{ "parameters": [ { "name": "string", "value": "string" } ] }'
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/company_defined_attributes'
[ { "name": "string", "description": "string", "label": "string", "value": "string", "defaultValue": "string", "effectiveStart": "2019-08-24", "effectiveStartRequired": true, "type": "String", "options": [ … ] } ]
curl -i -X PATCH \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/company_defined_attributes' \ -H 'Content-Type: application/json' \ -d '[ { "name": "string", "value": "string", "effectiveStart": "2019-08-24" } ]'
[ { "name": "string", "description": "string", "label": "string", "value": "string", "defaultValue": "string", "effectiveStart": "2019-08-24", "effectiveStartRequired": true, "type": "String", "options": [ … ] } ]
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/reciprocity_elections?cursor=string'
{ "previousPage": "string", "nextPage": "string", "results": [ { … } ] }
curl -i -X PATCH \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/reciprocity_elections?cursor=string' \ -H 'Content-Type: application/json' \ -d '[ { "jurisdiction": "string", "optIn": true, "effectiveStart": "2019-08-24" } ]'
{ "previousPage": "string", "nextPage": "string", "results": [ { … } ] }
curl -i -X POST \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/bank_accounts' \ -H 'Content-Type: application/json' \ -d '{ "accountNumber": "string", "routingNumber": "string", "institutionName": "string", "subtype": "Checking" }'
{ "id": "string", "companyId": "string", "employeeId": "string", "contractorId": "string", "status": "ValidationPending", "disabledReason": "ValidationFailed", "rawBankAccount": { "institutionName": "string", "accountLastFour": "string", "routingNumber": "string", "subtype": "Checking" }, "plaidBankAccount": { "name": "string", "plaidPublicToken": "string", "institutionName": "string", "accountLastFour": "string", "subtype": "Checking", "verified": true, "microdepositVerificationStatus": "string" } }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/bank_accounts?cursor=string'
{ "previousPage": "string", "nextPage": "string", "results": [ { … } ] }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/bank_accounts/{bankAccountId}'
{ "id": "string", "companyId": "string", "employeeId": "string", "contractorId": "string", "status": "ValidationPending", "disabledReason": "ValidationFailed", "rawBankAccount": { "institutionName": "string", "accountLastFour": "string", "routingNumber": "string", "subtype": "Checking" }, "plaidBankAccount": { "name": "string", "plaidPublicToken": "string", "institutionName": "string", "accountLastFour": "string", "subtype": "Checking", "verified": true, "microdepositVerificationStatus": "string" } }
curl -i -X PATCH \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/bank_accounts/{bankAccountId}' \ -H 'Content-Type: application/json' \ -d '{ "accountNumber": "string", "routingNumber": "string", "institutionName": "string", "subtype": "string" }'
{ "id": "string", "companyId": "string", "employeeId": "string", "contractorId": "string", "status": "ValidationPending", "disabledReason": "ValidationFailed", "rawBankAccount": { "institutionName": "string", "accountLastFour": "string", "routingNumber": "string", "subtype": "Checking" }, "plaidBankAccount": { "name": "string", "plaidPublicToken": "string", "institutionName": "string", "accountLastFour": "string", "subtype": "Checking", "verified": true, "microdepositVerificationStatus": "string" } }
curl -i -X DELETE \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/bank_accounts/{bankAccountId}'
curl -i -X POST \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/net_pay_splits' \ -H 'Content-Type: application/json' \ -d '{ "isDefault": true, "splits": [ { "bankAccountId": "string", "priority": 0, "amount": 0.1, "percent": 0.1 } ] }'
{ "id": "string", "employeeId": "string", "contractorId": "string", "deactivatedAt": "2019-08-24T14:15:22Z", "deactivatedReason": "string", "isDefault": true, "splits": [ { … } ] }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/net_pay_splits?cursor=string'
{ "previousPage": "string", "nextPage": "string", "results": [ { … } ] }
curl -i -X GET \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/net_pay_splits/{netPaySplitId}'
{ "id": "string", "employeeId": "string", "contractorId": "string", "deactivatedAt": "2019-08-24T14:15:22Z", "deactivatedReason": "string", "isDefault": true, "splits": [ { … } ] }
curl -i -X POST \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/onboard/ssn_setup'
curl -i -X POST \ 'https://docs.encompassfi.com/_mock/reference/sandbox/companies/{companyId}/employees/{employeeId}/onboard/withholdings_setup'