GET
/
api
/
company
/
get-active-user-count
curl --request GET \
  --url https://app.replay.sale/api/company/get-active-user-count \
  --header 'Authorization: Bearer <token>'
{
  "totalCounts": {
    "total": 4,
    "reps": 2,
    "managers": 1,
    "lms": 1
  },
  "mainCompany": {
    "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "companyName": "<string>",
    "counts": {
      "total": 1,
      "reps": 1,
      "managers": 1,
      "lms": 1
    },
    "users": [
      {
        "firstName": "<string>",
        "lastName": "<string>",
        "role": "Rep",
        "lastLoggedIn": "2023-11-07T05:31:56Z"
      }
    ]
  },
  "childCompanies": [
    {
      "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "companyName": "<string>",
      "counts": {
        "total": 1,
        "reps": 1,
        "managers": 1,
        "lms": 1
      },
      "users": [
        {
          "firstName": "<string>",
          "lastName": "<string>",
          "role": "Rep",
          "lastLoggedIn": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successfully retrieved active user details

The response is of type object.

GET
/
api
/
company
/
get-active-user-count
curl --request GET \
  --url https://app.replay.sale/api/company/get-active-user-count \
  --header 'Authorization: Bearer <token>'
{
  "totalCounts": {
    "total": 4,
    "reps": 2,
    "managers": 1,
    "lms": 1
  },
  "mainCompany": {
    "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "companyName": "<string>",
    "counts": {
      "total": 1,
      "reps": 1,
      "managers": 1,
      "lms": 1
    },
    "users": [
      {
        "firstName": "<string>",
        "lastName": "<string>",
        "role": "Rep",
        "lastLoggedIn": "2023-11-07T05:31:56Z"
      }
    ]
  },
  "childCompanies": [
    {
      "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "companyName": "<string>",
      "counts": {
        "total": 1,
        "reps": 1,
        "managers": 1,
        "lms": 1
      },
      "users": [
        {
          "firstName": "<string>",
          "lastName": "<string>",
          "role": "Rep",
          "lastLoggedIn": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successfully retrieved active user details

The response is of type object.