2

我想过滤 a 的location属性event,更具体地说是displayName

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

我可以根据subject使用过滤:

/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

上面的查询似乎可以过滤主题,但是当我尝试过滤时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

我收到以下错误:

在此处输入图像描述

查看文档location应该是可过滤的:

在此处输入图像描述

4

0 回答 0