Controller: ResellerBandwidthhistory

API Controller /nodeworx/reseller/bandwidthhistory
Action Description
listBandwidth List the bandwidth history overview.
queryBandwidth Search for bandwidth history for a given reseller.
queryBandwidthDetails Search for reseller bandwidth details for a given period.

Action: listBandwidth (Added in version 4.8.0-393)

List the bandwidth history overview.

Example Output

array (
  'status' => 0,
  'payload' => 
  array (
    0 => 
    array (
      'periodstart' => '1335844800',
      'periodend' => '1338523199',
      'http' => 0,
      'ftp' => 0,
      'total' => 0,
    ),
    1 => 
    array (
      'periodstart' => '1333252800',
      'periodend' => '1335844799',
      'http' => 0,
      'ftp' => 0,
      'total' => 0,
    ),
    2 => 
    array (
      'periodstart' => '1330578000',
      'periodend' => '1333252799',
      'http' => 0,
      'ftp' => 0,
      'total' => 0,
    ),
  ),
)

Action: queryBandwidth (Added in version 4.8.0-393)

Search for bandwidth history for a given reseller.

Input Parameters

Name Type Notes Required?
nodeworx_id integer No

Action: queryBandwidthDetails (Added in version 4.9.0-426)

Search for reseller bandwidth details for a given period.

Input Parameters

Name Type Notes Required?
nodeworx_id integer No
period integer Yes