问题描述
我的问题与此问题几乎相同.我本来应该在那发表评论,但是由于是新用户而无法发表评论.
My question is nearly identical to this question. I would have just commented over there but am unable to do so due to being a new user.
如果我正在查询singleInstance
事件(这是预期的),我对https://graph.microsoft.com/v1.0/me/events?$filter=iCalUId eq '<iCalUId>'
的请求将返回事件对象.但是,看来如果该事件是系列的一部分,我会得到一个空数组.
My request to https://graph.microsoft.com/v1.0/me/events?$filter=iCalUId eq '<iCalUId>'
returns the event object if I am querying a singleInstance
event (this is expected). However, it appears that if the event is part of a series I get back an empty array.
我不确定我是否缺少某些东西,或者这是否是预期的行为.我已经搜索了MS Graph文档(包括这里和这里 ),并且无法找到此行为的原因.
I'm not sure if I am missing something or if this is expected behavior. I've scoured MS Graph docs (including here and here) and have not been able to find a reason for this behavior.
任何帮助,将不胜感激.
Any help with this would be greatly appreciated.
谢谢!
推荐答案
我遇到了同样的问题-我认为这是Microsoft Graph API中的错误.通过使用/calendarView 端点,当通过iCalUId
搜索时,该端点确实返回一系列事件的一部分.
I ran into the same issue - in my opinion this is a bug in the Microsoft Graph API. I was able to work around this issue by using the /calendarView endpoint which does return events that are part of a series when searching by iCalUId
.
这篇关于如果事件是系列的一部分,则在iCalUId上进行过滤将返回空数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!