Ive tried to fetch calendar events using this:
_api/search/query?querytext='ContentClass:STS_ListItem_Events EventDate>10/10/2014 EndDate<1/1/2016'&selectproperties='Title,EventDate,EndDate,AllDayEvent'
which brings an error.
"We didn't understand your search terms. Make sure they're using proper syntax."
However, if i remove the enddate and eventdate code like this it works:
_api/search/query?querytext='ContentClass:STS_ListItem_Events'&selectproperties='Title,EventDate,EndDate,AllDayEvent'
where is my syntax error

0 commentaires:
Enregistrer un commentaire