getReportSampleDataInSession() Method

In ReportService, use the getReportSampleDataInSession() method to retrieve the sample data file stored with the report data model based on the bipSessionToken of a given user.

For more information about in-session methods, see About In-Session Methods.

Signature

byte[] getReportSampleData(String reportAbsolutePath, String bipSessionToken);

Parameters for getReportSampleDataInSession() Method

Parameter Description

String reportAbsolutePath

The path to the report for which to retrieve the report data model sample data. For example: /HR Manager/Employee Reports/Employee Listing.xdo

String bipSessionToken

The proprietary token string generated for the user. With the bipSessionToken string, the user no longer needs to provide user credentials. The server can validate this token string and restore the session to perform needed operation.