Microsoft graph api 关于调用'时的响应错误结果;FindMeetingTimes';美国石油学会
调用“FindMeetingTimes”API时,结果与用户的日历不同 请求机构:Microsoft graph api 关于调用'时的响应错误结果;FindMeetingTimes';美国石油学会,microsoft-graph-api,Microsoft Graph Api,调用“FindMeetingTimes”API时,结果与用户的日历不同 请求机构: { "attendees": [ { "emailAddress": { "address": "xxx", "name": "xxx" }, "type": "
{
"attendees": [
{
"emailAddress": {
"address": "xxx",
"name": "xxx"
},
"type": "Required"
}
],
"timeConstraint": {
"activityDomain": "Unrestricted",
"timeslots": [
{
"start": {
"dateTime": "2021-04-08T09:00:00",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T12:00:00",
"timeZone": "Eastern Standard Time"
}
},
{
"start": {
"dateTime": "2021-04-08T13:00:00",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T17:00:00",
"timeZone": "Eastern Standard Time"
}
}
]
},
"isOrganizerOptional": "true",
"meetingDuration": "PT45M",
"returnSuggestionReasons": "true",
"minimumAttendeePercentage": "100",
"maxCandidates": 48
{
"attendees": [
{
"emailAddress": {
"address": "xxx",
"name": "xxx"
},
"type": "Required"
}
],
"timeConstraint": {
"activityDomain": "Unrestricted",
"timeslots": [
{
"start": {
"dateTime": "2021-04-08T13:00:00",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T17:00:00",
"timeZone": "Eastern Standard Time"
}
}
]
},
"isOrganizerOptional": "true",
"meetingDuration": "PT45M",
"returnSuggestionReasons": "true",
"minimumAttendeePercentage": "100",
"maxCandidates": 48
}
此用户的日历显示“13:00-14:00”时段时间可用,但响应没有
答复:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.meetingTimeSuggestionsResult",
"emptySuggestionsReason": "",
"meetingTimeSuggestions": [
{
"confidence": 100,
"organizerAvailability": "busy",
"suggestionReason": "Suggested because even when you are busy all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T10:30:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T11:15:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
},
{
"confidence": 100,
"organizerAvailability": "free",
"suggestionReason": "Suggested because you and all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T16:00:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T16:45:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
}
]
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.meetingTimeSuggestionsResult",
"emptySuggestionsReason": "",
"meetingTimeSuggestions": [
{
"confidence": 100,
"organizerAvailability": "free",
"suggestionReason": "Suggested because you and all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T13:00:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T13:45:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
},
{
"confidence": 100,
"organizerAvailability": "free",
"suggestionReason": "Suggested because you and all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T16:00:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T16:45:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
}
]
}
但奇怪的是,当只搜索“13:00-17:00”时段时,结果会出现
请求机构:
{
"attendees": [
{
"emailAddress": {
"address": "xxx",
"name": "xxx"
},
"type": "Required"
}
],
"timeConstraint": {
"activityDomain": "Unrestricted",
"timeslots": [
{
"start": {
"dateTime": "2021-04-08T09:00:00",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T12:00:00",
"timeZone": "Eastern Standard Time"
}
},
{
"start": {
"dateTime": "2021-04-08T13:00:00",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T17:00:00",
"timeZone": "Eastern Standard Time"
}
}
]
},
"isOrganizerOptional": "true",
"meetingDuration": "PT45M",
"returnSuggestionReasons": "true",
"minimumAttendeePercentage": "100",
"maxCandidates": 48
{
"attendees": [
{
"emailAddress": {
"address": "xxx",
"name": "xxx"
},
"type": "Required"
}
],
"timeConstraint": {
"activityDomain": "Unrestricted",
"timeslots": [
{
"start": {
"dateTime": "2021-04-08T13:00:00",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T17:00:00",
"timeZone": "Eastern Standard Time"
}
}
]
},
"isOrganizerOptional": "true",
"meetingDuration": "PT45M",
"returnSuggestionReasons": "true",
"minimumAttendeePercentage": "100",
"maxCandidates": 48
}
答复:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.meetingTimeSuggestionsResult",
"emptySuggestionsReason": "",
"meetingTimeSuggestions": [
{
"confidence": 100,
"organizerAvailability": "busy",
"suggestionReason": "Suggested because even when you are busy all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T10:30:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T11:15:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
},
{
"confidence": 100,
"organizerAvailability": "free",
"suggestionReason": "Suggested because you and all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T16:00:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T16:45:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
}
]
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.meetingTimeSuggestionsResult",
"emptySuggestionsReason": "",
"meetingTimeSuggestions": [
{
"confidence": 100,
"organizerAvailability": "free",
"suggestionReason": "Suggested because you and all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T13:00:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T13:45:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
},
{
"confidence": 100,
"organizerAvailability": "free",
"suggestionReason": "Suggested because you and all attendees are available.",
"attendeeAvailability": [
{
"availability": "free",
"attendee": {
"emailAddress": {
"address": "xxx"
}
}
}
],
"locations": [],
"meetingTimeSlot": {
"start": {
"dateTime": "2021-04-08T16:00:00.0000000",
"timeZone": "Eastern Standard Time"
},
"end": {
"dateTime": "2021-04-08T16:45:00.0000000",
"timeZone": "Eastern Standard Time"
}
}
}
]
}
我不知道为什么,有人能帮我检查一下吗,非常感谢。我在我的制片租户中播放了上述内容,得到了正确的结果。您可以使用它来建议会议时间和地点不时进行微调。在输入参数和日历数据保持静态的测试环境等场景中,建议的结果可能会随着时间的推移而有所不同。不确定您是否在测试环境中进行了尝试并获得了上述结果。