getPdf


SoftLayer_Billing_Order_Quote::getPdf

Retrieve a PDF copy of a quote.

Description

Retrieve a PDF record of a SoftLayer quoted order. SoftLayer keeps PDF records of all quoted orders for customer retrieval from the portal and API. You must have a PDF reader installed in order to view these quoted order files.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • base64Binary

Error Handling

  • Throws the exception ‘PDF does not exist: Order has not yet been created.’
  • Throws the exception ‘PDF does not exist: file not found.’
  • Throws the exception ‘PDF does not exist: Unable to load the quote PDF.’
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Order_Quote/{SoftLayer_Billing_Order_QuoteID}/getPdf'