Plan to assign a ChurchTools person or a name to an event service
ct_assign_event_serviceAssign one ChurchTools event service assignment to a person or name via a preview plan; choose personId or name, not both.
Instructions
Writes nothing: returns a plan that assigns one service assignment of an event (ct_get_event) to a ChurchTools person (personId) or to a name; give exactly one. For a helper without a ChurchTools account, ct_set_external_event_service is the alternative. ChurchTools gives the filled assignment a new id; ct_get_event shows it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The assignee's name, 2-255 characters | |
| comment | No | Up to 255 characters | |
| eventId | Yes | The event's id | |
| personId | No | The ChurchTools person's id | |
| isAccepted | No | true when the assignee already accepted | |
| eventServiceId | Yes | The id of one assignment in the event's eventServices (ct_get_event), not the serviceId |