Chapter 48: Controller: /nodeworx/reseller Up Part II: NodeWorx API Spec Chapter 50: Controller: /nodeworx/reseller/packages 

49 Controller: /nodeworx/reseller/bandwidthhistory

Action: fail
Added in version n/a
Description Magic function - test for failure mechanism.
Action: listBandwidth
Added in version 4.8.0-393
Description List the bandwidth history overview.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
0 =>
array (
’periodstart’ => ’1530417600’,
’periodend’ => ’1533095999’,
’http’ => 0,
’ftp’ => 0,
’total’ => 0,
),
1 =>
array (
’periodstart’ => ’1517461200’,
’periodend’ => ’1519880399’,
’http’ => 0,
’ftp’ => 0,
’total’ => 0,
),
2 =>
array (
’periodstart’ => ’1514782800’,
’periodend’ => ’1517461199’,
’http’ => 0,
’ftp’ => 0,
’total’ => 0,
),
),
)
Action: queryBandwidth
Added in version 4.8.0-393
Description Search for bandwidth history for a given reseller.
Input Parameters
Name Type Notes Required?
nodeworx_id integer No
Action: queryBandwidthDetails
Added in version 4.8.0-393
Description Search for reseller bandwidth details for a given period.
Input Parameters
Name Type Notes Required?
nodeworx_id integer No
period integer Yes
Action: reroute
Added in version n/a
Description Action to re-route from the current controller to a different one.
Input Parameters
Name Type Notes Required?
controller string Example Values
Index, Overview, Users, Lang, Themes, Apikey, Plugins, Twofactorauth, Notice, Siteworx, Shell, Packages, Backup, Import, Simplescripts, Reseller, ResellerPackages, ResellerBandwidthhistory, Http, Ftp, Sshd, MailMta, MailSmtp, MailSmtp2, MailSend, MailMda, MailPop3, MailSpop3, MailImap, MailSimap, MailSpam, MailVirus, MailQueue, Mysql, MysqlRemote, MysqlPhpmyadmin, Dns, DnsZone, DnsRecord, DnsSync, Nfs, NfsExport, NfsMount, Health, Cron, Firewall, Ssl, Logs, Settings, Updates, ...
Yes
Action: win
Added in version n/a
Description Magic function - test for testing success mechanism.
 Chapter 48: Controller: /nodeworx/reseller Up Part II: NodeWorx API Spec Chapter 50: Controller: /nodeworx/reseller/packages 

(C) 2018 by InterWorx LLC