getQuoteByQuoteKey


SoftLayer_Billing_Order_Cart::getQuoteByQuoteKey

Retrieve a SoftLayer_Billing_Order_Quote by the quote key specified.

Description

This method will return a SoftLayer_Billing_Order_Quote that is identified by the quote key specified. If you do not have access to the quote or it does not exist, an exception will be thrown indicating so.

Parameters

Name Type Description
quoteKey string Key required to retrieve a quote.

Required Headers

Optional Headers

Return Values

Error Handling

  • Throws the exception “No quote found”
  • Throws the exception “Quote is no longer valid.”
  • Throws the exception “Quote expired.”
  • Throws the exception “Quote has been removed from the system.”
  • Throws the exception “Quote is unavailable.”
  • Throws the exception “Could not authenticate quote.”
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Order_Cart/getQuoteByQuoteKey'