在Outlook日历中编辑重复事件中的事件 [英] editing an occurence in a recurrence event in outlook calendar
问题描述
我只编辑了一个重复系列中的一个事件.当我发送带有增量令牌的get请求时,我将获得seriesmaster的内容以及类型为exception的已编辑事件
I have edited only one event in a recurrence series. While I send a get request with delta token I will get the seriesmaster content, and the edited occurence with type exception
我的问题是如何修补此类事件.添加例外日期的属性是什么
My question is how do I patch these kind of events.what is the attribute to add the exception date
推荐答案
要创建异常,您需要(通过PATCH)修改要成为异常的实例.
In order to create an exception, you would need to modify (via PATCH) the instance you want to become the exception.
如果您这样做:
GET /me/events/{event-id-of-master}/instances?startDateTime={start}&endDateTime={end}
您将获得一次重复发生在start
和end
之间的实例的列表.您会注意到,每个实例都有自己的ID.使用该ID,您可以修补实例,就像修补其他任何非重复事件一样:
You get back a list of instances in the recurrence that fall between start
and end
. You'll notice that each instance has it's own ID. Using that ID, you PATCH the instance just like patching any other non-recurring event:
PATCH /me/events/{id-of-instance}
这篇关于在Outlook日历中编辑重复事件中的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!