访问共享的日历(如通过Office 365的REST API的会议室) [英] Access a shared calendar (such as a meeting room via Office 365 REST API)

查看:397
本文介绍了访问共享的日历(如通过Office 365的REST API的会议室)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Office 365 REST API来访问我的帐户的日历。
我想访问所有我的帐户可以访问日历,尤其是出现在其他日历部分在我的办公室365接口的会议室日历。

I'm using the Office 365 REST api to access my account's calendars. I'd like to access all the calendars my account has access to, in particular the meeting rooms calendars appearing in the "Other calendars" section in my Office 365 interface.

现在,如果我查询 HTTPS://outlook.office365。 COM / API / 1.0 / ME /日历端点,我只有我自己的日历,而不是会议室的日历。

For now, if I query the "https://outlook.office365.com/api/v1.0/me/calendars" endpoint, I only got the calendars I own, not the meeting rooms calendars.

这是如何让他们任何线索(通过Office 365的REST API)?

Any clue on how to get them (via Office 365 REST API) ?

推荐答案

作为一个用户登录时的REST API不支持访问其他用户的日历。您可以使用客户端凭据模型授予在组织中的应用程序访问所有的日历和访问他们的方式。

The REST API doesn't support access to other user's calendars when logging in as a user. You can use the client credentials model to grant the app access to all calendars in the organization and access them that way.

这篇关于访问共享的日历(如通过Office 365的REST API的会议室)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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