Microsoft Graph API:过滤某个时间范围内的电子邮件

Microsoft Graph API: Filter email messages within a time range

我没有看到支持过滤从图表 API 到日期范围的电子邮件列表?如果有支持在 receivedDateTime 字段的开始日期和结束日期之间进行过滤的东西就好了。

您可以尝试 $filter 查询:

https://graph.microsoft.com/v1.0/me/messages?$filter=(receivedDateTime ge 2017-03-13T04:14:08Z) and (receivedDateTime le 2017-04-12T05:15:08Z)