"SoftLayer_" prefix removed for readability.
Obtain an order container for a given template object
Obtain an SoftLayer_Container_Product_Order_Hardware_Server that can be sent to SoftLayer_Product_Order::verifyOrder or SoftLayer_Product_Order::placeOrder.
This is primarily useful when there is a necessity to confirm the price which will be charged for an order.
See SoftLayer_Hardware::createObject for specifics on the requirements of the template object parameter.
Name | Type | Description |
---|---|---|
templateObject | SoftLayer_Hardware |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Hardware]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware/generateOrderTemplate'