Let the platform do the work

get_report_pdf

Overview

Generates a PDF for a specific report.

Available APIs

  • REST

Definition

get_report_pdf(session, report_id)

Parameters

Name Type Description
session String Session ID returned by a previous login call.
report_id String The ID of the report record to generate the PDF for.

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_report_pdf method.

Examples

PHP

$get_report_pdf_parameters = array(
    //Session id
    'session' => $session_id,

    //The report to generate the pdf for.
    'report_id' => '68ca4de9-7486-72e1-1a56-50aa5757aaab',
);

Topics