Plan to add a person to a ChurchTools group
ct_add_group_memberPlan adding a person to a ChurchTools group by specifying group, person, and optional role or start date. If already a member, update the membership instead.
Instructions
Writes nothing: returns a plan that adds the person to the group. A person who is already a member is an error; use ct_update_group_member. Role ids come from GET /groups/{groupId}/roles (ct_api_request).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| groupId | Yes | The group's id | |
| personId | Yes | The person's id | |
| groupTypeRoleId | No | The role id | |
| memberStartDate | No | YYYY-MM-DD; ChurchTools sets today for an active membership | |
| groupMemberStatus | No | ChurchTools sets active when it is left out |