Microsoft Graph APi 未返回“已取消"活动 [英] Microsoft Graph APi not returning "Cancelled" Events

查看:20
本文介绍了Microsoft Graph APi 未返回“已取消"活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在给定 startDateTime 和 endDateTime 的情况下,我正在尝试使用 Microsoft 图形 API 获取会议室日历中的所有事件.我尝试了以下 API -

I am trying to get all the events in a Conference room's calendar with Microsoft graph API, given a startDateTime and endDateTime. I tried the following API's -

1. https://graph.microsoft.com/v1.0/users/{id}/events?startDateTime=2017-03-20T05:00:00.0000000&endDateTime=2017-04-06T21:00:00.0000000
2.https://graph.microsoft.com/v1.0/users/{id}/calendar/calendarView?startDateTime=2017-03-20T05:00:00.0000000&endDateTime=2017-04-06T21:00:00.0000000

响应包括所有 isCancelled=false 的事件.如何获取已取消的事件?

The response includes all events with isCancelled=false. How do I fetch events which were Cancelled?

&$filter=isCancelled%20eq%20true 也返回空,因为没有响应 isCancelled=true 的事件

&$filter=isCancelled%20eq%20true also returned empty as there are no events with isCancelled=true in response

推荐答案

根据设计,当一个事件被取消时,它会从日历中删除.因此,今天没有办法查询已删除事件的列表.我们的待办事项中有一个项目用于支持已删除的事件,但没有时间表.

By design, when an event is canceled, it is deleted from the calendar. So, there isn't a way today to query list of events that are deleted. We have an item in our backlog for supporting deleted events, but no timeline.

这篇关于Microsoft Graph APi 未返回“已取消"活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆