问题描述
每个事件都属于日历,因此,当我从Outlook API管理人员收到有关日历事件的Webhook时,我希望还会收到此事件的容器ID,但不会.我几乎没有获得有关此日历事件的信息,但是仍然有一个ID.问题是如何获取保存此事件的日历本身的ID?
Every Event belongs to a Calendar, so when I receive a webhook from Outlook API management about a calendar event, I expect to also receive the container ID of this Events, but no. I get very little information about this calendar event, but still there is an ID. The problem how to get the ID of the calendar itself that holds this event?
我使用统一的API进行查询,到目前为止,我得到的只是
I use unified API for querying this, and all I get so far is
GET https://graph.microsoft.com/beta/me/Events/< ID >
但是,您猜怎么着,在此响应中的任何地方都找不到日历ID. <生病>
But guess what, nowhere inside this response do I find the calendar ID. < sick >
谁能告诉我如何从事件ID中检索日历ID?
Can anyone tell me how to retrieve the calendar ID from an Event ID?
推荐答案
是的,您无需使用Beta API就可以实现这一目标.
Yes you achive this without using Beta API.
https://graph.microsoft.com/v1.0/me/events/<event-id>
您还可以在此应用过滤器
you can also apply a filter in this
https://graph.microsoft.com/v1.0/me/events/<eventid>/?startDateTime=<startDate> &endDateTime=<endDate>
这篇关于Office365 Unified API,从事件ID获取日历ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!