Some information on this page refers to License Statistics v5.7 or newer, which changed the API endpoint URL in order to maintain version integrity into the future. If you are running a previous version of License Statistics, please refer the documentation for previous versions.
|
License Statistics API allows you to generate data from the Usage History report. This report shows statistics for license usage, during any period that usage was tracked.
...
Code Block |
---|
language | js |
---|
firstline | 1 |
---|
linenumbers | true |
---|
|
GET /api/v1/report/feature/${featureId}/usage-history/${returnType}?sd=${startDate}&ed=${endDate}&granularity=${granularity}$(additional parameters, as needed) |
There is also another possible endpoint to do this, however it is deprecated.
Code Block |
---|
language | js |
---|
firstline | 1 |
---|
linenumbers | true |
---|
|
GET /api/v1/report/usage-history/feature/${featureId}/${returnType}?sd=${startDate}&ed=${endDate}&granularity=${granularity}$(additional parameters, as needed) |
...