ms-office - 使用 Office 365 API 获取 CalendarView 时未返回 SeriesMaster

标签 ms-office office365 exchangewebservices

获取日历 View 的文档 ( https://msdn.microsoft.com/en-us/office/office365/howto/sync-calendar-view ) 暗示 SeriesMaster事件将在结果中返回,以及个别事件和异常。
文档说明(并通过示例显示):

Here's the information you need to know about how recurring events are handled for calendar view synchronization.

  • The service performs meeting expansion and sends the series master event and all of the event instances within the time window.
  • The series master event contains the recurrence pattern and the time window for the series.
  • The event instances contain their start and end time information as well as information about event occurrence exception.

然而,在实际使用这个端点时,我们只收到了发生/异常,而不是重复“主”。事件是完整的模型,不像更薄的模型只包含开始/结束,如文档状态。
能够获取同步 SeriesMaster 事件以及系列的异常(GCal singleEvents=false 可能)对我们来说很重要,这样我们就可以存储这些信息并在客户端执行重复扩展。
我在这里做错了什么?
请求(已解码以提高可读性):
GET https://outlook.office365.com/api/v1.0/Users(...)/calendarview?$sort=startDateTime desc&$top=100&startDateTime=2016-01-01T22:12:34+0000&endDateTime=2016-03-10T23:12:34+0000
当我们尝试在 EWS 中获取 CalendarView 时,也存在类似的问题。

最佳答案

Outlook 日历同步 REST API 对我来说很好用。当您删除 $top 查询参数时,API 对您有用吗?

因为 Outlook 日历同步 REST API 不支持 $filter、$count、$select、$skip、$top 和 $search 查询参数。

这是同步 API 的链接,供您引用:
https://msdn.microsoft.com/office/office365/api/calendar-rest-operations#Syncevents

以下是日历同步的回复供您引用:
enter image description here

关于ms-office - 使用 Office 365 API 获取 CalendarView 时未返回 SeriesMaster,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35708103/

相关文章:

excel - 删除所选区域中的评论

c# - 使用 Exchange Web 服务 API 确定邮箱是否存在

azure - 在管理员同意的情况下检索访问 token : how access the data of all the users of the organization?

c# - 有没有办法在运行时访问功能区 (XML)?

c# - 使用 C# 在 Excel 中更改单元格颜色

powershell - 导出包含不同数据的 CSV

c# - 如何创建 word 文档对象的克隆?

ms-office - Word Addin - 如何检查 createDocument() 函数是否可用?

c# - Exchange Web 服务 (EWS) 在所有文件夹中查找项目

c# - Exchange Web 服务 - 使用资源创建约会但与会者看不到资源