Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get to know 10 users that used most licenses in last 13 dayslicense, use following URL

Code Block
languagejs
firstline1
linenumberstrue
GET /api/v1/report/users/license/highest-usage/json

...

Code Block
{
    "success": ${success},
    "msg": ${message},
    "data": [
        {          
            "un": ${userName},           
            "lus": ${usersWithLicensesCount}
        },
        ... (9 similar objects)
    ],
    "code": ${code},
    "totalCount": 10${totalCount}
}

where the response fields can be explained as follows:

Field
Type
Description
successbooleanIndicates that your API request was successfully processed.
msgstringError message returned on failure.
unstringUsername.
lusintegerNumber fo licenses used.
codeinteger

Error code if success equals false, null otherwise.

totalCountintegerTotal number of rows returned. Always Up to 10.

Example

Say you have feature 'super_feature'. To find out which users use this feature (in any version) the most, use:

...