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

查看:55
本文介绍了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 Graph 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.

在那之后,就只是实现客户端凭据流,以便您可以访问多个邮箱.

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天全站免登陆