I have been using 'Subscriptions' mechanism to get real time updates on Office calendar and mail. Now I just tried to listen for calendar events cancellation using the same mechanism but I noticed that I am not receiving 'delete' notifications for calendar events. Does anybody know if its an issue with api?
Cancelled events are not deleted until and unless user removes the event from the calendar. The event is updated to reflect that it's been canceled.
So you should get an update notification and the event being updated will have IsCancelled set to true.
Related
After the successful authentication on Google, user get event information
Which is processed on our server.
But if any events edit or delete user is not able to getting update regarding this, user need again call calender api.
How we can get changing update regarding google calendar events on our server without again call of calendar api.
If I understand you correctly, you want to receive a notification to your server whenever a calendar event changes.
If that's the case, consider using push notifications:
First, set up a URL where notifications will be received.
Second, call Events: watch to set up the notification channel.
Take a look at push notifications for a complete guide on this, and Events: watch for documentation on the method you'll have to call after setting up the webhook.
I want the ability to create a calendar using the calendar API and issue one-way syncs to this calendar when changes happen on my end. I do not want the user to be able to make changes, i.e., it should work like a subscription but instead of google pulling changes, I want to push changes. This way users can get the changes in real time as opposed to having to wait for a long time to see updates.
I looked through the APIs and I could find no way to a) create subscription b) force subscribed calendar refresh. I also tried creating a secondary calendar and setting ACLs on it for the current user but this also doesn't work, I get the following error:
"reason": "cannotChangeOwnAcl",
"message": "Cannot change your own access level."
Is there a way to accomplish this with the API?
I'm using the Google Calendar V3 API and I notice some calendar events are coming from the API with a status of Tentative. Can anyone tell me how this status comes about and how I can replicate it?
This is causing issues as my app is only syncing with calendar events which have a status of confirmed.
I've tried replicating using the online version of Google Calendar and app on Android but there doesn't seem to be a way to set tentative.
I've tried adding myself and others as guests and then setting attending to "maybe" - this isn't the answer and still comes through as "confirmed".
I did find a flow where the event status turned out to be "tentative". I created an event in Outlook calendar and set the status of the calendar as "tentative" (this can be done in outlook calendar UI). Now, I shared that event to my google calendar by adding my google calendar ID as participant. Since the ics file has the status to be "tentative", the event status was set as "tentative" when fetched with Google Calendar API. However, I did not find a way to directly create a tentative event in Google Calendar UI itself.
I'm having trouble figuring out a way to fetch "cancelled" events on Office 365. It seems like a pretty basic thing to do, however none of my attempts at figuring out how to do so have worked.
Reading the Office 365 API documentation, I can see that the Event resource has an IsCancelled boolean attribute, which should show true if the event was cancelled/deleted.
I've tried the numerous methods of getting events through the API with no luck. It seems that once an event is cancelled, it simply is removed from the returned results.
I also see that I can use OData query parameters to try and filter the results of the event fetching response, so I even tried setting a $filter=IsCancelled eq true query parameter on the request, but all I got back was a response with an empty data array. :/
Is there something obvious I'm missing? The documentation's pretty light here.
Today, the calendar REST APIs match Outlook behavior. So https://outlook.office365.com/api/v1.0/Me/Events?$filter=isCancelled%20eq%20true only returns deleted events that appear on a user's Outlook as "Cancelled: " in the subject line. Once a user removes a cancelled meeting from their calendar, it won't be returned. For meeting series, we don't have a way to currently return only the instances that were deleted.
Returning deleted events (single meetings, series, and specific instances of a series) is on our roadmap, as multiple partners have requested it. However, I don't have a timeline to share with you at the moment.
I am providing the ICal URL to my users so that they can subscribe this Ical in their Outlook.
But after the subscription, Outlook not showing the events from my web calender. It doesn't giving me any errors too. It simply displaying 'Last successful update: 6/20/2013 9:32 AM'.
How to debug this issue? Does Outlook will take some more time to subscribe the events?
Example Ical Url:
https://domain.com/user_token/basic.ical