GET
/
reports#getDeactivatedUsers
Authorization
Body
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getDeactivatedUsers' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getDeactivatedUsers",
  "companyId": "1b66dd5f-989e-4073-85af-9de16e0fb342",
  "workerType": "W2"
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "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"
          }
        }
      ]
    }
  }
}

Body

application/json
method
string
required
companyId
string
required
workerType
enum<string>
required
Available options:
W2,
1099-NEC

Response

200 - application/json
user
object[]
required