GET
/
reports#getActiveUsers
getActiveUsers
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getActiveUsers' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getActiveUsers",
  "companyId": "01A33366-EE1C-4E13-BCB9-E482AC3A4545",
  "workerType": "W2"
}'
{
  "user": [
    {
      "user": "Kim  James",
      "userId": "4E80FBFB-7FFC-406F-B0E0-8F78CA7A29C8",
      "companyId": "01A33366-EE1C-4E13-BCB9-E482AC3A4545",
      "status": {
        "userStatus": "Active"
      },
      "WorkerType": {
        "WorkerType": "W2"
      },
      "firstName": "Kim",
      "lastName": "James",
      "middleName": "",
      "phoneNumber": "9889890089",
      "kycStatus": "passed",
      "jobTitle": "Manager",
      "dateOfJoin": "2000-01-01",
      "email": "kim000@mailsac.com",
      "userWages": [
        {
          "WageRate": 80,
          "WageBasis": {
            "WageBasis": "Per Week"
          },
          "paymentMethod": {
            "PaymentMethod": "Direct Deposit"
          }
        }
      ],
      "userAddress": {
        "address1": "650 Capitol Mall",
        "address2": "",
        "city": "Sacramento",
        "state": "CA",
        "zipcode": "95814-4708",
        "country": "US"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Response

200 - application/json

The response is of type object.