Obtaining paged report outputs

Use the pagedReportData resource type to retrieve report outputs one page at a time. This output is similar to the paged HTML output from IBM® Cognos® Viewer.

The following example uses the sample report Public Folders > Samples > Models > GO Data Warehouse (query) > Reporting Report Samples > Bursted Sales Performance Report which has 16 pages of output when viewed with IBM Cognos Viewer. Running the following report:


http://localhost/ibmcognos/bi/v1/disp/rds/pagedReportData
/report/i475989eebe9e44dba3409afe33d72d62?v=3

returns the data contained in the first page of the report, when viewed in IBM Cognos Viewer.

You can now retrieve additional pages of report output by submitting the next secondary request. See Secondary operations for more information. Repeat this process to retrieve subsequent pages of report output.

You can also use previous to retrieve the previous page of report output, first to retrieve the first page of output, and last to retrieve the last page of report output. If you are retrieving the report in LDX format, the secondaryOperations element in the report output indicates which secondary requests are available. HTML and HTMLFragment outputs also indicate available secondary requests in a div element.