1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Google_Calendar/Event-management/Edit-event.md
T
Vitaly the Alpaca (bot) d2f88b4a8e Main build (Jenkins)
2024-09-29 17:35:23 +03:00

1.2 KiB

sidebar_position
sidebar_position
6

Edit event

Edits an existing event

Function EditEvent(Val Token, Val Calendar, Val EventDescription, Val Event) Export

Parameter CLI option Type Description
Token --token String Token
Calendar --calendar String Calendar ID
EventDescription --props String New event description
Event --event String Event ID

Returns: Map Of KeyAndValue - serialized JSON response from Google


    Token       = "ya29.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
    Calendar    = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
    Event       = "h51qr9dclbnie1hh633er26umo";
    Description = "New event description";

    EventDescription = New Map;
    EventDescription.Insert("Description", Description);

    Result = OPI_GoogleCalendar.EditEvent(Token, Calendar, EventDescription, Event);
    
  oint gcalendar EditEvent --token %token% --calendar %calendar% --props %props% --event %event%