src/Jaspersoft/Service/ReportExecutionService.php
public function getExportOutputResourceAttachment($executionId, $exportId, $attachmentName)
    {
        $url = $this->makeUrl($executionId, false, false, true, false, $exportId, true, $attachmentName);
        $response = $this->service->prepAndSend($url, array(200), 'GET', null, true, 'application/json', '*/*');

        return $response;
    }
public function getExportOutputResourceAttachment($executionId, $exportId, $attachmentName)
    {
        $url = $this->makeUrl($executionId, false, false, true, false, $exportId, true, $attachmentName);
        $response = $this->service->prepAndSend($url, array(200), 'GET', null, true, 'application/json', '*/*');

        return $response;
    }
public function getExportOutputResourceAttachment ( $ executionId , $ exportId , $ attachmentName ) { $ url = $ this -> makeUrl ( $ executionId , false , false , true , false , $ exportId , true , $ attachmentName ) ; $ response = $ this -> service -> prepAndSend ( $ url , array ( 200 ) , 'GET' , null , true , 'application/json' , '*/*' ) ; return $ response ; }
Get the binary data of an attachment for a report

@param string $executionId
@param string $exportId
@param string $attachmentName the name of the attachment (found in the fileName field of an Attachment object)
@return string
Get the binary data of an attachment for a report