How do I retrieve the event for an eventMessage

后端 未结 1 1660
鱼传尺愫
鱼传尺愫 2021-01-14 11:39

The Graph API v1.0 documentation states that the eventMessage resource type has a relationship called event, which should return

相关标签:
1条回答
  • 2021-01-14 12:11

    Currently you can only access the event property via the $expand parameter in the URL. So you could do something like:

    https://graph.microsoft.com/v1.0/me/messages/<message id>/?expand=
    Microsoft.Graph.EventMessage/Event
    

    Or if you're using the Outlook API endpoint, something like:

    https://outlook.office.com/api/v2.0/me/messages/<message id>/?expand=
    Microsoft.OutlookServices.EventMessage/Event
    

    It is on our roadmap to simplify this, but this is the way it works for now.

    0 讨论(0)
提交回复
热议问题