Assign a qualified person to a position on this occurrence
POST/ministries/occurrences/:occurrenceId/assignments
Enforces design section 2.11.2: I4 the position belongs to this schedule's ministry (400), I5 the occurrence is neither cancelled nor past (409), I2 an active qualification (403), I3 membership of the ministry's volunteer pool Group unless allowOutsidePool is passed (409) - NOT applied to self sign-up, which tests qualification only (design D19), I1 one row per person per position per occurrence (409). I8 re-uses a declined or cancelled row rather than inserting a second one. I7/D16 - a person already holding ANOTHER position on this occurrence - is allowed unconditionally and returns 201.
Request​
Responses​
- 201
- 400
- 401
- 403
- 404
- 409
Assigned
The position does not belong to this occurrence's schedule
Not authenticated
Not qualified, or not authorized, or V2 is not enabled
No such occurrence, position or person
Already assigned, outside the pool without the override, or the occurrence is cancelled or past
Can't find what you need? Ask in Discord, or open an issue on the ChurchCRM repository.