24
Office 365 API - Connected Services for Web & Mobile Senthil Kumar Microsoft MVP – Windows Platform Development MobileOSGeek.com

Office 365 API - Connected Services for Web & Mobile

Embed Size (px)

Citation preview

Office 365 API - Connected Services for Web & Mobile Senthil Kumar

Microsoft MVP – Windows Platform Development

MobileOSGeek.com

About Me

• Work for Trivium eSolutions , Bangalore

• Microsoft MVP in Windows Platform Development.

• Speaker , Blogger and Software Engineer

• BDotNetter

• Blog about Mobile development at MobileOSGeek.com

• Twitter : @isenthil

Agenda

• What is Office 365 ?

• Office 365 and Developers

• Getting Started with the Office 365 API

• Integrate Office 365 API in .NET App

• Demo

What is Office 365?

Office 2013 development options

Office 2013 development example scenarios

Office 365 API

Robust Office 365 APIs

Why Do These REST APIs Matter?

10

What REST API’s do we offer?

• .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 Events CRUD, 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

Steps for accessing the API from your App

• Set up your Office 365 development environment

• Get an Office 365 Developer Site

• Set up Azure Active Directory access for your Developer Site

• Get your developer tools

• Install Visual Studio and the Office Developer Tools to create .NET and hybrid (Xamarin and Apache Cordova) projects.

• Use the Android SDK for Office 365 to create Android apps

• Use the iOS SDK for Office 365 to create native iOS apps

• Call the Office 365 REST APIs directly using any REST-compatible development environment and language

Integrate Office 365 API in your Project

• Use the Visual Studio Service Manager to register your app and add Office 365 APIs to your project.

• Authenticating with Azure Active Directory

• Use the Office 365 discovery service to determine resource endpoints

• Access Office 365 resources like mail , contacts etc.

Demo

Resources

www.microsoft.com/learning

http://developer.microsoft.com http://microsoft.com/technet

http://channel9.msdn.com/Events/TechEd

http://www.visualstudio.com

http://blogs.msdn.com/b/developer-tools/

http://msdn.microsoft.com/vstudio

Building skillsMicrosoft Virtual Academy

Code Samples

DX Office 365 Dev Camps

Office 365 Summit Developer Tracks

summit.office.com