outlook-restapi

Outlook Rest API: Download the email attachments of type .eml files using outlook rest API

安稳与你 提交于 2019-12-02 03:59:27
I followed this documentation to download the attachments of email. Below is the API response. If email attachment type is FileAttachment , I am able to get the file content in api response and able to save the attachment. If email attachment type is ItemAttachment , I am not able to get the file content in api response. When I googled for it, I found this stack overflow question. I used the rest API mentioned in the answer. But it's giving itemAttachment content in html format. And if that ItemAttachment has any fileattachment in it, then I am unable to access it. Is there any API available

Flagged messages via Office 365 REST API?

帅比萌擦擦* 提交于 2019-12-02 02:20:47
问题 I'm looking for a way to detect & set the 'flagged' status of an email using the Office 365 REST Message API. I don't see 'Flag' listed as a property of a REST Message, though I do see it listed under Exchange Web Services. I've attempted to make a REST call adding Flag to filtered properties, as well as SingleValueExtendedProperties and MultiValueExtendedProperties like: /folders/inbox/messages?$top=50&$select=Subject,...,Flag /folders/inbox/messages?$top=50&$select=Subject,...

Modifying single occurrence from recurring series is not reflected in the data read from the Rest API

人盡茶涼 提交于 2019-12-02 00:47:50
When you create occurring event in Office365 Outlook and modify any single occurrence (edit occurrence) the change is never reflected in the data consumed from the REST API. Both recurrence exception is not created (new event) and series master has no single field changed. Expected behavior is the SeriesMaster to contain list of exceptions (for example by dates), and each exception to be created as new separate event with link to the recurrence head (e.g.: SeriesMasterId). { "@odata.id ": "https: //outlook.office365.com/api/v1.0/Users('----')", "@odata.etag": "----", "Id": "----", "ChangeKey":

Microsoft Graph API: Is there any limit on payload size of a POST request

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 00:05:30
Is there any limit on the payload size of a POST request in Graph API. This link suggests a limitation of 4MB. Is there any reference to this in the documentation? Also is there any limitation for the outlook REST API That is correct, individual requests to Microsoft Graph must be 4MB of less. An example from the documentation for /attachments : Since there is currently a limit of 4MB on the total size of each REST request, this limits the size of the attachment you can add to under 4MB. 来源: https://stackoverflow.com/questions/46545077/microsoft-graph-api-is-there-any-limit-on-payload-size-of

Microsoft Graph API: Is there any limit on payload size of a POST request

回眸只為那壹抹淺笑 提交于 2019-12-01 23:42:15
问题 Is there any limit on the payload size of a POST request in Graph API. This link suggests a limitation of 4MB. Is there any reference to this in the documentation? Also is there any limitation for the outlook REST API 回答1: That is correct, individual requests to Microsoft Graph must be 4MB of less. An example from the documentation for /attachments : Since there is currently a limit of 4MB on the total size of each REST request, this limits the size of the attachment you can add to under 4MB.

Constructor of type HttpHandler not found using the Office 365 API

泄露秘密 提交于 2019-12-01 14:17:03
I recently started using the Office 365 API and can now successfully authenticate and get a token. Now I want to query the user's Exchange for meetings. To do this I run the example query from here : var client = new OutlookServicesClient(new Uri("https://outlook.office.com/api/2.0"), async () => { // Since we have it locally from the Session, just return it here. return token; }); var eventResults = await client.Me.Events.OrderByDescending(e => e.Start).Take(10).Select(e => new DisplayEvent(e.Subject, e.Start.ToString(), e.End.ToString())).ExecuteAsync(); // query: https://outlook.office.com

Constructor of type HttpHandler not found using the Office 365 API

て烟熏妆下的殇ゞ 提交于 2019-12-01 12:59:19
问题 I recently started using the Office 365 API and can now successfully authenticate and get a token. Now I want to query the user's Exchange for meetings. To do this I run the example query from here: var client = new OutlookServicesClient(new Uri("https://outlook.office.com/api/2.0"), async () => { // Since we have it locally from the Session, just return it here. return token; }); var eventResults = await client.Me.Events.OrderByDescending(e => e.Start).Take(10).Select(e => new DisplayEvent(e

Filtering multiple possible values with ExtendedProperties and Office 365 REST API

梦想与她 提交于 2019-12-01 12:53:13
问题 I am trying to get a list of emails given their InternetMessageID. For one given InternetMessageID, I can retrieve the corresponding mail following the syntax provided in Outlook documentation "https://outlook.office365.com/api/beta/me/messages?$filter=SingleValueExtendedProperties/any(ep: ep/PropertyId eq 'String 0x1035' and ep/Value eq '<12.FF.36768.EE3E3365@twitter.com>' )"; Now let us say that I want to retrieve two mails with the same request I did not manage to get a successful syntax.

setting event organizer with Outlook Calendar REST API

那年仲夏 提交于 2019-12-01 12:09:04
I am using the Outlook REST API for creating events and sending its invitations, based on this documentation I authenticate the logged in user, and send its Bearer token through the Authorization header of the request, and the json-formatted event on its content. If I set the "Organizer" to another user rather than the authenticated one, as well as the "IsOrganizer" property to "false", it gets totally ignored and sets the current logged in user as the organizer. Any clues of what could be happening? Is there another way of doing this? Thank you! This is the correct behavior. You cannot create

setting event organizer with Outlook Calendar REST API

◇◆丶佛笑我妖孽 提交于 2019-12-01 09:54:20
问题 I am using the Outlook REST API for creating events and sending its invitations, based on this documentation I authenticate the logged in user, and send its Bearer token through the Authorization header of the request, and the json-formatted event on its content. If I set the "Organizer" to another user rather than the authenticated one, as well as the "IsOrganizer" property to "false", it gets totally ignored and sets the current logged in user as the organizer. Any clues of what could be