Create a new administrative task. Requires locationId and categoryIds.
- Use
GET /config/locationsto retrieve valid location IDs. - Use
GET /config/attributes?type=activityLogto retrieve valid category IDs.
On creation the server resolves the location's city and timezone, sets
workflow.component to manuallyCreated, and fires web push
notifications, chat room creation, and the ADMIN_TASK_CREATED
workflow trigger.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
404Returned when assigneeId does not resolve to an existing user
(code: USER_NOT_FOUND). The assigneeId must be a User._id,
not a Caregiver._id.
422The requested assigneeId does not hold a skill required by the task's
category (code: ASSIGNEE_MISSING_REQUIRED_SKILL). Only returned when the
organization restricts task assignment OR task visibility to matching skills,
AND the task's category is linked to a skill. A user holding that skill under EITHER
auto-assign or manual-only is accepted; only a user holding it under neither
is refused. Re-sending a task's existing assignee is always allowed, so a
status-only update never returns this.