Get report parameters

post

/services/rest/v1/reports/{reportPath}/parameters

Gets an array of report parameters and their default values. With the list of parameters, you can set parameter values before running or scheduling a report.

Request

Path Parameters
  • URL encoded report path. For example, if your report path is "/Sample Lite/Published Reporting/Reports/Balance Letter" then your encoded report path will be "%2FSample%20Lite%2FPublished%20Reporting%2FReports%2FBalance%20Letter". Use double encoded forward slash when you send a REST request to BI Publisher through a load balancer that isn't configured to pass encoded slashes. For example, if your report path is "/Sample Lite/Published Reporting/Reports/Balance Letter" then your encoded report path will be Sample%20Lite%252FPublished%20Reporting%252FReports%252FBalance%20Letter
Body ()
Report request
Root Schema : ReportRequest
Type: object
Show Source
Nested Schema : BIPDataSource
Type: object
Show Source
Nested Schema : ParamNameValues
Type: object
Show Source
Nested Schema : MetaDataList
Type: object
Show Source
Nested Schema : FileDataSource
Type: object
Show Source
  • To specify a path to a data source that resides on an available server, specify the full path to the data source and set temporaryDataSource to "false". For example: "D:\BI\OracleBI\xmlp\XMLP\DemoFiles\Balance.xml")" If the file is located in the system temporary directory, set temporaryDataSource to true, and specify the file name here. For example: "Balance.xml".
  • Default Value: false
    Set to "true" when the file data source is in the system temporary directory. Set to "false" when dynamicDataSourcePath specifies the full path.
Nested Schema : JDBCDataSource
Type: object
Show Source
Nested Schema : listOfParamNameValues
Type: array
An array of ParamNameValue
Show Source
Nested Schema : ParamNameValue
Type: object
Show Source
Nested Schema : lovLabels
Type: array
If the parameter type is "Menu", specifies the values displayed in the list of values to the user.
Show Source
Nested Schema : values
Type: array
Parameter values.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Returns report parameters.
Body ()
Root Schema : ParamNameValues
Type: object
Show Source
Nested Schema : listOfParamNameValues
Type: array
An array of ParamNameValue
Show Source
Nested Schema : ParamNameValue
Type: object
Show Source
Nested Schema : lovLabels
Type: array
If the parameter type is "Menu", specifies the values displayed in the list of values to the user.
Show Source
Nested Schema : values
Type: array
Parameter values.
Show Source
Back to Top

Examples

The following example shows how to get the parameters of a report and the default values of the parameters by submitting a POST request on the REST resource using cURL.

curl -u username:password -X POST -H "Content-Type: application/json" -d '{}' https://host.com:port/xmlpserver/services/rest/v1/reports/Sample%20Lite%252FPublished%20Reporting%252FReports%252FSales%20Performance+Report/parameters
Back to Top