microsoft-graph-api - Microsoft Graph API findMeetingTimes 未正确返回可用空间

标签 microsoft-graph-api

我正在使用 findMeetingTimes API,当我需要 API 向我推荐任何可用房间时,它始终返回相同的结果。它正在返回离我最近的房间,即使它不可用。我正在进入其他房间,但没有返回它们。 另外,我在爱尔兰并尝试使用爱尔兰时间。只有 UTC 可用作时间选项。有什么想法吗?

{
    "attendees": [{
            "type": "required",
            "emailAddress": {
                "name": "John Brady",
                "address": "test1@test.com"
            }
        },
        {
            "type": "required",
            "emailAddress": {
                "name": "Micheal Travers",
                "address": "test2@test.com"
            }
        }

    ],
    "locationConstraint": {
        "isRequired": "true",
        "suggestLocation": "true",
        "locations": [{
                "resolveAvailability": "true",
                "displayName": "The Rockefeller Room/THE ROCK PHASE 1",
                "locationEmailAddress": "the.rockefeller.room@test.com"
            },
            {
                "resolveAvailability": "true",
                "displayName": "The Cork Room/THE ROCK PHASE 2",
                "locationEmailAddress": "the.cork.room@test.com"
            },
            {
                "resolveAvailability": "true",
                "displayName": "The Dublin Room/THE ROCK PHASE 2",
                "locationEmailAddress": "the.dublin.room@test.com"
            }
        ]
    },
    "timeConstraint": {
        "activityDomain": "work",
        "timeslots": [{
            "start": {
                "dateTime": "2017-10-23T09:00:00",
                "timeZone": "UTC"
            },
            "end": {
                "dateTime": "2017-10-23T17:00:00",
                "timeZone": "UTC"
            }
        }]
    },
    "meetingDuration": "PT30M",
    "returnSuggestionReasons": "true",
    "MaxCandidates": "10",
    "minimumAttendeePercentage": "100"
} 

最佳答案

同样在这里创建了 2 个用户和 2 个房间,使用 outlook365 网页将一个用户预订到一个房间,并查询了两个房间和两个用户的 api。 4 个查询。我预订的用户在早上无法预订,这是正确的,但另一个用户在同一天早上有两个房间可供选择。显然不起作用。

关于microsoft-graph-api - Microsoft Graph API findMeetingTimes 未正确返回可用空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46887629/

相关文章:

c# - 如何使用 Azure Active Directory B2C GraphServiceClient 创建全局管理员用户?

azure - 检索 Microsoft Graph 中每个应用程序的角色和用户

microsoft-graph-api - Microsoft Graph API - "code": "UnknownError"

microsoft-graph-api - 使用图形 API 将用户添加到 Azure B2C 时允许所有域

microsoft-graph-api - Microsoft Graph 增量查询支持从 “now” 同步

microsoft-graph-api - 是否可以过滤开放扩展?

microsoft-graph-api - 打开 Microsoft Graph API 的并发连接过多

python - 无法弄清楚为什么我的 azure python-webapp-graph-api 无法识别我的租户 ID

microsoft-graph-api - 为什么每当我的 MS Graph API 邮件搜索没有找到结果时,我就会收到网关超时?

python - 使用 Python 的 Microsoft Graph API 请求 : "Insufficient privileges to complete the operation" error when making simple call