【问题标题】:Microsoft Graph: Get user calendar event with beta versionMicrosoft Graph:使用测试版获取用户日历事件
【发布时间】:2018-11-02 16:01:51
【问题描述】:

我正在尝试使用 Microsoft Graph 测试版获取用户日历活动。 我可以通过此请求获取日历信息:

https://graph.microsoft.com/beta/users/{user}/calendars/{calendarid}

然后我尝试通过这个请求访问特定的事件

https://graph.microsoft.com/beta/users/{user}/calendars/{calendarid}/events/{eventId}

但我得到这个错误代码:

{
    "error": {
        "code": "NavigationNotSupported",
        "message": "Recursive navigation is not allowed after property 'Events' according to the entity schema.",
        "innerError": {
            "request-id": "2c73c51d-05b0-4499-9420-9247f4c8c576",
            "date": "2018-05-23T15:16:44"
        }
    }
}

这两个请求都适用于 Microsoft Graph REST API v1.0

有什么帮助吗?

【问题讨论】:

    标签: microsoft-graph-api beta


    【解决方案1】:

    拥有id 后,获取事件(无论它在哪个日历中)的方式如下:

    https://graph.microsoft.com/beta/users/{user}/events/{eventId}
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-01-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-13
      • 1970-01-01
      相关资源
      最近更新 更多