leverage office 365 apis in your web and mobile...
TRANSCRIPT
Leverage Office 365 APIs in your Web and Mobile Apps
Senthil Kumar, Microsoft MVP – Windows Platform Development
Technical Lead, Trivium eSolutions
Agenda
• What is Office 365 ?
• Office 365 and Developers
• Getting Started with the Office 365 API
• Integrate Office 365 API in .NET Application
• Demo
WHAT IS OFFICE 365 ?
Office 2013 development options
DEMO
OFFICE 365 API
Robust Office 365 APIs
Why Do These REST APIs Matter?
9
What REST API’s are available?
• .NET SDK to build many types of apps using Visual Studio.NET Windows Store Apps
Windows Forms Application
WPF Application
ASP.NET MVC Web Application
ASP.NET Web Forms Application
Xamarin Android and iOS Applications
Multi-device Hybrid Apps (Cordova)
• Android SDK & iOS SDK’s
• Permissions– Read, Read+Write, Send
• Entities, Collections, Actions
• Samples– https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/
– https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=1
– https://outlook.office365.com/api/v1.0/Me/SendMail/
You’ve got Mail!
Entity Collection Actions
Folder Folders CRUD, Copy, Move
Message Messages
CRUD, Copy, Move, Reply, ReplyAll, Forward, Send, CreateReply,CreateReplyAll, CreateForward
Attachment Attachments CRUD
• Permissions– Read, Read+Write
• Entities, Collections, Actions
• Samples– https://outlook.office365.com/api/v1.0/Me/Calendar
– https://outlook.office365.com/api/v1.0/Me/Calendar/Events?$top=1
– https://outlook.office365.com/api/v1.0/Me/CalendarView?startDateTime=2014-10-01T01:01:01Z & endDateTime=2014-11-01T01:01:01Z
Calendar – Coffee with a Friend @ 6 ?
Entity Collection Actions
CalendarGroup CalendarGroups CRUD
Calendar Calendars CRUD
Event EventsCRUD, Accept, Decline, TentativelyAccept
CalendarView N/A Read
Attachment Attachments CRUD
• Permissions– Read, Read+Write
• Entities, Collections, Actions
• Samples– https://outlook.office365.com/api/v1.0/Me/ContactFolders(‘Contacts’)
/
– https://outlook.office365.com/api/v1.0/Me/Contacts/
Contacts – Your number again?
Entity Collection Actions
ContactFolder ContactFolders
Contact Contacts CRUD
• Permissions– Read, Read+Write
• Entities, Collections, Actions
• Samples– https://contoso-my.sharepoint.com/_api/v1.0/me/drive
– https://contoso-my.sharepoint.com/_api/v1.0/me/files
Files API
Entity Collection Actions
Drive Read
File Files CRUD, Upload, Download
Folder CRUD
DEMO
Resources
• Channel 9 MSDN
http://channel9.msdn.com/
• Office 365 IT Resources
https://products.office.com/en-in/business/office-365-it-resources
• Office Dev Center
http://dev.office.com/