Top "Odata-v4" questions

The Open Data Protocol (OData) is a standardized protocol for building REST APIs.

How to get Web API OData v4 to use DateTime

I have a fairly large data model that I want to expose using Web API OData using the OData V4 …

.net odata asp.net-web-api asp.net-web-api-odata odata-v4
Applying Distinct to OData query

I want to get a list of distinct values from my OData endpoint. But distinct or group by isn't supported …

c# odata asp.net-web-api-odata odata-v4
OData v4 Routing Prefix?

I have a side-by-side Web API 2.2 APIController and OData v4 ODataController. My APIController uses routing attributes internally like this (there …

c# asp.net-web-api odata asp.net-web-api-routing odata-v4
Web APi OData V4 Issue "The entity '' does not have a key defined

When I run the following sample it is throwing the following exception... Additional information: The entity 'TestEntity' does not have …

c# entity-framework asp.net-web-api odata odata-v4
oData v4 what are Functions and Actions in simple terms?

In oData 4.0 Actions and functions are frequently referred. I couldn't get what are they and how they are different. Are …

.net asp.net-web-api asp.net-web-api2 odata odata-v4
Custom Odata v4 function - is not a valid odata route template - resource not found for the segment

I have something in mind like this ( the action on itself is probably okay) [HttpPost] [ODataRoute("GenerateFromProduct")] public async Task&…

.net asp.net-mvc asp.net-web-api odata odata-v4