Versions Compared

Key

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

...

If your request is successful, you should see a response similar to the following:

 

 

 

Code Block
languagejs
{
  "success": ${success},
  "msg": ${message},
  "data": [
    {
      "fid": ${featureId},
      "lud": ${date},
      "lumin": ${minUsed},
      "lua": ${averageUsed},
      "lumax": ${maxUsed},
      "lbmin": ${minBorrowed},
      "lbmax": ${maxBorrowed},
      "ldtc": ${denials},
      "hu": ${hoursUsed},
      "ft": ${total}
    }
  ],
  "code": ${code},
  "totalCount": ${count}
}

...

FieldTypeDescription
successbooleanThis field indicates that the API request was successfully processed.
msgstringError message returned on failure.
fidintegerFeature Id
ludstringFor Granularity hour - Datetime, for rest Date, which indicates point int time that data are about.
luminintegerMinimal licenses used count for given date.
luafloatAverage licenses used count for given date.
lumaxintegerMaximum licenses used count for given date.
lbminintegerMinimal licenses borrowed count for given date.
lbmaxintegerMaximum licenses borrowed count for given date.

ldtc

integerDenials count.
hufloatHours used.
ftintegerTotal.
codeintegerError code if success == false, null otherwise.
totalCountintegerTotal number of rows returned.

 

 

...

Usage History for Feature Comparison

If you want to obtain information about usage history for feature comparison, you have to use following URL request template.

Code Block
languagejs
GET /api/v1/report/usage-history/comparison/json?fi=${featureIds}&sd=${startDate}&ed=${endDate}&granularity=${granularity}