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.
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'm trying to create a calendar event using the graph api that behaves in the same manner that manually creating an event in a channel using the Microsoft Team client would. In other words an event that shows up in the chat and "belongs" to the team. I want the event to behave as seen here.
So far i've tried to use the following endpoints with no luck. On all endpoints i've tried adding the team itself as a recipient/participant of the event but it had no result.
POST /groups/{id}/events
POST /groups/{id}/calendar/events
POST /users/{id | userPrincipalName}/events
Any help is appreciated at this stage.
The Teams in O365 portal will call an internal Teams API to finish the things you mentioned as your screenshot shows.
It doesn't call Microsoft Graph API. In another words, MS Graph doesn't provide an endpoint which schedules an online meeting in a channel currently.
Create an event as an online meeting doesn't send meeting info into a channel. Neither does Create onlineMeeting.
There is a workaround for you: create a Online meeting and then post information about that to a channel.
A related article for your reference.
I have been playing around with the Graph API to access the shared calendars and events within an organization.
I can successfully query my organization users and the calendar/events for any of those users. What I would like to do now is to generate a URL allowing you to jump to an outlook web session (eg - https://outlook.office365.com/calendar/) directly to a particular user's calendar (that you have access to).
I can see that Events have a 'WebLink' property that allows you to do this with a calendar event, but I can't find any documentation that indicates how you could jump to a calendar the same way.
I did find some old stuff implying that the old school OWA used to allow this but those url's don't look like they work anymore.
I also tried to pull apart the URL's provided when you 'share' you calendar with an external email address and it sends them a 'click here to add the calendar, or here to see a web view' etc email. That looked kind of promising because it actually DOES provide a direct link to a web version of the calendar; but it it includes a few fields in the URLthat I can't figure out (more than likely the external user auth) so I can't reverse engineer it to build one with the info I have available in the Graph API.
URL was of the form:
https://outlook.office365.com/owa/calendar/<userid>#<domain>/<52CharacterHex_ProbablyAHashedTokenForTheExternalUsersAuth>/<WindowsUserSID_ProbablyToRepresentTheExternalUserOrProxyAccessEntity>/reachcalendar.html
Anyone else got any ideas on how I can launch a web session of another uses calendar (that I have access to)? Ultimately what I am doing is creating a small management dashboard (using a summary built via Graph API data) that shows an overview of a collection of user's calendars but allows you to jump into the any individual user's full calendar if more info is required.
Publish to the web. follow this:
https://support.microsoft.com/en-us/office/share-your-calendar-in-outlook-on-the-web-7ecef8ae-139c-40d9-bae2-a23977ee58d5
basically
OWA -> Settings
Calendar -> Shared Calendars
Publish a Calendar -> copy HTML
Can we get the Working hours data from google calendar settings. I have gone through the APIs of calendar
: https://developers.google.com/calendar/v3/reference/settings/get
but didn't get the required data with this. Attaching the image for reference
Answer:
Unfortunately, in its current form, this isn't possible through the Calendar API.
Feature Request:
I did a search on Google's Issue Tracker and there is a Feature Request requesting the exposure of Working Hours through the Calendar API already.
You can find this Feature Request here, which you can give a star (☆) in the top left to let Google know more people wish for this request to be implemented.
I can see their calendars on the web when I sign on, can I retrieve this from API? I hope to be able to build an intelligent meeting assistant.
As seen in the Calendar Resource API docs right now:
The Google Data Calendar Resource API is now deprecated and is scheduled for sunset in January 2017. Apps should instead use the Directory API's Calendar Resource object.
As for the suggested Directory API, I think you could specifically use the resources.calendars.get which is described in the docs as (with parameters):
Retrieves a calendar resource.
Parameters:
calendarResourceId - The unique ID of the calendar resource to retrieve.
customer - The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
-- where I think you can specify the user to get that specific calendar from.