Plan a change to a ChurchTools appointment
ct_update_appointmentUpdate a ChurchTools appointment by generating a reviewable plan that sends the full appointment, lists changed fields, and applies series changes to every occurrence.
Instructions
Writes nothing: returns a plan that changes the stored appointment. ChurchTools has no partial update here, so the plan sends the whole current appointment with the changes; the preview lists the changed fields. For a series the change applies to every occurrence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| fields | No | Further fields of the appointment, e.g. subtitle, description, link, address, repeatId (0 once, 1 daily, 7 weekly, 31 monthly by date, 32 monthly by weekday, 365 yearly, 999 manual dates), repeatFrequency, repeatUntil (YYYY-MM-DD); null clears a field | |
| endDate | No | YYYY-MM-DDTHH:mm:ssZ in UTC, or YYYY-MM-DD for an all-day appointment | |
| startDate | No | YYYY-MM-DDTHH:mm:ssZ in UTC, or YYYY-MM-DD for an all-day appointment | |
| calendarId | Yes | The calendar's id | |
| isInternal | No | false for a regular appointment; true only when it is visible exclusively to signed-in users | |
| appointmentId | Yes | The appointment's id; one id covers every occurrence of a series |