Reports
getTerminatedUsers
API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- GETgetBusinessUserInfo
- GETgetUserTask
- GETgetUsersByCompanyName
- GETgetCompanies
- GETgetPaidEmployeesCountBasedOnDateRange
- GETgetPayPeriodDetails
- GETgetPayPeriod
- GETgetCompanyInfo
- GETgetCompanyLocationInfo
- GETgetActiveUsers
- GETgetTerminatedUsers
- GETgetDeactivatedUsers
- GETgetPayrollHistoryBasedOnPayPeriod
- GETgetPayrollHistoryBasedOnDateRange
- GETgetPayRun
- GETgetPaySchedule
- GETgetPayStub
- GETgetTransactionBasedOnReference
- GETgetTransactions
- GETgetTransactionsBasedOnName
- GETgetBusinessUserDetails
- GETgetStateW4FormFeilds
- GETgetPayrollJournalReport
- GETgetUser
- GETgetPayBeginDates
- GETgetStateRegistration
- GETgetIndividualPayrollHistory
- GET
- Webhooks
Reports
getTerminatedUsers
This Report gets you all the Information regarding the TerminatedUsers
GET
/
reports#getTerminatedUsers
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getTerminatedUsers' \
--header 'Content-Type: application/json' \
--data '{
"method": "getTerminatedUsers",
"companyId": "4c27f783-681a-4a7a-aaf2-03c719f5c9fc",
"workerType": "W2"
}'
{
"user": [
{
"user": "Nelson Mandor",
"userId": "842A1486-6947-4095-88E0-0FE8ADB8C266",
"companyId": "4C27F783-681A-4A7A-AAF2-03C719F5C9FC",
"status": {
"userStatus": "Terminate"
},
"firstName": "Nelson",
"lastName": "Mandor",
"middleName": null,
"personalEmail": "hhjj@mail.com",
"phoneNumber": "7788589652",
"kycStatus": "passed",
"jobTitle": "HR",
"dateOfJoin": "2023-05-29",
"email": "nelson789@mail.com",
"userWages": [
{
"userWorkerType": {
"workerType": "W2"
}
}
],
"userAddress": {
"address1": "663 Calle Tulipan",
"address2": null,
"city": "Thousand Oaks",
"state": "CA",
"zipcode": "91360",
"country": "US"
}
}
]
}
Body
application/json
Response
200 - application/json
The response is of type object
.
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getTerminatedUsers' \
--header 'Content-Type: application/json' \
--data '{
"method": "getTerminatedUsers",
"companyId": "4c27f783-681a-4a7a-aaf2-03c719f5c9fc",
"workerType": "W2"
}'
{
"user": [
{
"user": "Nelson Mandor",
"userId": "842A1486-6947-4095-88E0-0FE8ADB8C266",
"companyId": "4C27F783-681A-4A7A-AAF2-03C719F5C9FC",
"status": {
"userStatus": "Terminate"
},
"firstName": "Nelson",
"lastName": "Mandor",
"middleName": null,
"personalEmail": "hhjj@mail.com",
"phoneNumber": "7788589652",
"kycStatus": "passed",
"jobTitle": "HR",
"dateOfJoin": "2023-05-29",
"email": "nelson789@mail.com",
"userWages": [
{
"userWorkerType": {
"workerType": "W2"
}
}
],
"userAddress": {
"address1": "663 Calle Tulipan",
"address2": null,
"city": "Thousand Oaks",
"state": "CA",
"zipcode": "91360",
"country": "US"
}
}
]
}