狠狠撸

狠狠撸Share a Scribd company logo
http://www.chakkaradeep.com
http://twitter.com/chakkaradeep
Getting started with Office 365 APIs
Getting started with Office 365 APIs
Getting started with Office 365 APIs
z
z
Outlook Calendar People
OneDriveUsers Sites
Getting started with Office 365 APIs
Getting started with Office 365 APIs
Entity Collection Actions
Folder Folders CRUD, Copy, Move
Message Messages
CRUD, Copy, Move, Reply, ReplyAll,
Forward, Send, CreateReply,
CreateReplyAll, CreateForward
Attachment Attachments CRUD
Entity Collection Actions
CalendarGroup CalendarGroups CRUD
Calendar Calendars CRUD
Event Events CRUD, Accept, Decline, TentativelyAccept
CalendarView N/A Read
Attachment Attachments CRUD
Entity Collection Actions
ContactFolder ContactFolders
Contact Contacts CRUD
Entity Collection Actions
Drive Read
File Files CRUD, Upload, Download
Folder CRUD
? https://graph.windows.net/contoso.com/groups?api-version=1.5
Entity Collection Actions
User Users CRUD
Groups Groups CRUD
Scenario URL
Get 5 messages from Inbox https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=5
Get the next 10 messages https://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=
DateTimeCreated
Get selective properties on
messages
https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=5&$select=Fro
m,DateTimeCreated,Subject
Get events starting after a
particular DateTime
https://outlook.office365.com/api/v1.0/Me/Events?$top=5&$select=Subject,Start,End&$fil
ter=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/
json;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=HasAt
tachments 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 ‘John’
Getting started with Office 365 APIs
Getting started with Office 365 APIs
HTML
2. Click to select service
permissions.
3.Select service
permissions.
4. Click OK to submit your
changes.
1.. Select a service.
http://aka.ms/o365api-getting-started
Getting started with Office 365 APIs
Getting started with Office 365 APIs
Getting started with Office 365 APIs
Getting started with Office 365 APIs
Native Application
Azure AD Authorization
Endpoint
Azure AD Token
Endpoint Office 365 API
Native Application
Azure AD Authorization
Endpoint
Azure AD Token
Endpoint Office 365 API
Getting started with Office 365 APIs
http://aka.ms/o365api-getting-started
https://
http://aka.ms/mdha
Getting started with Office 365 APIs

More Related Content

Getting started with Office 365 APIs

  • 5. z
  • 6. z
  • 10. Entity Collection Actions Folder Folders CRUD, Copy, Move Message Messages CRUD, Copy, Move, Reply, ReplyAll, Forward, Send, CreateReply, CreateReplyAll, CreateForward Attachment Attachments CRUD
  • 11. Entity Collection Actions CalendarGroup CalendarGroups CRUD Calendar Calendars CRUD Event Events CRUD, Accept, Decline, TentativelyAccept CalendarView N/A Read Attachment Attachments CRUD
  • 12. Entity Collection Actions ContactFolder ContactFolders Contact Contacts CRUD
  • 13. Entity Collection Actions Drive Read File Files CRUD, Upload, Download Folder CRUD
  • 15. Scenario URL Get 5 messages from Inbox https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=5 Get the next 10 messages https://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= DateTimeCreated Get selective properties on messages https://outlook.office365.com/api/v1.0/Me/Folders/Inbox/Messages?$top=5&$select=Fro m,DateTimeCreated,Subject Get events starting after a particular DateTime https://outlook.office365.com/api/v1.0/Me/Events?$top=5&$select=Subject,Start,End&$fil ter=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/ json;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=HasAt tachments 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 ‘John’
  • 18. HTML
  • 19. 2. Click to select service permissions. 3.Select service permissions. 4. Click OK to submit your changes. 1.. Select a service. http://aka.ms/o365api-getting-started
  • 24. Native Application Azure AD Authorization Endpoint Azure AD Token Endpoint Office 365 API
  • 25. Native Application Azure AD Authorization Endpoint Azure AD Token Endpoint Office 365 API

Editor's Notes

  1. What new APIs are available, in preview, in the Office 365 Platform How to use these API’s in your platform of choice Some sample business scenarios for leveraging these API’s Level: Intermediate Audience: Developer Essentials
  2. High ROI