adHocDefinition

Extends: reportDefinition
Namespace: (default namespace)
XML Schema: api.xsd

Adhoc definition contains properties that describe adhoc report.

JSON Example


 {
  "properties": [
   {
    "name":"TraffIn",
    "aggregationMode":"P95"
   },
   {
    "name":"TraffIn",
    "aggregationMode":"Percent Growth",
    "growthAggMode":"P95",
    "growthAggPeriodDateUnits":"day",
    "growthAggPeriodDateValue":"1",
    "growthAlgoTypes":"Linear"
   }...
  ],
  "name":"mlreport_adhoc",
  "reportType":"AdHoc",
  "objectType":"Interfaces",
  "group":"",
  "subGroup":"",
  "query":"",
  "filter":"",
  "objectKeys":[{"keyPairs":[{"name":"Node","value":"ashbbprj01.rd.as"},{"name":"Name","value":"xe-0/2/0.0"}]}],
  "timeRangeUnits":null,
  "timeRangeValue":null,
  "timeFrom":"2011-08-12 08:00:00",
  "timeTo":"2011-08-15 08:00:00",
  "hasCumulativeSum":false,
  "aggregateAfterGroupBy":false,
  "cumulativeGroupBy":null,
  "aggPeriodUnits":null,
  "aggPeriodValue":"0"
 }

JSON

property type description
properties array of properties (adHocProperty) One property or several properties specific to Adhoc reports.
aggPeriodUnits aggPeriodUnits (string) Adhoc aggregation period units.
Examples: hour, day, week, month or year
aggPeriodValue aggPeriodValue (int) Adhoc aggregation period value