【问题标题】:Microsoft Graph API: Filter Calendar Events by AttendeesMicrosoft Graph API:按与会者筛选日历事件
【发布时间】:2017-08-29 14:19:00
【问题描述】:

必须过滤多个参与者的事件,我不知道过滤它的正确方法。

https://graph.microsoft.com/v1.0/me/events?$filter=attendees/any(电子邮件地址:startswith(电子邮件地址/名称,'xxxxv@xxx.com'))

"location": {
            "displayName": "Test"
        },
        "recurrence": null,
        "attendees": [
            {
                "type": "required",
                "status": {
                    "response": "none",
                    "time": "0001-01-01T00:00:00Z"
                },
                "emailAddress": {
                    "name": "yyyy ",
                    "address": "yyy@yyy.com"
                }
            },
            {
                "type": "required",
                "status": {
                    "response": "none",
                    "time": "0001-01-01T00:00:00Z"
                },
                "emailAddress": {
                    "name": "xxxx",
                    "address": "xxx@xxx.com"
                }
            },

我想获取参加者电子邮件地址为“xxx@xx.com,yyy@yy.com”的活动列表

【问题讨论】:

  • 试过https://graph.microsoft.com/v1.0/me/events?$filter=attendees/any(x: x/emailAddress/address eq 'my string')。但出现错误"'i => i.Attendees.Any(a => (a.EmailAddress == \"my string\"))' is not a supported filter expression."

标签: api odata microsoft-graph-api office365api


【解决方案1】:

据我所见,活动参与者过滤似乎已损坏。检查以下链接:

Unable to filter messages...

我仍在寻找是否有办法,如果/当我找到某些东西时会更新。

似乎有一张处理这个问题的公开票。我已将我的信息添加到票证中,但您可能也想添加。

Ms Graph Github Issues

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-28
    • 1970-01-01
    相关资源
    最近更新 更多