Versions Compared

Key

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

The Current Feature Usage API delivers metrics that License Statistics collects from the monitored license server. This endpoint is used to fetch endpoint delivers license usage metrics specific to the Current Feature Usage, allowing you to monitor statistics for the currently selected feature on the license server of your choosing.

...

You can easily fetch metrics about current feature usage for a given feature by calling this sending the following HTTP GET request:.

Code Block
languagejs
firstline1
linenumberstrue
GET /api/v1/report/feature/${featureId}/current-usage/${returnType}

...

Field
Type
Description

uid

integer

User ID.

un

string

Username.

hn

string

Hostname.

lus

integer

Total number of licenses used by user on host.

lco

string

Date when license was checked out. The date is in YYYY-MM-DD HH:MM format; for example, 2017-05-20 10:20.

lbe

string

Borrow expiration date. The date is in YYYY-MM-DD HH:MM format; for example, 2017-05-20 10:20.

Returns an empty string if does not apply.

uil

boolean

Indicates whether user details have been imported from an LDAP directory. Note that you cannot filter and order data by this field.

msg

string

Error message returned on failure.

success

boolean

Indicates that whether your API request was successfully processed. 

codeinteger

Error code for an unsuccessful request.

totalCountinteger

Total number of all matching results.

...

You can easily fetch metrics about feature usage during a given day by calling this sending the following HTTP GET request:

Code Block
languagejs
firstline1linenumberstrue
GET /api/v1/report/feature/${featureId}/usage/chart/json?day=${day}

...