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

Productivity activities

Last updated Mar 13, 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated