"SoftLayer_" prefix removed for readability.
Creates a cancellation request.
This method creates a service cancellation request.
You need to have “Cancel Services” privilege to create a cancellation request. You have to provide at least one SoftLayer_Billing_Item_Cancellation_Request_Item in the “items” property. Make sure billing item’s category code belongs to the cancelable product codes. You can retrieve the cancelable product category by the SoftLayer_Product_Item_Category::getValidCancelableServiceItemCategories service.
Name | Type | Description |
---|---|---|
templateObject | SoftLayer_Billing_Item_Cancellation_Request | The SoftLayer_Billing_Item_Cancellation_Request object that you wish to create. |
Throw the exception “A cancellation request should have at least one billing item to cancel.” if no cancellation item is proviced.