2

I would like to filter on the location property of an event, more specifically the displayName:

"location": { 
  "displayName": "Conference Room - Baker", 
  "locationType": "default", 
  "uniqueId": "Conference Room - Baker", 
  "uniqueIdType": "private" 
}

I can filter based on the subject using:

/me/calendarview?startdatetime=01-01-2019&enddatetime=12-31-2019&$filter=(isorganizer eq true) and startsWith(subject,'Project')&$top=100&$select=subject,organizer,attendees,start,end,location&$orderby=start/dateTime

The above query seems to work to filter on the subject but when I try to filter on location/displayName:

/me/calendarview?startdatetime=01-01-2019&enddatetime=12-31-2019&$filter=(isorganizer eq true) and startsWith(location/displayname,'Conference')&$top=100&$select=subject,organizer,attendees,start,end,location&$orderby=start/dateTime

I get the below error:

enter image description here

Looking at the documentation, location should be filterable:

enter image description here

Marc LaFleur
  • 31,987
  • 4
  • 37
  • 63
Glenn
  • 635
  • 2
  • 11
  • 23
  • Did you manage to work this out? Seems like the problem is with "startsWith" since if I just filter with a `location/displayName eq 'wherever'` it seems to work. – Darren Aug 27 '20 at 08:57

0 Answers0