"SoftLayer_" prefix removed for readability.
Returns billing item in a given category code. Use this method to retrieve service billing items that you wish to cancel.
This service returns billing items of a specified category code. This service should be used to retrieve billing items that you wish to cancel. Some billing items can be canceled via SoftLayer_Security_Certificate_Request service.
In order to find billing items for cancellation, use SoftLayer_Product_Item_Category::getValidCancelableServiceItemCategories service to retrieve category codes that are eligible for cancellation.
Name | Type | Description |
---|---|---|
categoryCode | string | The category code of billing items you wish to retrieve. |
includeZeroRecurringFee | boolean | Indicates whether billing item with $0 recurring fee should be included or not |
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, boolean]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Item_Virtual_DedicatedHost/getServiceBillingItemsByCategory'