首页 > 解决方案 > 如何通过 URL 在 Google 日历中包含来宾和创建新活动的通知

问题描述

通过 URL 在 Google 日历中创建新活动时如何将来宾和通知作为“GET”参数包含(例如https://www.google.com/calendar/render?action=TEMPLATE&text=test&details=this+is+a+test&location =意大利&日期=20210119T165500Z%2F20210120T165500Z )?

例子

谢谢

标签: calendargoogle-calendar-api

解决方案


创建新事件时,您要使用应通过 POST 请求请求的方法Events.insert

发布https://www.googleapis.com/calendar/v3/calendars/calendarId/events

它需要几个查询参数,但事件资源(与会者被发送到的地方)应该作为请求的主体传递。不在网址中。


推荐阅读