curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getDeactivatedUsers' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"method": "getDeactivatedUsers",
"companyId": "1b66dd5f-989e-4073-85af-9de16e0fb342",
"workerType": "W2"
}'
{
"user": [
{
"user": "pat cummins",
"userId": "609A13E9-CDC4-45A5-8407-B58500A244FE",
"companyId": "1B66DD5F-989E-4073-85AF-9DE16E0FB342",
"status": {
"userStatus": "Deactivate"
},
"firstName": "pat",
"lastName": "cummins",
"middleName": null,
"personalEmail": "vjhj@mail.com",
"phoneNumber": "7485963202",
"kycStatus": "passed",
"jobTitle": "QA",
"dateOfJoin": "2023-08-01",
"email": "pat999@mailsac.com",
"userWages": [
{
"userWorkerType": {
"workerType": "W2"
}
}
],
"userAddress": {
"address1": "777 Alameda Street",
"address2": null,
"city": "Los Angeles",
"state": "CA",
"zipcode": "90021",
"country": "US"
}
}
]
}
This Report gets you all the Information regarding the Deactivated Users
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getDeactivatedUsers' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"method": "getDeactivatedUsers",
"companyId": "1b66dd5f-989e-4073-85af-9de16e0fb342",
"workerType": "W2"
}'
{
"user": [
{
"user": "pat cummins",
"userId": "609A13E9-CDC4-45A5-8407-B58500A244FE",
"companyId": "1B66DD5F-989E-4073-85AF-9DE16E0FB342",
"status": {
"userStatus": "Deactivate"
},
"firstName": "pat",
"lastName": "cummins",
"middleName": null,
"personalEmail": "vjhj@mail.com",
"phoneNumber": "7485963202",
"kycStatus": "passed",
"jobTitle": "QA",
"dateOfJoin": "2023-08-01",
"email": "pat999@mailsac.com",
"userWages": [
{
"userWorkerType": {
"workerType": "W2"
}
}
],
"userAddress": {
"address1": "777 Alameda Street",
"address2": null,
"city": "Los Angeles",
"state": "CA",
"zipcode": "90021",
"country": "US"
}
}
]
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The response is of type object
.