简体   繁体   中英

Microsoft Graph API: Filter Calendar Events by Attendees

Have to filter events by multiple attendees, I don't know the proper way of filtering it.

https://graph.microsoft.com/v1.0/me/events ?$filter=attendees/any(emailadress:startswith(emailadress/name,'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"
                }
            },

I want to get events list where attendess emailaddress are 'xxx@xx.com,yyy@yy.com'

From what I'm seeing, event attendee filtering seems to be broken. Check the link below:

Unable to filter messages...

I'm still searching to see if there's a way, and will update if/when I find something.

It seems like there is an open ticket dealing with this very issue. I've added my information to the ticket, but you might want to, as well.

Ms Graph Github Issues

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM