Forum Discussion
deepakb18
5 years agoHelper I
Passing Query String Parameter to Rest API
Hi All
I have a requirement where I
- Need to get data from Rest API and this API need one parameter and that is Userid.
- Report needs to be embedded in .Net Application through App Own & SPN approach
- Userid needs to pass from .Net Application so loggedin User will be able to see their data only. (Requirement & due to Performance)
Question
- Can we pass UseriD in Rest API Query that is passed as Query String Parameter from application.
- I know Parameter can be set by application by REST API but if 2 user will login and will access the report from .Net application then will both user will get their respective data in embedded application only as we have only one report published in power bi service ?
1 Reply
Replies have been turned off for this discussion
- AnonymousNot applicable
Hi deepakb18 ,
There are no special restrictions on the parameters used, but the parameters used need to be created and configured in advance.
Rest API With User Selected Parameters As Data Source
Dependent query parameter for REST API
Regarding your other question, different users can view the corresponding data, you can refer to the following documentations to achieve.
Row-level security with Power BI Embedded
Simplest RLS (Row Level Security) on Power BI embedded
Best Regards