Deep Dive into the Office 365 PowerPoint Presentation

Deep Dive into the Office 365 PowerPoint Presentation

2017-07-16 51K 51 0 0

Description

RESTful. APIs. Rob Howard. DEV-B309. Session Objectives And Takeaways. Session Objective(s): . Understand why these Office 365 APIs were built. Learn how to get started with Office 365 APIs. ​See the key APIs available in the Office 365 APIs. ID: 570555

Embed code:

Download this presentation



DownloadNote - The PPT/PDF document "Deep Dive into the Office 365" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentations text content in Deep Dive into the Office 365

Slide1

Slide2

Deep Dive into the Office 365 RESTful APIs

Rob Howard

DEV-B309

Slide3

Session Objectives And Takeaways

Session Objective(s):

Understand why these Office 365 APIs were built

Learn how to get started with Office 365 APIs

​See the key APIs available in the Office 365 APIs

Enrich device apps and web sites with O365 services

Please continue to provide feedback, we’re listening

Slide4

My Apps

CONNECT TO

OFFICE 365 SERVICES

Users and

groups

Files

Mail

Calendar

Contacts

BUILD USING

AN OPEN PLATFORM

z

EXTEND OFFICE

EVERYWHERE

Users and

groups

What’s New

Slide5

O365 Device Apps

Slide6

Single auth flow for O365Azure AD Graph, Exchange, SharePointDevice apps and web sitesAdmin and end-user consentSecure protocolOAuth 2.0No capturing user credentialsFine-grained access scopesSupports MFA and federated user sign-inLong-term access through refresh tokens

Azure AD OAuth in O365 Preview

Slide7

Authentication to Office 365 APIs using Resource Id

Native Application

Azure AD Authorization

Endpoint

Azure AD Token

Endpoint

Office 365 API

Request authorization code

Sign-in via browser pop-up

Return authorization code

Redeem authorization code and acquire access token for Office 365 resource

Return access token and refresh token

Return Http Response

Call Office 365 API using the access token

Slide8

Azure AD OAuth and O365

Demo

Slide9

O365 Device Apps

Slide10

Automatically determine URL of O365 servicesSupports device app and web site flowsSecured using Azure AD authenticationServes information stored about services in AAD

O365 Discovery Services Preview

Slide11

Office 365 Discovery Services

Demo

Slide12

Simple REST/OData Service APIsExpose Files, Lists, Mail, Calendar, and People/GroupsAvailable now for SharePoint, Exchange, AADSupports Azure AD OAuthEndpoints found through service discovery

Office 365 API Preview

Slide13

PermissionsRead, Read+WriteEntities, Collections, ActionsSampleshttps://<onedrive>/_api/fileshttps://<onedrive>/_api/files('foldername/filename.foo')

Files

Entity

Collection

Actions

File

FileSystemItemCollection

CRUD,

Upload, Download

Folder

FileSystemItemCollection

CRUD, Enumerate

Children

Slide14

PermissionsRead, Read+WriteEntities, Collections, ActionsSampleshttps://outlook.office365.com/EWS/OData/Me/Calendarhttps://outlook.office365.com/EWS/OData/Me/Calendar/Events?$top=1

Calendar

Entity

Collection

Actions

CalendarGroup

CalendarGroups

 

Calendar

Calendars

 

Event

Events

CRUD, Accept

, Decline,

TentativelyAccept

Attachment

Attachments

CRUD

Slide15

PermissionsRead, Read+Write, SendEntities, Collections, ActionsSampleshttps://outlook.office365.com/EWS/OData/Me/Inboxhttps://outlook.office365.com/EWS/OData/Me/Inbox/Messages?$top=1

Mail

Entity

Collection

Actions

Folder

Folders

CRUD, Copy

, Move

Message

Messages

CRUD, Copy

,

Move

Reply

,

ReplyAll

, Forward, Send

CreateReply

,

CreateReplyAll

,

CreateForward

Attachment

Attachments

CRUD

Slide16

PermissionsRead, Read+WriteEntities, Collections, ActionsSampleshttps://outlook.office365.com/EWS/OData/Me/ContactFolders('Contacts')/https://outlook.office365.com/EWS/OData/Me/ContactFolders('Contacts')/Contacts

Contacts

Entity

Collection

Actions

ContactFolder

ContactFolders

 

Contact

Contacts

 

CRUD

Slide17

Rich Query Syntax using ODATA

Scenario

URL

Get 5 messages from

Inbox

Me/Inbox/Messages?$top=5

Get

the next 10 messages

Me/Inbox/Messages?$top=10&$skip=5

Get top 10

messages sorted by

DateTimeCreated

Me/Inbox/Messages?$top=10&$skip=10&$orderby=DateTimeCreated

Get selective properties on messages

Me/Inbox/Messages?$top=5&$select=From,DateTimeCreated,Subject

Get Events

starting after a particular

DateTime

Me/Events?$top=5&$filter=Start

ge

2014-03-04T20:00:00Z

Get

Contacts where Display Name contains ‘Rohit’

Me/Contacts?$top=10&$filter=contains(

DisplayName

,‘Rob')

Slide18

OneDrive for Business Files REST API

Get the metadata for all files in OneDrive

GET http://<

onedrive>/_

api/Files

Get the metadata for a folder in OneDrive

GET http://<

onedrive>/_

api/Files('folder')

Get the metadata for the children of a folder in OneDrive

GET http://<

onedrive>/_

api/Files('folder')/Children

Get the metadata for a single file in OneDrive

GET http://<

onedrive>/_

api/Files('folder/filename.docx')

Download a single file from OneDrive

GET http://<

onedrive>/_

api/Files('folder/filename.docx')/download

Slide19

OneDrive for Business Files REST API

Upload a file to the specified path in OneDrive (pass file in body)

POST /_

api/Files/Add(name='folder/filename.

docx

',overwrite=<

bool

>)

Delete a file from OneDrive

DELETE

/_

api/Files('folder/filename.docx

')

Get metadata for a folder and its children

GET /_

api

/Files('folder')?$expand=Children

Get on selected metadata fields back for first 5 files in OneDrive

GET

/_

api/Files?$

select=

Name,Id,TimeCreated,Size

&$top=5

Use Files API on other document libraries

GET /_

api

/Lists/

GetByTitle

('

ListTitle

')/Files

Slide20

http://aka.ms/Office365DevAPIs

Slide21

O365 APIs Preview

Demo

Slide22

Custom client code

_api

JavaScript library

Silverlight library

.Net

CLR library

Execute

query

REST/ OData

Search

Sites, Lists and Libs

Taxonomy

BCS

Workflow

The SharePoint client APIs

Slide23

Office 365

APIs

SharePoint

Sites

Exchange & Outlook.com

Calendar

Contacts

Mail

Active Directory

Users

Groups

OneDrive

OneDrive for Business

OneDrive

Client API

Search

Sites, Lists and Libs

Taxonomy

BCS

Workflow

Slide24

Available on GitHubSDK for native Android apps that use Office 365 APIsHandles Files, Lists, Mail, and CalendarIntegrates with AD Auth Library

Office 365 SDK for Android

Slide25

Android SDK for Office 365

Demo

Slide26

The Android SDK for Office 365 is one of manyWe’ll continue to add SDKs for additional web and device platforms in popularity orderWe’ll develop all SDKs in public open source projectsWe’ll take submissions from the community

Office 365

SDK Roadmap

Slide27

Get the tools

Slide28

.NET Windows Store AppsWindows Forms ApplicationWPF ApplicationASP.NET MVC Web ApplicationASP.NET Web Forms ApplicationXamarin Android and iOS ApplicationsMulti-device Hybrid Apps (Cordova)

Visual Studio project support

Slide29

Slide30

Office 365 API Tools for VS

Demo

Slide31

http://aka.ms/o365apis

Slide32

In Review: Session Objectives And Takeaways

Session Objective(s):

Understand why these Office 365 APIs were built

Learn how to get started with Office 365 APIs

​See the key APIs available in the Office 365 APIs

Enrich device apps and web sites with O365 services

Please continue to provide feedback, we’re listening

Slide33

Building skills

Microsoft Virtual Academydev.office.com/trainingCode Samplesdev.office.com/code-samplesDX Office 365 Dev CampsOffice 365 Summit Developer Trackssummit.office.com

Slide34

Developer Patterns & Practices

Transform your

code

Providing

App Model Patterns for

common SharePoint Full Trust Code and Office Add-in scenarios

60+ Visual Studio projectsCommon scenariosBrandingSite provisioningRemote event receivers

Large file supportTaxonomy driven navigationAnd much more… aka.ms/OfficeDevPnP

Slide35

Roadmap

Monthly updates

Associated blog posts

www.office.com/roadmap

Slide36

Customer

feedback

Yammer

Office 365 Technical NetworkStackoverflowUserVoiceDeveloper focusedBi-weekly triageLink to roadmap to show actionshttp://aka.ms/OfficeDevFeedback

Slide37

Resources

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

Developer Network

http

://developer.microsoft.com

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Sessions on Demand

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

Slide38

http://www.visualstudio.comhttp://blogs.msdn.com/b/developer-tools/http://msdn.microsoft.com/vstudio

DEV Track Resources

visualstudio

@

visualstudio

visualstudio

Slide39

Please Complete An Evaluation FormYour input is important!

TechEd Schedule Builder CommNet station or PC

TechEd Mobile

app

Phone or Tablet

QR code

Slide40

Evaluate this session

Slide41

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


About DocSlides
DocSlides allows users to easily upload and share presentations, PDF documents, and images.Share your documents with the world , watch,share and upload any time you want. How can you benefit from using DocSlides? DocSlides consists documents from individuals and organizations on topics ranging from technology and business to travel, health, and education. Find and search for what interests you, and learn from people and more. You can also download DocSlides to read or reference later.