Presentation is loading. Please wait.

Presentation is loading. Please wait.

z _api.

Similar presentations


Presentation on theme: "z _api."— Presentation transcript:

1

2

3 z

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21 _api

22

23

24

25

26

27

28

29

30

31

32 32

33

34 Single Authentication flow for O365 Azure AD Graph, Exchange, SharePoint Device apps and web apps Admin and end-user consent Secure protocol OAuth 2.0 No capturing user credentials Fine-grained access scopes Supports MFA and federated user sign-in Long-term access through refresh tokens

35 Office 365 discovery services Automatically determine URL of O365 services Supports device app and website flows Secured using Azure AD authentication Serves information stored about services in AAD Rich service metadata Lists all Entities, Collections, Actions, Complex Types, Enums and their Properties. e.g: https://outlook.office365.com/api/v1.0/$metadata

36

37 EntityCollectionActions FolderFoldersCRUD, Copy, Move MessageMessages CRUD, Copy, Move, Reply, ReplyAll, Forward, Send, CreateReply, CreateReplyAll, CreateForward AttachmentAttachmentsCRUD

38 EntityCollectionActions CalendarGrou pCalendarGroupsCRUD CalendarCalendarsCRUD EventEvents CRUD, Accept, Decline, TentativelyAccept CalendarViewN/ARead AttachmentAttachmentsCRUD

39 EntityCollectionActions ContactFolderContactFolders ContactContactsCRUD

40 EntityCollectionActions DriveRead FileFilesCRUD, Upload, Download FolderCRUD

41 EntityCollectionActions UserUsersCRUD Groups CRUD

42

43 ScenarioURL Get 5 messages from Inboxhttps://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=5 Get the next 10 messageshttps://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=10&$skip=5 Get top 10 messages sorted by DateTimeCreated https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=10&$orderby=D ateTimeCreated Get selective properties on messages https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=5&$select=From,DateTimeCreated,Subject Get events starting after a particular DateTime https://outlook.office365.com/api/v1.0/Me/Events?$top=5&$select=Subject,Start,End&$filt er=Start ge 2014-09-22T20:00:00Z Get Inbox messages with subject and attachment info https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$format=application/js on;odata.metadata=none&$select=Subject&$expand=Attachments Get # of messages with attachment(s) https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages/$count?$filter=HasAtta chments eq true Get count and selective props on messages with attachment(s) https://outlook.office365.com/v1.0/Me/Folders/Inbox/Messages?$format=application/json; odata.metadata=none&$select=Subject&$filter=HasAttachments%20eq%20true&$count= true Get contact with a given name https://outlook.office365.com/v1.0/Me/Contacts/?$filter=Givenname eq ‘Johnhttps://outlook.office365.com/v1.0/Me/Contacts/?$filter=Givenname eq ‘John’

44 44

45 https://contoso-my.sharepoint.com/_api/v1.0/me/drive

46

47 Add screens shot from link

48 Developer Patterns & Practices Make look cool

49

50

51

52 www.microsoft.com/learning http://developer.microsoft.com http://microsoft.com/technet http://channel9.msdn.com/Events/TechEd

53

54

55


Download ppt "z _api."

Similar presentations


Ads by Google