Smileline
TasksTasks

Create a task

Kinds `compliance_check` and `staff_record_expiry` are opened only by a due compliance check or an expiring staff record (400 TASK_KIND_RESERVED). A dentist, hygienist or nurse creates kind `staff` (the default for them) or `worklist:<kind>`, never on a journey (403 OWN_TASKS_ONLY). The task's `workspace` follows from it: `crm` on a journey; else `pms` for a staff or worklist task, or one assigned to a dentist, hygienist or nurse; else `crm`. A `crm` task assigned to a dentist, hygienist or nurse, who could never see it, answers 422 TASK_ASSIGNEE_CANNOT_SEE; one assigned to a suspended member answers 422 ASSIGNEE_SUSPENDED.

Loading the API reference…