updateScheduleEvent
Changes an event. Omitted arguments stay unchanged; null clears optional settings, and at least one argument is required. Kind, calendar and start/end times cannot be null. Changing kind resets the fields specific to the old kind. A new start without a dayId re-attaches the event to the day of its new start date; dayId: null detaches it. Requires edit access to the project. Returns the event's ID.
Arguments
calendarIdIDID of the calendar to move the event to. Omit to keep the current calendar; null is rejected.
dayIdIDID of the day to attach the event to. Omit to keep its placement; null detaches it from its day, including when changing start.
descriptionRichTextProjectionInputDescription of the event, as rich text. Used by
SCENE_SHOOTING,PREPARATION,MEETINGandGENERICevents. On updates, omit to leave unchanged; null clears the text and formatting. A client that edits plain text only sends an emptyhtml: the text then becomes paragraphs, and when it equals the stored text the stored formatting is kept.endDateTimeNew end time, as an ISO 8601 date-time in UTC. Omit to keep the current end; null is rejected.
eventIdID!ID of the event to change.
importantBooleanFlags a
PREPARATIONevent as important.kindEventKindNew kind of event. Omit to keep the current kind; null is rejected.
linkStringA URL for a
MEETINGevent, such as a video call link.locationIdIDID of the
Locationof the event. Used byLUNCH_BREAK,COMPANY_MOVEandMEETINGevents.locationNameStringDisplay name of the event's location. Used with
locationId.projectIdID!ID of the project.
protocolRichTextProjectionInputMinutes or notes of a
MEETINGevent, as rich text. On updates, omit to leave unchanged; null clears the text and formatting. A client that edits plain text only sends an emptyhtml: the text then becomes paragraphs, and when it equals the stored text the stored formatting is kept.sceneIdIDID of the scene shot or prepared. Used by
SCENE_SHOOTINGandPREPARATIONevents.shotIdIDID of the shot being prepared. Used by
PREPARATIONevents.startDateTimeNew start time, as an ISO 8601 date-time in UTC. Omit to keep the current start; null is rejected.
titleStringTitle of the event. Used by
SCENE_SHOOTING,MEETINGandGENERICevents.
Returns
ScheduleMutationResult!Example
mutation UpdateScheduleEvent($calendarId: ID, $dayId: ID, $description: RichTextProjectionInput, $end: DateTime, $eventId: ID!, $important: Boolean, $kind: EventKind, $link: String, $locationId: ID, $locationName: String, $menu: String, $projectId: ID!, $protocol: RichTextProjectionInput, $sceneId: ID, $shotId: ID, $start: DateTime, $title: String) {
updateScheduleEvent(
calendarId: $calendarId
dayId: $dayId
description: $description
end: $end
eventId: $eventId
important: $important
kind: $kind
link: $link
locationId: $locationId
locationName: $locationName
menu: $menu
projectId: $projectId
protocol: $protocol
sceneId: $sceneId
shotId: $shotId
start: $start
title: $title
) {
id
}
}