get_quotes_pdf
Overview
Generates a quote PDF for a specific quote.
Available APIs
Definition
get_quotes_pdf(session, quote_id, pdf_format)
Parameters
Name |
Type |
Description |
session |
String |
Session ID returned by a previous login call. |
quote_id |
String |
The ID of the quote record to generate the PDF for. |
pdf_format |
String |
The pdf type requested. 'Standard' is an example. |
Result
Name |
Type |
Description |
result |
Array |
The call result. |
result.file_contents |
String |
The binary contents of the PDF file. |
Change Log
Version |
Change |
v3_1 |
Added get_quotes_pdf method. |
Examples
PHP
$get_quotes_pdf_parameters = array(
//Session id
'session' => $session_id,
//The quote to generate the pdf for
'quote_id' => '490cc844-f83a-9b74-9888-50aa575b517c',
//The pdf type
'pdf_format' => 'Standard',
);