generateOrderTemplate


SoftLayer_Hardware::generateOrderTemplate

Obtain an order container for a given template object

Description

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.


Parameters

Name Type Description
templateObject SoftLayer_Hardware

Required Headers

Optional Headers

  • None

Return Values

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Hardware]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware/generateOrderTemplate'