marjory-logo

Google Calendar

Limited Use Requirements

App’s use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy, including the Limited Use requirements.

Tables of Contents


Contexts

You only need to SignIn with Google in order to use this application. You must have a Google Account.

Signin with Google

You must grant Marjory the access authorisation (scopes) needed to run the application.


calendar_Id

Type Description isCrypt
string Calendar identifier true

secretId

Type Description isCrypt
string Unique identifier made available through the portal and used for API requests. true

clientId

Type Description isCrypt
string The Client ID is a unique identifier for a browser–device pair true

Actions

Find Calendar Event

Find calendar event by event id

Inputs

{
  "event_id": "1mqcnjn41adnm7i75q5oj8d0i7", /*Recurring event identifier.(required)*/
}

Outputs

Http Code 200
{
  "data": {

  }
}
Http Code 400
"Bad Request"
Http Code 401
"Unauthorized"
Http Code 403
"Forbidden"
Http Code 404
"Not Found"
Http Code 500
"Internal Server Error"

Update Calendar Event

Update calendar events

Inputs

{
  "event_id": "1mqcnjn41adnm7i75q5oj8d0i7", /*Recurring event identifier.(required)*/
  "location": "800 Howard St., San Francisco, CA 94103", /*Adding an address into the location field enables features such as "time to leave" or displaying a map with the directions*/
  "summary": "Google I/O 2015", /*a summary of your event(required)*/
  "description": "A chance to hear more about Google\\'s developer products.", /*Description of your event*/
  "start": { /*(required)*/
    "dateTime": "2015-05-28T09:00:00-07:00", /*(required)*/
    "timeZone": "America/Los_Angeles", /*(required)*/
  }
  "end": { /*(required)*/
    "dateTime": "2015-05-28T09:00:00-07:00", /*(required)*/
    "timeZone": "America/Los_Angeles", /*(required)*/
  }
  "recurrence": [
    "RRULE:FREQ=DAILY;COUNT=2", /*(required)*/
  ]
  "attendees": [ /*email of people to invite*/
    { /*(required)*/
      "email": "lpage@example.com", /*(required)*/
    }
  ]
  "reminders": {
    "useDefault": "boolean", /*(required)*/
    "overrides": [ /*(required)*/
      { /*(required)*/
        "method": "string", /*(required)*/
        "minutes": "number", /*(required)*/
      }
    ]
  }
}

Outputs

Http Code 200
{
  "data": {

  }
}
Http Code 400
"Bad Request"
Http Code 401
"Unauthorized"
Http Code 403
"Forbidden"
Http Code 404
"Not Found"
Http Code 500
"Internal Server Error"

Delete Calendar Event

Delete calendar event

Inputs

{
  "event_id": "1mqcnjn41adnm7i75q5oj8d0i7", /*Recurring event identifier.(required)*/
}

Outputs

Http Code 200
{
  "data": {

  }
}
Http Code 400
"Bad Request"
Http Code 401
"Unauthorized"
Http Code 403
"Forbidden"
Http Code 404
"Not Found"
Http Code 500
"Internal Server Error"

Create Calendar Event

Create calendar events and add them to your guests' calendars

Inputs

{
  "location": "800 Howard St., San Francisco, CA 94103", /*Adding an address into the location field enables features such as "time to leave" or displaying a map with the directions*/
  "summary": "Google I/O 2015", /*a summary of your event(required)*/
  "description": "A chance to hear more about Google\\'s developer products.", /*Description of your event*/
  "start": { /*(required)*/
    "dateTime": "2015-05-28T09:00:00-07:00", /*(required)*/
    "timeZone": "America/Los_Angeles", /*(required)*/
  }
  "end": { /*(required)*/
    "dateTime": "2015-05-28T09:00:00-07:00", /*(required)*/
    "timeZone": "America/Los_Angeles", /*(required)*/
  }
  "recurrence": [
    "RRULE:FREQ=DAILY;COUNT=2", /*(required)*/
  ]
  "attendees": [ /*email of people to invite*/
    { /*(required)*/
      "email": "lpage@example.com", /*(required)*/
    }
  ]
  "reminders": {
    "useDefault": "boolean", /*(required)*/
    "overrides": [ /*(required)*/
      { /*(required)*/
        "method": "string", /*(required)*/
        "minutes": "number", /*(required)*/
      }
    ]
  }
}

Outputs

Http Code 200
{
  "data": {

  }
}
Http Code 400
"Bad Request"
Http Code 401
"Unauthorized"
Http Code 403
"Forbidden"
Http Code 404
"Not Found"
Http Code 500
"Internal Server Error"

Events

Event Started

A new calendar event has started

Payload

{
  "calendarId": "p0splnvtb2ae6pnequodc2nh8@group.calendar.google.com", /*Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.*/
  "eventId": "1mqcnjn41adnm7i75q5oj8d0i7", /*Recurring event identifier.*/
  "alwaysIncludeEmail": true, /*Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).*/
  "maxAttendees": 11, /*The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.*/
  "maxResults": 100, /*Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.*/
  "originalStart": "America/Los_Angeles", /*The original start time of the instance in the result. Optional.*/
  "pageToken": 100, /*Token specifying which result page to return. Optional.*/
  "showDeleted": "boolean",
  "timeMax": "2022-05-28T17:00:00-22:00", /*Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset.*/
  "timeMin": "2022-05-28T17:00:00-22:00", /*Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.*/
  "timeZone": "America/Los_Angeles", /*Time zone used in the response. Optional. The default is the time zone of the calendar.*/
}

Event Updated

A calendar event has been updated

Payload

{
  "location": "800 Howard St., San Francisco, CA 94103", /*Adding an address into the location field enables features such as "time to leave" or displaying a map with the directions*/
  "summary": "Google I/O 2015", /*a summary of your event*/
  "description": "A chance to hear more about Google\\'s developer products.", /*Description of your event*/
  "start": {
    "dateTime": "2015-05-28T09:00:00-07:00",
    "timeZone": "America/Los_Angeles",
  }
  "end": {
    "dateTime": "2015-05-28T09:00:00-07:00",
    "timeZone": "America/Los_Angeles",
  }
  "recurrence": [
    "RRULE:FREQ=DAILY;COUNT=2",
  ]
  "attendees": [ /*email of people to invite*/
    {
      "email": "lpage@example.com",
    }
  ]
  "reminders": {
    "useDefault": "boolean",
    "overrides": [
      {
        "method": "string",
        "minutes": "number",
      }
    ]
  }
}

Event Created

A new calendar event has been created

Payload

{
  "location": "800 Howard St., San Francisco, CA 94103", /*Adding an address into the location field enables features such as "time to leave" or displaying a map with the directions*/
  "summary": "Google I/O 2015", /*a summary of your event*/
  "description": "A chance to hear more about Google\\'s developer products.", /*Description of your event*/
  "start": {
    "dateTime": "2015-05-28T09:00:00-07:00",
    "timeZone": "America/Los_Angeles",
  }
  "end": {
    "dateTime": "2015-05-28T09:00:00-07:00",
    "timeZone": "America/Los_Angeles",
  }
  "recurrence": [
    "RRULE:FREQ=DAILY;COUNT=2",
  ]
  "attendees": [ /*email of people to invite*/
    {
      "email": "lpage@example.com",
    }
  ]
  "reminders": {
    "useDefault": "boolean",
    "overrides": [
      {
        "method": "string",
        "minutes": "number",
      }
    ]
  }
}
Version(s)
1.0.3