getOrderTemplate


SoftLayer_Virtual_Guest::getOrderTemplate

Obtain an order container that is ready to be sent to the [[SoftLayer_Product_Order#placeOrder|SoftLayer_Product_Order::placeOrder]] method.

Description

Obtain an order container that is ready to be sent to the [[SoftLayer_Product_Order#placeOrder|SoftLayer_Product_Order::placeOrder]] method. This container will include all services that the selected computing instance has. If desired you may remove prices which were returned.

Parameters

Name Type Description
billingType enum
  • MONTHLY
  • HOURLY
orderPrices SoftLayer_Product_Item_Price[] This is a list of prices that could replace options that are normally selected by matching the items to the existing virtual server.

Required Headers

Optional Headers

  • None

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [enum, SoftLayer_Product_Item_Price]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/getOrderTemplate'