0
votes

I have created a calendar system that loads all events from a calendar using Google Calendar API in Javascript, and figures out if the event or free or busy by loading that JSON object.

I want to be able to programmatically, through Javascript preferably, through a link allow someone to click a link to accept the event (I have the event id, calendarId, etc) via email or on a landing page, and the Free/Busy Status will be toggled to Busy.

1

1 Answers

1
votes

You can try the Freebusy: query. It returns free/busy information for a set of calendars.

Free/busy — A time when a calendar has events scheduled is considered "busy", a time when a calendar has no events is considered "free". The Freebusy resource allows querying for the set of busy times for a given calendar or set of calendars.

Try to look at this link. This might help.