Get a User's Events

This operation retrieves all the events that are in a specified user's Outlook calendar.

📘

Note: This operation is part of the Outlook Book (BDK). To use this book, you need to first learn it in your agent.

Note: This operation requires the following permissions on the application: Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite

Input Concepts

ConceptDescriptionTypeRequired
userThe user's calendar from where the events will be retrieved fromoffice userYes

Output Concepts

ConceptDescriptionType
user's eventsAll the events for the useroutlook event

Examples

Retrieve all events for the specified user

get users from office365 whose mail is "john@acme.org"
use the first user as john
get john's events from outlook

Retrieve all events for the specified user whose subject matches the specified one

get users from office365 whose mail is "john@acme.org"
use the first user as john
get john's events from outlook whose subject is "Birthday Party"

Retrieve all events whose start date is after Jul 7, 2022 12:30 UTC

get users from office365 whose mail is "john@acme.org"
use the first user as john
get john's events from outlook whose "start/dateTime" is greater than "2022-07-14T12:30:00Z"