本文介绍了Google Calendar Api,会议室可用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您如何列出特定日期时间的特定日历资源(房间)的可用性?就像我想列出会议室的所有今天的事件(在所有已预订今天会议室的用户帐户事件中),哪个谷歌日历 api 调用可以给我呢?我从 Google Calendar Resource api 获取房间详细信息,但无法获取不同帐户为该房间预订的所有活动,如果您能提供帮助,请感谢它

How do you list availability of a spacific calendar resource(Room) for a specific DateTime? Like if I want to list all Today's events for meeting Room(across all user accounts events that have booked meeting room for today), which google calendar api call can give me that? I get the Room details from Google Calendar Resource api but can't get all events booked for that room by different accounts, Appriciate it if you can help

推荐答案

您需要被认证为对房间有读取权限的用户.然后,您可以获取日历资源 API 的 resourceEmail 字段并将其用作 events.list() 日历 API 调用.

You will need to be authenticated as a user that has read-access to the room. Then you can take the resourceEmail field of the Calendar Resource API and use it as a calendarId in the events.list() Calendar API call.

这篇关于Google Calendar Api,会议室可用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 11:28