Outlook REST API Greater than filter is the same as Greater or Equal

Hi, 

It seems like a bug in Outlook API the followings requests return the same data

https://outlook.office365.com/api/v1.0/me/messages?$filter=DateTimeReceived ge 2015-04-22T10:08:00Z

https://outlook.office365.com/api/v1.0/me/messages?$filter=DateTimeReceived gt 2015-04-22T10:08:00Z

But I expect that the second request will return blank result because condition Greater Than and I have only one email in mailbox.

Could anyone explain me why condition Greater Than doesn't work? 

P.S.: Same post on community.office365.com 

  • Edited by Roman Rylov Thursday, April 23, 2015 2:30 PM
April 23rd, 2015 2:26pm

Hello Jason, 

Thanks for explanation. Now I have another questions, how can I get DateTimeReceived with higher resolution? The API returns date without milliseconds.

Free Windows Admin Tool Kit Click here and download it now
April 24th, 2015 8:48am

That's exactly the problem! You can't.
April 24th, 2015 9:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics