You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何通过Graph API获取Outlook 365邮件的已读时间戳?

获取Outlook O365邮件已读时间戳的Graph API解决方案
  • 默认的messages接口返回字段里不包含已读时间戳,但可以通过MAPI扩展属性获取该信息,对应已读时间戳的属性ID为0x0E06(类型为SystemTime)
  • 单邮件查询示例:
    GET https://graph.microsoft.com/v1.0/me/messages/{message-id}?$expand=singleValueExtendedProperties($filter=id eq 'SystemTime 0x0E06')
    
  • 批量查询示例(同时返回基础字段和已读时间戳):
    GET https://graph.microsoft.com/v1.0/me/messages?$select=subject,isRead&$expand=singleValueExtendedProperties($filter=id eq 'SystemTime 0x0E06')
    
  • 返回结果说明:
    响应中的singleValueExtendedProperties数组内的value字段即为已读时间戳,格式为ISO 8601标准时间;仅当isRead为true时,该扩展属性才会存在,未读邮件不会返回此字段
  • 权限要求:确保已配置Mail.Read类别的Graph API权限

内容的提问来源于stack exchange,提问作者Anand Gole

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.28 05:14:49