谷歌日历API,是会议室可用? [英] Google Calendar Api, Is meeting Room available?

查看:356
本文介绍了谷歌日历API,是会议室可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为特定日期时间列出spacific日历资源(室)的可用性?就像如果我想列出所有今天的事件会议室(所有用户帐户已预订的会议室,今天的事件),其中谷歌日历API调用,可以给我吗?我从谷歌日历资源API客房的细节,但不能得到预订了该房间由不同的帐户的所有事件,Appriciate,如果你能帮助

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.

这篇关于谷歌日历API,是会议室可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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