Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/fsharp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Microsoft Graph API获取时间间隔内的日历更改,按lastModifiedDateTime筛选_Graph_Microsoft Graph Api_Microsoft Graph Calendar - Fatal编程技术网

Microsoft Graph API获取时间间隔内的日历更改,按lastModifiedDateTime筛选

Microsoft Graph API获取时间间隔内的日历更改,按lastModifiedDateTime筛选,graph,microsoft-graph-api,microsoft-graph-calendar,Graph,Microsoft Graph Api,Microsoft Graph Calendar,我试图在特定日期后在日历中获取修改或创建的事件。 接下来,我可以使用此url获取今年的活动 https://graph.microsoft.com/v1.0/me/calendarview?startDateTime=2020-01-01T00:00:00&endDateTime=2021-01-01T00:00:00 由于我只想获得特定日期后修改或创建的事件,因此我尝试使用filter和lastModifiedDateTime attibute https://graph.microsoft.

我试图在特定日期后在日历中获取修改或创建的事件。

  • 接下来,我可以使用此url获取今年的活动
  • https://graph.microsoft.com/v1.0/me/calendarview?startDateTime=2020-01-01T00:00:00&endDateTime=2021-01-01T00:00:00

  • 由于我只想获得特定日期后修改或创建的事件,因此我尝试使用filter和lastModifiedDateTime attibute
  • https://graph.microsoft.com/v1.0/me/calendarview?startDateTime=2020-01-01T00:00:00&endDateTime=2021-01-01T00:00:00&$filter=lastModifiedDateTime%20gt%202020-10-01T00:00:00z

    尝试获取本月修改的事件时,我得到了一个空响应,甚至没有错误

  • 我也试过用这种方法
  • https://graph.microsoft.com/v1.0/me/calendarView/delta?startDateTime=2020-01-01T00:00:00&endDateTime=2021-01-01T00:00:00&lastModifiedDateTime%20gt%202020-10-01T00:00:00z

    但它返回一年中的所有事件,不按lastModifiedDateTime过滤


    有没有合适的方法可以在特定日期后获取修改或创建的日历事件?

    看起来calendarView无法与filter一起正常工作,另一种方法是filter list events


    工作url如下所示:
    https://graph.microsoft.com/v1.0/me/calendar/events?$filter=lastModifiedDateTime%20gt%20“+日期+”z“

    我记得看过delta beta端点的文档,提到$filter不受支持。这是医生。据说,如果你希望微软考虑实现一个新的特性来解决上面的问题,那么你可以在这里提交一个用户声音: