Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Office 365 REST API - Mail, Calendar, Contacts Update

$
0
0

I wanted to share an update on our Mail, Calendar, Contacts REST API. Over the last few months we have been heads down updating the APIs. Most of the changes are a direct result of all the great feedback that we have received from customers like you and we are very excited about sharing these changes.  These changes are starting to light up in the service and we have already received questions/comments about them from some of you.

Some of these changes are not backward compatible.   Due to versioning not yet implemented (but coming soon!), and these API’s being in preview, they might require simple updates to your code.   Once versioning is in place, introducing non-backward compatible changes won’t impact your existing code.  Stay tuned for a full list of these changes along with the refreshed documentation and client libraries. 

We have received a number of questions on one specific change which I wanted to share a workaround for:

Folder names after ../ews/odata/Me, such as Inbox, SentItems, DeletedItems, Drafts will additionally require a “Folders” in front of them in the URL.

REST URL:

Before  : https://outlook.office365.com/ews/odata/Me/Inbox

Now      : https://outlook.office365.com/ews/odata/Me/Folders/Inbox

.Net code sample:

            var messageResultsBefore = await (from i in client.Me.Inbox.Messages select i).ExecuteAsync();

            var messageResultsNow = await (from i in client.Me.Folders.GetById("Inbox").Messages select i).ExecuteAsync();

If you are running into any issues please post on stackoverflow here:

http://stackoverflow.com/questions/tagged/office365

We apologize for any inconvenience and thank you for your continued feedback!



Viewing all articles
Browse latest Browse all 7132

Trending Articles