getPublicBandwidthTotal


SoftLayer_Hardware_Server::getPublicBandwidthTotal

Retrieve total number of public bytes used by a server over time period specified.

Description

Retrieve the total number of bytes used by a server over a specified time period via the data warehouse tracking objects for this hardware.

Parameters

Name Type Description
startTime int The starting point to retrieve bandwidth data from, specified as a dateTime.
endTime int The end point to retrieve bandwidth data to, specified as a dateTime.

Required Headers

Optional Headers

  • None

Return Values

  • unsignedLong
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/{SoftLayer_Hardware_ServerID}/getPublicBandwidthTotal'