REST API for BIP reports - how to add filter?
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.