What's the best way to pass a filter to an API in order to filter data from a database?
To elaborate: my team is creating a web portal in order to monitor OS deployments. We want the user to be able to filter data which is stored on a Sql database. We plan on using a Kendo Chart to visualize the data and filter the data using a Kendo Filter. We have also created an API to perform our http operations. I know that the filter results are passed to the controller in the form of a DataSourceRequest object. This gets to my question, what is the best way to pass the settings a user picks on the front-end to the API/database? Can I parse the DataSourceRequest object?
Let me know if anything needs clarifying.