Hi,
I have created a query that I wish to publish as a web service that can be called with parameters.
But in order to use parameter I am currently using a global function in a codeunit which is published as a web service, but is there a way to just use the query and call that with parameters?
My issue is that codeunit is SOAP where queries is ODATA when published as a web service, and I would prefer ODATA (JSON).
I have created a query that I wish to publish as a web service that can be called with parameters.
But in order to use parameter I am currently using a global function in a codeunit which is published as a web service, but is there a way to just use the query and call that with parameters?
My issue is that codeunit is SOAP where queries is ODATA when published as a web service, and I would prefer ODATA (JSON).