Google Calendar Api,有会议室吗? [英] Google Calendar Api, Is meeting Room available?

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

推荐答案

您需要作为对房间具有读取访问权限的用户进行身份验证.然后,您可以获取 Calendar Resource 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,有会议室吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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