0

Assume I have an event (that has attachments) attached to my email, then I will use the api call provided here and get the event details, but I see that "Id" property is missing in the response. The same happens for messages as attachments. My problem is if I do not have the eventId or messageId, then I am not able to get their attachments.

Please see the below picture which shows the response from the provided api call here.

attached picture

Community
  • 1
  • 1
AidaNow
  • 598
  • 5
  • 12
  • Possible duplicate of [How to retrieve FileAttachment from ItemAttachment in Office 365 Mail REST API?](http://stackoverflow.com/questions/33239223/how-to-retrieve-fileattachment-from-itemattachment-in-office-365-mail-rest-api) – Jason Johnston Feb 17 '17 at 20:12

1 Answers1

0

As mentioned here, we can use the following api call:

GET https://outlook.office.com/api/beta/me/messages/[message-id]?$expand=Attachments($expand=Microsoft.OutlookServices.ItemAttachment/Item($expand=Microsoft.OutlookServices.Event/Attachments))

Community
  • 1
  • 1
AidaNow
  • 598
  • 5
  • 12