首页 > 解决方案 > Microsoft graph api - 我想列出用户白天的所有会议/约会

问题描述

目前我正在这样做

https://graph.microsoft.com/v1.0//users/emailaddress/calendar/events?$filter=(start/dateTime 
ge  '2019-07-11')  and (start/dateTime lt  '2019-07-12')

但我不确定我是否调用了正确的 api。

标签: microsoft-graph-api

解决方案


您应该使用更简单的语句:

https://graph.microsoft.com/v1.0/users/emailaddress/calendar/events?$filter=start/dateTime ge '2019-07-11' and start/dateTime lt '2019-07-12'

您可以在Microsoft Graph Explorer中进行快速测试。


推荐阅读