generateOrderTemplate


SoftLayer_Virtual_Guest::generateOrderTemplate

Obtain an order container for a given template object

Description

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.


Parameters

Name Type Description
templateObject SoftLayer_Virtual_Guest

Required Headers

Optional Headers

  • None

Return Values

Associated Methods

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'