Versions Compared

Key

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

...

ParameterRequiredTypeDescription
featureIdsYesarrayArrays of feature ids in format: id1, id2, id3... for example fi=1,2,3,5
sdYesstringSee Usage History For Feature.
edYesstringSee Usage History For Feature.
granularityYesintegerSee Usage History For Feature.

Currently this report is returned only in json. There are plans to introduce csv, xls and pdf formats in future.

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.