Purva
Purva

Reputation: 155

MS Office365 Metadata URI Query

I am working on MS Office365 version 2.0 having metadata URI: https://outlook.office.com/api/v2.0/$metadata

This document includes all the EntityType supported by Office365 REST API.

In addition to this, there are few more EntityType like Conversation,ConversationThread,Post,Group etc. But when I try to access these EntityType with my office365 credentials using URI:
GET https://outlook.office.com/api/v2.0/me/Conversations

I am getting following error: "Resource not found for the segment 'Conversations'".

Additionally I found that the above mentioned EntityType are supported by Graph API.

So I had few queries regarding the same:

Let me know for any details.

Thanks

Upvotes: 1

Views: 111

Answers (1)

Fei Xue
Fei Xue

Reputation: 14649

This objects were available through the Office 365 unified API previously. And now it is renamed to Microsoft Graph.

We can list the conversations for the specific group like the request below:

GET https://graph.microsoft.com/v1.0/groups/<id>/conversations

More detail about Microsoft Graph you can refer here.

Upvotes: 0

Related Questions