getObject


SoftLayer_Billing_Order::getObject

Retrieve a SoftLayer_Billing_Order record.

Description

getObject retrieves the SoftLayer_Billing_Order object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Order service. You can only retrieve orders that are assigned to your portal user’s account.

Parameters

None

Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the error “Unable to find object with id of {id}.” if the given initialization parameter has an invalid id field.

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Order/{SoftLayer_Billing_OrderID}/getObject'