...
To get to know 10 users that used most licenses in last 13 dayslicense, use following URL
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
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 |
---|---|---|
success | boolean | Indicates that your API request was successfully processed. |
msg | string | Error message returned on failure. |
un | string | Username. |
lus | integer | Number fo licenses used. |
code | integer | Error code if success equals false, null otherwise. |
totalCount | integer | Total 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:
...