Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint REST Service - Filter items by month

$
0
0

Hello everyone,

I'm trying to use the SharePoint REST Service, by filtering items per month. 

I'd like to get the items with the month that put on the URL. I'm trying to do this on that way:

https://myserver/_api/web/lists/getByTitle('MyList')/items?$filter=month(Created) eq 2016

In that example, I want the items created on December. But it doesn't work. I got the error: "The query is not valid".

Can anyone help me?

Thanks

BR.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>