Upload
chakkaradeep-chandran
View
229
Download
1
Embed Size (px)
Citation preview
http://www.chakkaradeep.comhttp://twitter.com/chakkaradeep
z
z
Outlook Calendar People
OneDriveUsers Sites
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’
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
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
http://aka.ms/o365api-getting-started
https://
http://aka.ms/mdha