Can't use EventDate or EndDate when filtering calendar items using REST api RRS feed

  • Question

  • Hi everyone,

    I'm having trouble, and I'm not the only one with filtering calendar events using the EventDate or EndDate fields.

    I'm trying the following query using REST api:

    /_api/web/lists/getbytitle('calendar')/items?$filter=( EventDate  ge  datetime'2013-01-26T22:00:00Z')&$select=Title,EventDate,ID

    and I'm getting the following error:

    The field 'EventDate' of type 'DateTime' cannot be used in the query filter expression

    Anyone know how to bypass this? Is this a bug?

    I already have a JavaScript ready to accept JSON, so accepting data from ListData.svc is a bad option.



    Tuesday, April 23, 2013 12:34 PM


All replies