Office 365的API EWS日历不扩大周期性事件 [英] Office 365 API EWS calendar not expanding recurring events

查看:357
本文介绍了Office 365的API EWS日历不扩大周期性事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用REST服务,新的Office 365的API preVIEW。

以下请求返回了非经常性损益的约会和定期约会高手,但所有的经常性系列单出现缺失:

<$p$p><$c$c>https://outlook.office365.com/ews/odata/Me/Events?$top=30&$select=Subject,Start,End&$filter=End+ge+2014-12-01T01%3A00%3A00Z+and+Start+le+2015-02-01T01%3A00%3A00Z

在EWS托管API有一个方法 ExchangeService.FindAppointments 它扩展了一系列定期日历项目,并返回非定期约会,定期系列的单事件和异常反复出现的系列。 MSDN

做哪些参数我需要使用也得到了经常性系列单出现,并且例外定期系列使用Office 365 REST API?


解决方案

感谢在Office 365日历的API的兴趣!目前,我们正在推出一个API来展开具体的会议系列对于一个给定的时间内,和API提供了日历视图,即对于一个给定时间内的所有会议(单实例,事件和会议系列例外)列表。一旦部署完成后,我们将更新我们的文档与新的API的细节。我相信这些A​​PI将满足您的需求。

你能不能请尝试以下网址是什么?这个新的API CalendarView几乎全面部署,但我们仍在更新文档。在此期间,请让我知道,如果这个要求对你的作品。

<$p$p><$c$c>https://outlook.office365.com/ews/odata/Me/CalendarView?$top=30&$select=Subject,Start,End&startDateTime=2014-12-01T01:00:00Z&endDateTime=2015-02-01T01:00:00Z

让我知道如果您有任何疑问或需要更多的信息。

谢谢,

Venkat在

I am using REST services with the new Office 365 API Preview.

The following request returns the "Non-recurring appointments and recurring master appointments", but all "single occurrences of recurring series" are missing:

https://outlook.office365.com/ews/odata/Me/Events?$top=30&$select=Subject,Start,End&$filter=End+ge+2014-12-01T01%3A00%3A00Z+and+Start+le+2015-02-01T01%3A00%3A00Z

The EWS Managed API has a method ExchangeService.FindAppointments that expands a series of recurring calendar items and returns "Non-recurring appointments, single occurrences of recurring series, and exceptions to recurring series". MSDN

What parameters do I need to use to also get the "single occurrences of recurring series, and exceptions to recurring series" using the Office 365 REST API?

解决方案

Thanks for your interest in Office 365 Calendar APIs! We are currently rolling out an API to expand a specific meeting series for a given timeframe, and an API to provide a calendar view i.e. list of all meetings (single instances, occurrences and exceptions of a meeting series) for a given timeframe. As soon as the deployment is complete, we will update our docs with details on the new APIs. I believe one of these APIs will meet your needs.

Can you please try the following URL? This new CalendarView API is almost fully deployed, but we are still updating documentation. In the meantime, please let me know if this request works for you.

https://outlook.office365.com/ews/odata/Me/CalendarView?$top=30&$select=Subject,Start,End&startDateTime=2014-12-01T01:00:00Z&endDateTime=2015-02-01T01:00:00Z

Let me know if you have any questions or need more info.

Thanks,

Venkat

这篇关于Office 365的API EWS日历不扩大周期性事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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