Does ODataV4Adaptor support $query feature of OData

OData supports sending query parameters in the body.  Refer  OData Version 4.01. Part 2: URL Conventions (oasis-open.org)

Does ODataV4Adaptor support this feature?


1 Reply

VK Vasanthakumar K Syncfusion Team October 8, 2024 09:45 AM UTC

Hi karthik d,


Greetings from Syncfusion support.


Query: Does ODataV4Adaptor support Query option feature?


Yes, by utilizing DataManager’s ODataV4Adaptor’s addParams API method, you are able to send query option parameters in the body of the request. We have already discussed this topic in our documentation in detail. Please refer to the below documentation with the StackBlitz sample for more details.


Datamanager’s sending additional parameters documentation: https://ej2.syncfusion.com/angular/documentation/data/how-to#sending-additional-parameters-to-server


In a similar way in grid as well, using the grid's query property with the addParams method, you can send additional query options. We have already discussed this topic with a demo sample for dynamically sending additional parameters on our demo site. Please refer to the below demo sample with an explanation for more details.


Flexible data with additional parameter sending demo sample: https://ej2.syncfusion.com/angular/demos/#/fluent2/grid/flexible-data


Regards,

Vasanthakumar K


Loader.
Up arrow icon