The document contains information about the Microsoft Graph API including supported entities, collections, and actions for various services like Outlook, Calendar, Contacts, and Drive. It also includes examples of URLs to access different data through the API like getting messages from the inbox, getting events after a particular date, and getting a contact by name.
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’
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
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