Overview
PdfManager Generate Endpoint Help
Summary
This endpoint returns and initiates download of a PDF.
Request Arguments
Name |
Type |
Description |
Required |
module |
String |
The Module name of the Bean from which to create a PDF |
True |
record |
String |
The Record ID from which to create a PDF |
True |
pdf_template_id |
String |
The PDF Template ID to use to create the PDF |
True |
sugarpdf |
String |
The type of PDF to use. Defaults to 'pdfmanager'. |
False |
Request
{
"module": "Quotes",
"record": "abcde-fghij-12345-67890",
"pdf_template_id": "12345-67890-abcde-fghij",
"sugarpdf": "pdfmanager"
}
Response
The response is a base64 encoded string of the contents of the PDF file.
Change Log
Version |
Change |
v11.3 |
Added /PdfManager/generate GET endpoint. |