Google Calendar Examples
The following are examples for Service Task Google Calendar:
Note: The use of the variable @@sub
can show different results, depending if this variable was used or not, in some cases the case will not work if the variable is not present.
Create a New Event
REST API: POST https://www.googleapis.com/calendar/v3/calendars/calendarId/events
Parameters:
Body:
Example:
Response:
Delete an Event
REST API: DELETE https://www.googleapis.com/calendar/v3/calendars/calendarId/events/eventId
Parameters:
Body: Not required
Example:
Response:
Get Event for Id
REST API: GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events/eventId
Parameters:
Body: Not required
Example:
Response:
List Events in My Calendar
REST API: GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events
Parameters:
Body: Not required
Example:
Response:
List Calendar
REST API: GET https://www.googleapis.com/calendar/v3/users/me/calendarList
Parameters:
Body: Not required
Example:
Response:
Update Event
REST API: PUT https://www.googleapis.com/calendar/v3/calendars/calendarId/events/eventId
Parameters:
Body:
Example:
Response: