Versions Compared

Key

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

...

Some information on this page refers to License Statistics v5.9 12 or newer, which added a new changed the API endpoint parameters used for fetching license usage metrics about usage history comparison for license server groupsfeatures. If you are running a previous version of License Statistics, please refer to the documentation for releases prior to v5.9previous versions.

...

Code Block
languagejs
firstline1
GET /api/v1/report/feature/usage-history/comparison/${returnType}?fi=ucompi}/report/${featureIdsreturnType}&?sd=${startDate}&ed=${endDate}&granularity=${granularity}

...

Arrays of feature IDs in the following format: id1, id2, id3... for example fi=1,2,3,5
ParameterRequiredTypeDescription
${ucompi}YesintegerFeature Comparison ID.
${returnType}YesstringSpecifies the format in which usage history comparison data will be returned. The format can be one of the following: json, csv, xlsx, or pdf.
featureIdsYesarray.
sdYesstringSpecifies the start date for which the report will be generated in YYYY-MM-DD format; for example, 2017-05-20.
edYesstringSpecifies the end date for which the report will be generated in YYYY-MM-DD format; for example, 2017-05-27.
granularityYesstring

Specifies granularity of the returned data, which can be one of the following:

  • QUARTER or 2
  • MONTH or 3
  • WEEK or 4
  • DAY or 5
  • HOUR or 6

...