Microsoft graph api 无法使用Microsoft Graph API 1.0检索事件详细信息

Microsoft graph api 无法使用Microsoft Graph API 1.0检索事件详细信息,microsoft-graph-api,Microsoft Graph Api,有人使用过用于EventMessage的Microsoft Graph API吗?i、 e使用图形API读取EventMessage的电子邮件内容 看起来它有可操作的卡,而graph API 1.0无法读取它。 为用户提供了房间资源的代理访问权限 在为该会议室创建事件时,委派用户会在收件箱中接收邮件。邮件类型为eventMessage@odata.type:microsoft.graph.eventMessage 通过GraphAPI v1.0获取邮件时,事件值在响应中不可见 另外,根据文档设置

有人使用过用于EventMessage的Microsoft Graph API吗?i、 e使用图形API读取EventMessage的电子邮件内容

看起来它有可操作的卡,而graph API 1.0无法读取它。 为用户提供了房间资源的代理访问权限

在为该会议室创建事件时,委派用户会在收件箱中接收邮件。邮件类型为eventMessage@odata.type:microsoft.graph.eventMessage

通过GraphAPI v1.0获取邮件时,事件值在响应中不可见

另外,根据文档设置mail-in-graph API的Expand属性会导致以下错误

{错误:{ 代码:BadRequest, 消息:分析选择和展开失败。, 内部错误:{ 请求id:310bbcce-bdd8-4cb6-890c-035243a5ab6d, 日期:2020-01-21T09:18:10 } } }


我无法重新解释你的问题。Microsoft Graph API返回事件消息的详细信息。您能否提供复制步骤、请求/响应捕获以及希望看到的值

我使用v1.0/me/messages获取所有消息以查找eventMessage。然后,我执行以下操作以获取eventMessage的详细信息:

GET https://graph.microsoft.com/v1.0/me/messages/{messagedId}
答复机构:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('d09-94-498-a9777d4b')/messages/$entity",
    "@odata.type": "#microsoft.graph.eventMessage",
    "@odata.etag": "W/\"DAA2pU9s\"",
    "id": "AAMkADEzOTExYjJkAAA=",
    "createdDateTime": "2020-01-24T14:47:24Z",
    "lastModifiedDateTime": "2020-01-24T21:08:07Z",
    "changeKey": "DApU9s",
    "categories": [],
    "receivedDateTime": "2020-01-24T14:47:25Z",
    "sentDateTime": "2020-01-24T14:47:11Z",
    "hasAttachments": false,
    "internetMessageId": "<AM5P3M@A38.EURPRD83.prod.outlook.com>",
    "subject": "Accepted: Microsoft Graph DevX Roadmap",
    "bodyPreview": "",
    "importance": "normal",
    "parentFolderId": "AAMk3AAA=",
    "conversationId": "AAQkADEzOU4=",
    "conversationIndex": "AdXReVPepTg==",
    "isDeliveryReceiptRequested": null,
    "isReadReceiptRequested": false,
    "isRead": true,
    "isDraft": false,
    "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkA%3D&exvsurl=1&viewmodel=ReadMessageItem",
    "inferenceClassification": "focused",
    "meetingMessageType": "meetingAccepted",
    "body": {
        "contentType": "text",
        "content": ""
    },
    "sender": {
        "emailAddress": {
            "name": "Nicole",
            "address": "sig@contoso.com"
        }
    },
    "from": {
        "emailAddress": {
            "name": "Nicole",
            "address": "sig@contoso.com"
        }
    },
    "toRecipients": [
        {
            "emailAddress": {
                "name": "Michael Mainer",
                "address": "mm@contoso.com"
            }
        }
    ],
    "ccRecipients": [],
    "bccRecipients": [],
    "replyTo": [],
    "flag": {
        "flagStatus": "notFlagged"
    }
}