Generic applications
There are two methods you can use to retrieve report data in a generic application:
- The
getPagedReportData
method retrieves the first page of report output. The secondary methodsnext
,previous
,first
, andlast
can be used to retrieve additional pages of report output. - The
getReportData
method retrieves the complete report output. The output is retrieved as a single page unlessincludePageBreaks
istrue
, in which case the report output is separated into pages. See Reports with multiple pages for more information.
To retrieve report output in a generic application, identify
the report, using the sourceID
and sourceType
elements in the request. For more
information, see Identifying reports.
When the asynchronous report data request completes, the report
output is contained in the output
child of GetOutputResponse
.
If the format
option in the report data request is not
used, the report output will be contained in the LDXOutput
child
of output
, and this report data can be accessed
using additional methods. If the format
option
is set, the report output will be contained in the FormatOutput
child
of output
as a string object.