Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Graph API: Filter email messages within a time range

I do not see support for filtering list of emails from the Graph API to a date range? Like it'd be nice to have something that supports filtering between a start date and an end date for the receivedDateTime field.

like image 306
Keshi Avatar asked Nov 02 '25 10:11

Keshi


1 Answers

You could try $filter query:

https://graph.microsoft.com/v1.0/me/messages?$filter=(receivedDateTime ge 2017-03-13T04:14:08Z) and (receivedDateTime le 2017-04-12T05:15:08Z)
like image 97
Nan Yu Avatar answered Nov 04 '25 19:11

Nan Yu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!