Hi,
I get the impression that you know what your way with JavaScript.
If you bring up the network tab of the developer tools you can see the "internal API call" WEBCON BPS is using to retrieve the data of a report.
You can do the same from JS. The "issue" is that the integer values will change per environment.
As long as you are executing the JS from a form, you can store this information using an HTML field. Within a script tag you can assign the integer values to variables. You can retrieve this integer values with business rules to which you pass the GUID of the report/view.
I haven't used this approach but I needed to get the integer id of a business rule. :)
Best regards,
Daniel