Office 365的REST API列表资源(会议室) [英] Office 365 REST API list resources (meeting rooms)

查看:855
本文介绍了Office 365的REST API列表资源(会议室)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于Office365 REST API的问题。有没有一种方法来获得资源列表 - 会议室日历

I have a question about Office365 REST API. Is there a way to obtain list of resources - meeting room calendars.

我只能拿到如果我知道会议室的用户名,将发生在室召开会议。

I can only get meetings that will take place in room if I know meeting room username.

https://outlook.office365.com/api/v1.0/users/room1@xxxx.onmicrosoft.com/calendars

我可以列出所有的会议室,并获得他们的日历?

Can I list all meeting rooms and obtain their calendars?

推荐答案

您可以使用的 Azure的AD图形API 查询用户列表。然而,存在标志着一个用户作为一个会议室的API中没有字段。根据您的组织如何创造和名称的房间,也许你可以找到一个过滤器,将只返回房间。

You can use the Azure AD Graph API to query the list of users. However, there is no field in the API that marks a user as being a conference room. Depending on how your organization creates and names rooms, maybe you can find a filter that will only return rooms.

之后,它只是一个<问题href=\"http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx\"相对=nofollow>实施客户端凭据流动,以便您可以访问多个邮箱。

After that, it's just a matter of implementing the client credential flow so you can access multiple mailboxes.

这篇关于Office 365的REST API列表资源(会议室)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆