inviteToEvent

Invite one or more calendars to this event ( any non existent calendar passed in to calendarIds will be created and invited )

inviteToEvent(
eventId: String!
calendarIds: [String] = []
): Event

Arguments#


eventId
The id of an existing event. providing a non existent eventId will result in an IllegalStateException

calendarIds
List of calendar ids to be invited to this event. Providing non existent calendarIds will result in the creation and invitation to new calendars.

Type#

Event#

Example#

this is a quick way to create calenders and invite them to this event. Rather than calling --->createOrUpdateCalendar<--- and then this
mutation{
inviteToEvent(eventId:$existingEventId, calendarIds:[$createThisCalenderId,$existingCalenderId]){
id
}
}