BI Publisher (MOSC)

MOSC Banner

REST API for BIP reports - how to add filter?

in BI Publisher (MOSC) 5 commentsAnswered ✓

Version: BIP in OAS 5.9


Hi there people!

We have a rest api for BIP reports which works nicely. Our example below returns a list of baseball results.

Our curl without any filter:

curl -X POST -u username:password -o report_output.html -H "Content-Type:multipart/form-data"  -v -F "ReportRequest={\"attributeFormat\":\"html\",\"attributeTemplate\":\"Baseball_results_report\"};type=application/json" http://host.com:port/xmlpserver/services/rest/v1/reports/Baseball%20Results%252FBaseball_results_report/run


We would like to add a query to filter out the results for just one team.

Do anybody know of a way to add a filter to the curl? We would like to add something like team='Mariners' or even better, team='Mariners' and year=2022.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center