Microsoft Graph: Get user calendar event with beta version

岁酱吖の 提交于 2019-12-11 14:55:47

问题


I´m trying to get an user calendar event with Microsoft Graph beta versión. I can get calendar info with this request:

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

Then I try to access to specific event through this request

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

But I get this error code:

{
    "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"
        }
    }
}

Both requests works with Microsoft Graph REST API v1.0

Any help?


回答1:


The way to get an event (regardless of which calendar it is in) once you have the id is like this:

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


来源:https://stackoverflow.com/questions/50492177/microsoft-graph-get-user-calendar-event-with-beta-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!