36003

How to cancel snapshot space only?

Question:

For the cancel operation, we are canceling a billing item of purchased product.

But for the cancellation of snapshot space, (not for whole storage) it returns error when we try it with same way.

How can I cancel billing item for snapshot space?

Answer1:

Try the following Rest request:

https://$user:$apiKey@api.softlayer.com/rest/v3.1/SoftLayer_Billing_Item_Cancellation_Request/createObject.json Method: Post { "parameters":[ { "complexType":"SoftLayer_Billing_Item_Cancellation_Request", "accountId":123123, "notes":"notes test", "items":[ { "complexType":"SoftLayer_Billing_Item_Cancellation_Request_Item", "billingItemId":101726027, "immediateCancellationFlag":true } ] } ] }

References:

<ul><li><a href="http://sldn.softlayer.com/reference/services/SoftLayer_Billing_Item_Cancellation_Request/createObject" rel="nofollow">SoftLayer_Billing_Item_Cancellation_Request::createObject</a></li> </ul>

Recommend

  • Cancelling a Windows service installation/Uninstallation with the Windows Installer causes service t
  • Android: Cancel an Alarm Set From Another Activity
  • By reversing the polarity of a time domain signal, can I cancel the source audio?
  • Magento, i need define first product image as thumbnail
  • Error : API response not well-formed (json error code: 4
  • Google Streetview: Conversion between FOV and Zoom
  • How do I restrict a Google Geocode query to multiple countries?
  • Calling makeViewWithIdentifier:owner: causes ARC to re-create ivar
  • How to get or calculate size of Azure File/Share or Service
  • Where to save the local DB created for iphone app?
  • get passwords from chrome
  • Does the Azure table storage API cache results?
  • Django model inheritance, filtering models
  • Authentication in Play! and RestEasy
  • jQuery ready not fired after rails link_to is clicked
  • Bad request using file_get_contents for PUT request in PHP
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • Splitting given String into two variables - php
  • RectangularRangeIndicator format like triangular using dojo
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • Cross-Platform Protobuf Serialization
  • Fill an image in a square container while keeping aspect ratio
  • Symfony2: How to get request parameter
  • Rearranging Cells in UITableView Bug & Saving Changes
  • 0x202A in filename: Why?
  • Matrix multiplication with MKL
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Revoking OAuth Access Token Results in 404 Not Found
  • log4net write single file for each call to log.info
  • Getting error when using KSoap library to consume .NET web services
  • Hits per day in Google Big Query
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • How does Linux kernel interrupt the application?
  • Linking SubReports Without LinkChild/LinkMaster
  • Authorize attributes not working in MVC 4
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Busy indicator not showing up in wpf window [duplicate]
  • Reading document lines to the user (python)
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF