Expanding and Filtering MS Graph API Does Not Work

前端 未结 2 1316
故里飘歌
故里飘歌 2021-01-25 09:28

I need to get an eventMessage from a user\'s mailbox that is associated with a specific event.

I have the event\'s iCalUId but I am unable to f

相关标签:
2条回答
  • 2021-01-25 09:46

    Graph doesn't support including a $filter in the $expand. From the documentation:

    $expand:

    • No support for nextLink
    • No support for more than 1 level of expand
    • No support with extra parameters ($filter, $select)

    What you can do is leverage the $search parameter to parameter to find all of the event messages ($search="kind:meetings) and then $expand the associated event:

    /me/messages?$search="kind:meetings"&$expand=microsoft.graph.eventMessage/event
    
    0 讨论(0)
  • 2021-01-25 10:09

    This worked for me, first I filtered then I expanded list

    https://graph.microsoft.com/v1.0/sites/{sideID}/lists/{listID}/items?$filter=fields/{Name of Field} eq '{VALUE}'&$expand=fields

    0 讨论(0)
提交回复
热议问题