Hopefully I'm not the only one having this issues. When I request meeting time suggestions, which includes an attendee and time constraints, I get a response of 5 meeting suggestions. The issues is, that the slots have a gap in time, some times several hours. However, all attendees have that gap time as free; additionally, if I change the duration or increment the time one direction or another, the missing time slots show up. On a related note, is there a way to request more than 5 meeting time suggestions?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I think the perceived "gap" here is because you're expecting the meeting suggestions to be returned in chronological order, which is not the case. The FindMeetingTimes API tries to infer the user's preferred meeting times based on their past meetings, and the meeting suggestions are returned sorted by what the API thinks would be the most preferred. It's most likely that the "missing" time slots are lower down in the ranking, and you're not seeing them because you are only getting the default 5 results back.
You can request more results by including the maxCandidates
parameter in your request body. See https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_findmeetingtimes#request-body for details.
标签:
microsoft-graph