The program I wrote connects to data via Web API. I added the ReportDesigner tool to the application so that users can design new reports. When I manually select the API address and add a sample API endpoint to ReportDesigner as a datasource, it works fine.
There are around 30 and frequently updated API endpoints defined in the system.
What I want to do is: I will ask what kind of report the user wants to prepare. Afterwards, while the user opens the report design screen, I want to be able to add the relevant data sources to the report from the API endpoints defined in the system, according to the user's selection.
For example: There may be different data sources when preparing a stock report and different data sources when preparing a sales report. These data sources should come ready to the user.
I am using Blazor and C# coding infrastructure
I would be very grateful if you could help me figure out how to do this.