Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Microsoft graph api Microsoft Graph API findMeetingTimes未正确返回可用空间_Microsoft Graph Api - Fatal编程技术网

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

Microsoft graph api Microsoft Graph API findMeetingTimes未正确返回可用空间,microsoft-graph-api,Microsoft Graph Api,我正在使用findMeetingTimes API,当我需要API向我推荐任何可用房间时,它总是返回相同的结果。它正在把离我最近的房间还给我,即使它不可用。我正在进入其他房间,但它没有返回。 另外,我在爱尔兰,试图利用爱尔兰的时间。只有UTC可用作时间选项。有什么想法吗 { "attendees": [{ "type": "required", "emailAddress": { "name": "John

我正在使用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"
} 

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

请添加查询参数和发送到API的内容。感谢我在Graph.microsoft.com的图形浏览器中执行上述操作,这就是我所面临的问题。