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_1},
      "lud": ${date},
      "lumin": ${minUsed},
      "lua": ${averageUsed},
      "lumax": ${maxUsed},
      "lbmin": ${minBorrowed},
      "lbmax": ${maxBorrowed},
      "ldtc": ${denials},
      "hu": ${hoursUsed},
      "ft": ${total}
    },
	{
      "fid": ${featureId_2},
      "lud": ${date},
      "lumin": ${minUsed},
      "lua": ${averageUsed},
      "lumax": ${maxUsed},
      "lbmin": ${minBorrowed},
      "lbmax": ${maxBorrowed},
      "ldtc": ${denials},
      "hu": ${hoursUsed},
      "ft": ${total}
    }
  ],
  "code": ${code},
  "totalCount": ${count}
}

The meaning of all fields are the same as in Usage History For Feature.


Usage History for License Server

If you want to obtain information about usage history for all visible features for given server, you have to use following URL request template.

 

Code Block
languagejs
GET /api/v1/report/usage-history/license-server/${lsid}/${returnType}?sd=${startDate}&ed={endDate}&granularity=${granularity}$(additional parameters, as needed)