我正在尝试使用 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/