本文介绍了如果事件是系列的一部分,则过滤 iCalUId 会返回空数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我的问题与这个问题几乎相同.我本来会在那里发表评论,但由于是新用户,我无法这样做.

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.

如果我正在查询,我对 https://graph.microsoft.com/v1.0/me/events?$filter=iCalUId eq '<iCalUId>' 的请求会返回事件对象singleInstance 事件(这是预期的).但是,如果事件是系列的一部分,我会返回一个空数组.

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 会返回空数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 01:30