List of ODATA commands?

Topics: Web Api
Nov 21, 2011 at 3:19 PM

I'm setting up web methods that return IQueryable objects. Now I'm wondering what commands I can pass in the url to filter the data. Is there a list somewhere of all of the different commands that you can put in there? I tried googling it but didn't find anything.

Nov 21, 2011 at 3:40 PM

I do not think we document the list yet.  Can you file an Issue Tracker for this missing documentation?

In the meantime, you can look into these unit tests.  These tests exercise the use of all of the different commands we support today:

http://wcf.codeplex.com/SourceControl/changeset/view/861c1ae7cf1e#WCFWebApi%2fHttp%2fTest%2fMicrosoft.ApplicationServer.Http%2fUnit%2fMicrosoft%2fApplicationServer%2fQuery%2fODataQueryDeserializerTests.cs

Thanks,
Maggie Ying

Nov 22, 2011 at 3:49 PM

Thanks, that helps a lot!