Some information on this page refers to License Statistics v5.7 9 or newer, which changed the API endpoint URL in order to maintain version integrity into the futureadded a new API endpoint for fetching license usage metrics about usage history for license server groups. If you are running a previous version of License Statistics, please refer the documentation for releases prior to v5.79. |
The Usage History endpoint delivers licene usage metrics specific to the Usage History report, allowing you to monitor statistics for license usage, during any period that usage was tracked.
...
where the fields have the same values as the ones explained in Obtaining information about usage history for feature, above.
Obtaining information about usage history for a license server Anchor lsApi lsApi
lsApi | |
lsApi |
You can easily fetch metrics about usage history for a given server by calling this HTTP request:
...
If any of the requests has invalid or missing parameters, HTTP 400 BAD REQUEST is returned.
Obtaining information about usage history for a license server group
You can easily fetch metrics for all features on a given license server group by sending the following HTTP request.
Code Block |
---|
GET /api/v1/report/license-server-group/${lsgid}/usage-history/${returnType}?sd=${startDate}&ed={endDate}&granularity=${granularity}$(additional parameters, as needed) |
where $ indicates a variable value that you can replace with a value that best suits your needs and the possible parameters can be explained as follows.
Parameter | Required | Type | Description |
---|---|---|---|
${lsgid} | Yes | integer | ID of the license server group. |
The remaining parameters are the same as in Obtaining information about usage history for a license server, above.