如何从 Microsoft Graph 上的事件消息中获取新日期?

How to get new dates from event message on microsoft graph?

我是 Whosebug 和 Microsoft Graph 的新手。

我面临以下问题:

进一步的解释:

我是怎么做的:

  1. 我使用 outlook 创建了一个用户的活动,其中有一个与会者。

  2. 活动的参加者使用网络邮件客户端(使用选项 "propose new time")更新了活动要求新的日期。

  3. 发送邮件通知主办方

我现在正在尝试从组织者邮箱中收到的邮件消息中获取更改(即:新日期)。

要获得 eventMail,我使用以下请求

/v1.0/users/{user}/messages/{id}?$expand=microsoft.graph.eventMessage/event

它给了我 microsoft.graph.eventMessage/event 对象。

我想获得这些更新。

API 的当前版本不支持此邮件中的建议开始日期和建议结束日期。 但是可以通过这样的请求访问它 https://graph.microsoft.com/v1.0/users/[userid]/messages/[messageid]?$select=SingleValueExtendedProperties&$expand=singleValueExtendedProperties($filter%3Did+eq+'SystemTime+%7B00062002-0000-0000-C000-000000000046%7D+Id+0x8250'+or+id+eq+'SystemTime+%7B00062002-0000-0000-C000-000000000046%7D+Id+0x8251'+or+id+eq+'SystemTime+%7B6ED8DA90-450B-101B-98DA-00AA003F1305%7D+Id+0x00000009') 要点是: - $select=SingleValueExtendedProperties - $expand=SingleValueExtendedProperties($filter=id eq 'Some id')

我在那里找到了我的属性 ID https://msdn.microsoft.com/en-us/library/ee237457%28v=exchg.80%29.aspx?f=255&MSPPError=-2147217396

开始日期是 系统时间 {00062002-0000-0000-c000-000000000046} ID 0x8250

结束日期是 系统时间 {00062002-0000-0000-c000-000000000046} ID 0x8251

我的解决方案由此开始 post