Plan a new ChurchTools person
ct_create_personGenerate a plan to create a ChurchTools person from first name, last name, and department IDs, while flagging possible duplicates before any write.
Instructions
Writes nothing: returns a plan to create a person, with persons of the same name as possible duplicates. Department ids come from GET /person/masterdata (ct_api_request). Most instances also demand statusId and campusId in fields, both from the same masterdata; an instance that makes the privacy agreement mandatory also demands privacyPolicyAgreementTypeId, privacyPolicyAgreementWhoId and privacyPolicyAgreementDate, which only the user can state. If ChurchTools refuses a duplicate, the result names duplicatePersonId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Further fields of the person, e.g. email, mobile, birthday | |
| lastName | Yes | ||
| firstName | Yes | ||
| departmentIds | Yes | At least one department id |