"SoftLayer_" prefix removed for readability.
Obtain an order container for a given template object
Obtain an SoftLayer_Container_Product_Order_Virtual_Guest 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_Virtual_Guest::createObject for specifics on the requirements of the template object parameter.
Name | Type | Description |
---|---|---|
templateObject | SoftLayer_Virtual_Guest |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Virtual_Guest]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/generateOrderTemplate'