I am able to get all my events by doing the following:
function myFunction() {
var cal = CalendarApp.getCalendarById(id);
var events = cal.getEvents(startTime, endTime);
for ( var i in events ) {
var id = events[i].getId();
}
}
The issue is that all events that are part of a recurring event have the same id. How can I get the instanceId of my events?
I am using google apps script
How can I solve that?
Thanks