...
You can find the calendar event ID in the output payload of the calendar manager node at msg.data.calendarData._id
You can use that calendar event ID to find the event.
...
Calendar - Select your calendar. (Project specific or Global)
Action - Find Event.
Example for Find payload
Code Block |
---|
{ "id": "5e09fa7f532bb6007859bfcb" } |
List events
You can list all the events based on criteria such as events within a specific time frame, events of a user, events of a participant and so on.
The below example will list all the events in a participant's calendar, which are created by the user, within the time frame given.
...
Calendar - Select your calendar. (Project specific or Global)
Action - List Events.
Example of List payload.
Code Block |
---|
{ "fromDate":"2017-07-05", "fromTime": "19:20", "toDate": "2017-07-05", "toTime": "19:20", "attributes":{"label": "notelabel-1,test" }, "user": "5953eb01bc64b00f3445c2c9", "participants":"5953eb01bc64b00f3445c2c9" } |
Attributes have 2 properties: text and label which are given by a comma separator.List Events - This will list all the events in a 'participant's' calendar, which are created by 'user', within the time frame given
Delete an event
Calendar - Select your calendar. (Project specific or Global)
Action - Remove Events.
Example of Get/ Remove payload.
Code Block |
---|
{ "id": "5e09fa7f532bb6007859bfcb" } |
The above code can be used to Find or Remove the details of a specific event if you already know the Event ID.currentUserId should be an inpu
The Calendar Manager node expects a currentUserId.
Related Articles
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|