Microsoft Graph FindMeetingTimes差距 [英] Microsoft Graph FindMeetingTimes Gap
问题描述
希望我不是唯一遇到此问题的人.当我请求会议时间建议(包括与会者和时间限制)时,我得到5条会议建议的响应.问题是,插槽之间的时间间隔有时是几个小时.但是,所有与会人员都可以免费享受该休息时间.另外,如果我更改持续时间或增加一个方向或另一个方向的时间,则会显示缺少的时隙.与此相关的是,是否可以请求5个以上的会议时间建议?
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?
推荐答案
我认为这里的差距"是因为您希望会议建议按时间顺序返回,但事实并非如此. FindMeetingTimes API尝试根据用户过去的会议来推断用户的首选会议时间,并根据API认为最优先的会议排序返回会议建议.最有可能的是,缺失"时隙在排名中排在较低的位置,您没有看到它们,因为您只获得了默认的5个结果.
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.
您可以通过在请求正文中包含maxCandidates
参数来请求更多结果.请参阅 https://developer.microsoft.com/zh-CN/graph/docs/api-reference/v1.0/api/user_findmeetingtimes#request-body 了解详情.
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 FindMeetingTimes差距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!