GET
/
reports#getUser
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getUser' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getUser",
  "userId": "F89BA57D-FBCF-4DBF-921D-E133AB76245C",
  "companyId": "0BD1DCDE-64CF-440F-A552-9C4AA356BAAF"
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "user": [
        {
          "user": "Bishop  Vo",
          "userId": "F89BA57D-FBCF-4DBF-921D-E133AB76245C",
          "companyId": "0BD1DCDE-64CF-440F-A552-9C4AA356BAAF",
          "status": {
            "userStatus": "Active"
          },
          "WorkerType": {
            "WorkerType": "W2"
          },
          "firstName": "Bishop",
          "lastName": "Vo",
          "middleName": "",
          "personalEmail": null,
          "phoneNumber": "2631210000",
          "kycStatus": "passed",
          "jobTitle": "Manager",
          "dateOfJoin": "2023-01-01",
          "email": "bishop10@mailsac.com",
          "userWages": [
            {
              "WageRate": 111,
              "WageBasis": {
                "WageBasis": "Per Week"
              },
              "paymentMethod": {
                "PaymentMethod": "Direct Deposit"
              }
            },
            {
              "WageRate": 1000,
              "WageBasis": {
                "WageBasis": "Per Day"
              },
              "paymentMethod": {
                "PaymentMethod": "Direct Deposit"
              }
            }
          ],
          "userAddress": {
            "address1": "102 Fallsgrove Blvd",
            "address2": "",
            "city": "Rockville",
            "state": "MD",
            "zipcode": "20850-4713",
            "country": "US"
          }
        }
      ]
    }
  }
}

Body

application/json
method
string
required
userId
string
required
companyId
string
required

Response

200
application/json
user
object[]
required