Reputation: 121
I need to find conversationId for email exchange between two user - John and Harry. In my scenario:
Can I make call like: GET /me/messages?$filter=internetMessageId eq abcd
Upvotes: 5
Views: 8479
Reputation: 2103
This works
https://graph.microsoft.com/v1.0/me/messages?$filter=internetMessageId eq '<[email protected]>'
BUT
One must URL encode the internetMessageId
Thus
https://graph.microsoft.com/v1.0/me/messages?$filter=internetMessageId eq '%3C1430948481468.34600%40THCIE7Dev2.onmicrosoft.com%3E'
Upvotes: 2
Reputation: 2460
Yes, you can make a GET call in the form you suggest - have you tried it? The graph API supports standard ODATA query parameters.
On the graph API explorer, the following call works for me:
https://graph.microsoft.com/v1.0/me/messages?$filter=internetMessageId eq '<[email protected]>'
Upvotes: 7