Graph JS > Tutorial > Get appointments

The following example shows you two different ways to get appointments for the specified date range (next 7 days). First we use mehtod getEvents with Query parameter to specify date range based on StartTime and EndTime properties. The method getEvents will return single appointments, but will not return occurences of recurring appoinments. On other side method getCalendarView returns single appointments and also occurences of recurring appointments.

Need help? Ask our developers: