outlook-restapi

Office 365 REST API list resources (meeting rooms)

大兔子大兔子 提交于 2019-11-29 04:07:07
I have a question about Office365 REST API. Is there a way to obtain list of resources - meeting room calendars. I can only get meetings that will take place in room if I know meeting room username. https://outlook.office365.com/api/v1.0/users/room1@xxxx.onmicrosoft.com/calendars Can I list all meeting rooms and obtain their calendars? You can use the Azure AD Graph API to query the list of users. However, there is no field in the API that marks a user as being a conference room. Depending on how your organization creates and names rooms, maybe you can find a filter that will only return rooms

Access to Outlook RestAPI from an Outlook web Add-in

时光总嘲笑我的痴心妄想 提交于 2019-11-28 13:45:23
I developed an Outlook Web Add-in that is working fine. It's a Taskpane that is available in compose mode of appointments and that collects event's data, adds a few ones and send that all to an API somewhere. What I would like to do now is to subscribe the authenticated user to the Outlook Rest API in order to get notified when the event is deleted. The subscription call should look like this one: POST https://outlook.office.com/api/v2.0/me/subscriptions HTTP/1.1 Content-Type: application/json { @odata.type:"#Microsoft.OutlookServices.PushSubscription", Resource: "https://outlook.office.com

Does “Outlook Mail REST API” include access to corporate MS exchange server email?

若如初见. 提交于 2019-11-28 06:37:35
问题 I found in the documentation of the "Outlook Mail REST API" (https://msdn.microsoft.com/office/office365/APi/mail-rest-operations) that it applies to "Exchange Online | Office 365 | Hotmail.com | Live.com | MSN.com | Outlook.com | Passport.com". Does the "Exchange Online" piece relate to the "Corporate Exchange-based email that does not use Office 365" that is mentioned in the table here (https://support.office.com/en-ca/article/Sign-in-to-Outlook-Web-App-e08eb8ac-ac27-49f4-a400-a47311e1ee7e)

Send new message that includes a different message from user's inbox as attachment

时间秒杀一切 提交于 2019-11-28 05:25:59
问题 I am working on a multi-tenant daemon application. The application needs to send an email on behalf of the user. The email sent by the application would have to include another email from the user's inbox as attachment. Can this be achieved by simply referring to the id of the existing email instead of downloading the content of the existing email? I am trying something like this below. Using the sendMail api and trying to refer the existing email item as an attachment. But I am getting this

Best way to achieve Conversation view for mail folder using Outlook REST API

浪子不回头ぞ 提交于 2019-11-28 05:22:51
问题 I would like to use the Outlook REST API to display the messages in a mail folder and group messages by conversations, like you have in any modern webmail. For example with inbox , I would request using a first query such as <mailuri>/inbox/messages?$select=ConversationId (by default it is reverse chronological order) It is not sufficient to group this request results by ConversationId because some emails may not be in inbox (think of sentmails ) or they may be paginated and not returned in

Get custom property set in Outlook Add-In via Microsoft Graph

六月ゝ 毕业季﹏ 提交于 2019-11-28 02:12:29
Let's say I have in my Outlook Add-In (using Office.js) following code running on a compose form of an appointment: const item = Office.context.mailbox.item; item.loadCustomPropertiesAsync((result) => { const props = result.value; const testProp = props.get("my_prop"); console.log("CUSTOM_PROP", testProp); props.set("my_prop", "test_value"); props.saveAsync((saveResult) => console.log("SAVE_CUSTOM_PROP", saveResult)); }); I see, that it actually is saved on the event. And now a bunch of questions regarding those custom properties: But are those somehow related to extended properties? Are those

Outlook REST API vs Microsoft Graph

坚强是说给别人听的谎言 提交于 2019-11-27 17:44:06
I am working on an application that needs to retrieve and edit calendar events from Outlook.com and Office 365. I have seen there are 2 options: Outlook REST API Microsoft Graph They seem to have pretty much the same interface. I saw that Outlook REST API has support for notifications (webhooks), Microsoft graph does not ?. So which one to choose, what are the advantages/disadvantages and why are there 2 api's ? To retrieve and edit calendar events from Outlook.com, Microsoft Graph API and Outlook REST API endpoints work. If you require Webhooks for an app you are planning to use in production

Outlook - Read another user's calendar

僤鯓⒐⒋嵵緔 提交于 2019-11-26 22:55:11
I'm developing an Android App based on Outlook-SDK-Android . The App talks with Outlook Calendar REST API to retrieve, book and delete events (see code examples here and here ). Now I need to read someone else's calendar and I've been provided an Office365 account with delegate access ( author permission level ) towards other users. I've registered my app using the provided account on the new portal . In my App I use the scope " https://outlook.office.com/Calendars.ReadWrite ". (The scope is used in com.microsoft.aad.adal.AuthenticationContext.acquireToken() to initialize an Office REST Client

Office365 API - Admin accessing another users/room's calendar events

故事扮演 提交于 2019-11-26 22:25:45
By hitting this request: https://outlook.office365.com/api/v1.0/users/room@email.com/events in a browser I can enter my admin username and password and get Calendar Events for that specific room. However when I try making this call from a native app with the admin authenticated I get this response: reason="The call should access the mailbox specified in the oauth token.";error_category="invalid_grant" How can I get calendar events for a specific room authenticated as the admin? Venkat Ayyadevara - MSFT At present we only allow access to mail, calendar and contacts belonging to the

Is it possible to retrieve the RFC 2822 (or any) headers from an email with the Outlook/Office 365 REST API?

好久不见. 提交于 2019-11-26 16:58:57
问题 An application I am working on needs access to the headers of an email - specifically ones like return-path , in-reply-to , and references . Ideally, we would love to be able to access all of the RFC 2822 headers of the email. Is this possible with the Outlook/Office 365 REST API? If not, is it possible with any API? 回答1: UPDATE: The InternetMessageHeaders property was added to the beta endpoint of the Outlook API, so you can get this without using the extended property stuff. You do have to