activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Feb 19, 2026

GetEvents

Returns events associated with a calendar and matching the request parameters.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

IReadOnlyCollection<ICalendarEvent> GetEvents(
	DateTime startDate,
	DateTime endDate,
	ICalendar calendar = null,
	int top = 50,
	string timeZone = "",
	string search = ""
)
IReadOnlyCollection<ICalendarEvent> GetEvents(
	DateTime startDate,
	DateTime endDate,
	ICalendar calendar = null,
	int top = 50,
	string timeZone = "",
	string search = ""
)

Parameters

startDate DateTime : The start date of the search interval.

endDate DateTime : The end date of the search interval.

calendar ICalendar (Optional) : The calendar the events belong to.

top Int32 (Optional) : The maximum number of events to return.

timeZone String (Optional) : The timezone to return the events in.

search String (Optional) : An advanced filter for the events.

Return value

IReadOnlyCollection<ICalendarEvent>

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.