Get Event Item

Required OAuth scope (least to most privilege):

Calendars.Read Calendars.ReadWrite

Related Sample

This example uses Get Calendar List and Get Event List to provide the calendar id and event id input to the view-calendar-event-details jig.

Event items
Event items

Examples and code snippets

circle-check

General

name: ms-graph-demonstrator
title: MS Graph Demonstrator
description: A solution using Microsoft Graph APIs .
category: business

onLoad:
  type: action.execute-action
  options:
    action: full-sync

onRefresh:
  type: action.execute-action
  options:
    action: full-sync

expressions:
  today: =$substring($now(), 0, 10)
  todayStart: =$toMillis($today)
  weekdayStr: =$floor($todayStart/86400000)
  weekdayNum: =($weekdayStr + 4) % 7
  startOfWeek: =$todayStart - ($weekdayNum * 86400000)
  thisWeek: =$startOfWeek + 604800000
  next7: =$number($todayStart) + 604800000

tabs:
  home:
    jigId: home
    icon: home

Functions

circle-info

We will use forRowsWithValues in the get-calendar-event-details function to update only one record in the calendarEvents table when called from onRefresh on the view-calendar-event-details jig. If you don't specify forRowsWithValues the entire table is wiped by the REST call and only the result is inserted. See REST Overviewarrow-up-right for more information on using forRowsWithValues with REST calls.

MS Graph Event Item function in GitHubarrow-up-right.

Jigs

MS Graph Calendar Events jig in GitHubarrow-up-right.

See Also

Last updated

Was this helpful?