Optional paremeter in Rest API query

I am developing an application page where business data is displayed in a table widget, which is filtered by multiple attributes. Is there a way to put optional parameters in the URL GET query (such as …/API/bdm/businessData/businessObject?q=FilteredQuery&p=0&c=10&f=optionalParameter1=true&f=optionalParameter2={no filter}&f…) so that I can use the same URL depending on the filters selected, or will I need to write different URLs for each different possible combination of filters?

Hello - usually we create a JavaScript typed variable that can be dynamically evaluated according to the form/page context and pass its value as URL. This last will then always be up to date.

HIH,