I am making a web app which pulls the names and events of rooms from outlook calendar. I am able to get rooms list but how can I get the calendar schedule for each room. How would the get request look like then?
Here's the link of the tutorial that I used: Build Node.js Express apps with Microsoft Graph
Here's the link of the documentation of the room list: user: findRooms
The getSchedule method get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period.
POST /users/{id|userPrincipalName}/calendar/getSchedule
If successful, this method returns a 200 OK response code and a collection of scheduleInformation objects for each object in the schedules parameter.
It looks like the API is still in Beta and not yet supported in production applications. So, I'd suggest double check whether it works now in production or not.
Related
I'm new to Power Automate and trying to get the "Category" flag that is placed on emails after received. My number one problem is finding a connection that has the category object available.
These are the objects I'm trying to find, in Outlook web they are 'category labels'
In web searches I'm getting contradictory information, one they can't be found: Link
Another says if you connect to Outlook365 you'll have 'Categories' Link, these may only be associated with calendar entries.
The Connections I've been able to make are to Shared Mailboxes, I'm now experimenting with my personal work mailbox (Outlook 365) and not finding it there either.
Any help would be greatly appreciated.
You can use the List Outlook categories Graph API method for this. Use the below Uri in a Send an HTTP request Outlook Office 365 connector action.
https://graph.microsoft.com/v1.0/me/outlook/masterCategories
I'm currently trying to set up a workflow within Microsoft Power Automate to do the following:
If an email is sent to a shared email box create a new task in DevOps
If someone replies back to that initial email - any responses to that thread will be tracked in the original task, and no additional tasks will be created from that chain.
Right now I'm leveraging the template that Microsoft provides called "Create a workitem in Azure DevOps when new email arrives in shared mailbox", but it creates additional tasks anytime someone replies back to the thread.
Anyone have suggestions?
Thanks,
You could use a condition that checks the 'Conversation Id' then if it matches an Id from a previously sent email's Conversation Id it does nothing. If it is new, then you'll get a new task.
If you are archiving handled emails, you'll need to filter results from the archival folder.
Here it is mapped out with a SharePoint list mapping the Conversation Id from each email:
Once the details are logged, the Get Items action on the SharePoint list pulls all items. However in that pull it uses an ODATA Filter on:
conversationId eq '<Conversation Id from trigger>'
Then if the number of matches is more than the one that you've just registered in the list, that means it was a response and the flow will follow the "no" branch. However, if it is the only entry, a new work item can be made.
You can make this much more complicated, dependent on requirements, in many areas, as that why you are using Power Automate. For example you could make API (Graph) calls to get Shared Box emails, but this is simpler, and works on a free flow plan until they add a "Get Emails from a Shared Mailbox" connector.
It's not picture perfect, because it doesn't handle a changed subject line, but it does do the job required.
Just like in the title. I would like users using Outlook to be able to click a link in the appointment which will redirect them to the site with additional data about this meeting. This link should be available in a few seconds after creating this appointment, best immidiately. The link may contain either id to this meeting in Exchange or date, time and room.
Is it possible by using transport rules? I couldn't find anything relevant.
Second way to achieve it may be a service which will scan appointments and append relevant link, but it should work every few seconds and be fully reliable.
Any other way? I can't see anything in message/appointment headers :/
I would like to support Exchange versions from 2010 up to Online.
I am developing a SPA webapp through which I add events to my users google calendar They have given permission for. However this is my first time using Google calendar API, and was unclear about how to retrieve my users existing events , or if they add new events or delete them. IS there an option to set a webhook within google calendar thus when the user makes any changes to the calendar I can receive the change. My current approach was to make multiple get requests but that seems very inefficient. How can I keep my app calendar in sync with all user created events.
You can set up a push notification to be alerted any time anything changes on one of your calendars. I looked into it before a little, if memory serves it doesn't alert you to a lot of particularly useful information (I don't believe it tells you exactly what changed and how). Check out the docs here: https://developers.google.com/google-apps/calendar/v3/push
What I ended up doing was setting up a cronjob and getting all of my calendars' events using the synctoken, which returns only the events that have changed since the last time I polled the API for events. https://developers.google.com/google-apps/calendar/v3/sync
If you are using the SyncToken in your request for data, all you get back is the events that have changed. There is an eventID in the Google records that you can use to connect the change to your event data.
In MailChimp API 2.0 there was a single command, helper/lists-for-email, that would return all of my lists that a particular email address was subscribed to.
https://apidocs.mailchimp.com/api/2.0/helper/lists-for-email.php
I'm having trouble finding anything similar in MailChimp API 3.0.
http://developer.mailchimp.com/documentation/mailchimp/reference/overview/
We have our own page on our website for managing newsletter preferences, and we need to be able to have some of our list options pre-checked when a logged-in user looks at the list, based on which lists he is subscribed to. All I have been able to figure to do is to check the API for each list individually (10 different API calls) to see if a specific email address is subscribed, but this takes a very long time and I am concerned it may time out for some users depending on network traffic. Either way, it's so long that it's an awful user experience.
Is there one API 3.0 call I can make to find out which of my lists a user is subscribed to, like there was in 2.0?
There is now a solution using the following API:
http://developer.mailchimp.com/documentation/mailchimp/reference/lists/#read-get_lists
You can include the "email" field to filter by a user's email.