"SoftLayer_" prefix removed for readability.
Retrieve the total bandwidth used within a given time frame.
| Name | Type | Description |
|---|---|---|
| startDateTime | dateTime | The starting date of the range of data you wish to collect. |
| endDateTime | dateTime | The ending date of the range of data you wish to collect. |
| direction | string | The direction of data flow that you wish to retrieve totals for, either “in”, “out”, or “both”. |
| type | string | The type type of the bandwidth data you wish to retrieve totals for, either “public” or “private”, or “both”. |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Metric_Tracking_Object/{SoftLayer_Metric_Tracking_ObjectID}/getBandwidthTotal'