MS Office365 Metadata URI Query

时间:2016-08-31 12:32:35

标签: office365 office365api

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:

  • Is the metadata URI same for MS Office 365 API and Graph API
  • Is there any way to differentiate between the EntityType of Office 365 and Graph.

Let me know for any details.

Thanks

1 个答案:

答案 0 :(得分:0)

此对象以前可通过 Office 365统一API 获得。现在它被重命名为 Microsoft Graph

我们可以列出特定群组的对话,例如下面的请求:

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

有关Microsoft Graph的更多详细信息,请参阅here