microsoft-graph-api - 微软图: Get user calendar event with beta version

标签 microsoft-graph-api beta

我正在尝试使用 Microsoft Graph beta 版本获取用户日历事件。 我可以通过此请求获取日历信息:

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

有什么帮助吗?

最佳答案

一旦你有了id,获取事件(无论它在哪个日历中)的方法如下:

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

关于microsoft-graph-api - 微软图: Get user calendar event with beta version,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50492177/

相关文章:

azure - 使用 Microsoft 图形库获取 Azure 密码重置身份验证电话属性

ios - 将 Xcode 6 beta 6 更新到 beta 7 后获取 'optional error'

testing - iOS 8 Beta - 内部测试人员必须是技术人员?

java - Microsoft Graph 身份验证 - 委派权限

python - Microsoft Outlook 图形事件 API : how to get different timezone?

Angular 应用程序与 Cordova,哪个 adal 版本?

python - 为什么 beta 分布的值在 [0, 1] 之外?

ios - 无法将新版本添加到 testflight

swift - 尝试将 CKServerChangeToken 保存到 UserDefaults 时出错

azure - Microsoft Graph Explorer 应用程序 - 权限问题