Log In

Update an Incident

put/public/v1/incidents/{incident}

Send only the fields to change; any field left out keeps its value. The severity and category can be changed but not cleared once set. The reportable type, NDIS reference and reporting dates can only be set on a reportable incident, and an incident not applicable for NDIS reporting cannot change its reportability. A reportable incident needs its reportable type, so one reported through a form without a type refuses every change with a 422 on reportable_type until the change sends one. Assigning a new team member notifies them and removes them from the incident's collaborators. Every update sends the incident.updated webhook, even one that changes nothing.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • incidentstringrequired

    The incident UUID

Body

application/json
  • timestring
  • detailsstringmax length 16777215

    Limited to 16777215 bytes.

  • follow_up_detailsstring | nullmax length 16777215

    Limited to 16777215 bytes.

  • severityenum<string> | null
    Available options:extremehighlowmedium
  • reportableenum<string>
    Available options:nonot_applicableunknownyes
  • reportable_typeenum<string> | null
    Available options:abuse_or_neglectdeathrestrictive_practiceserious_injurysexual_misconductunlawful_sexual_or_physical
  • reportable_idstring | nullmax length 255
  • became_aware_atstring | null
  • five_day_report_submitted_atstring | null
  • assigneeobject | null
    ▶Show 1 child attributes
    • idstring | null
  • incident_categoryobject | null
    ▶Show 1 child attributes
    • idstring | null

Response

200application/json

IncidentResource

  • dataobjectrequired
    ▶Show 18 child attributes
    • idstringrequired
      Example:i1n2c3i4-d5e6-47n8-9t0a-1b2c3d4e5f6g
    • referencestringrequired
      Example:INC-2024-00456
    • typeenum<string>required
      Available options:participantstaff
    • timestringrequired
      Example:2024-01-15T10:30:00+00:00
    • reportableenum<string>required
      Available options:nonot_applicableunknownyes
    • reportable_typeenum<string> | nullrequired
      Available options:abuse_or_neglectdeathrestrictive_practiceserious_injurysexual_misconductunlawful_sexual_or_physical
    • reportable_idstring | nullrequired
      Example:4-ABC1234
    • became_aware_atstring | nullrequired
      Example:2024-01-15T11:00:00+00:00
    • five_day_report_submitted_atstring | nullrequired
      Example:2024-01-19T09:00:00+00:00
    • detailsstringrequired
      Example:Something happened during a session
    • follow_up_detailsstring | nullrequired
      Example:Follow up actions were taken
    • statusenum<string>required
      Available options:reportedresolvedunder_review
    • severityenum<string> | nullrequired
      Available options:extremehighlowmedium
    • completed_atstring | nullrequired
      Example:2024-02-01T09:00:00+00:00
    • assigneeobject | nullrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:u1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
      • full_namestringrequired
        Example:Jane Smith
    • incident_categoryobject | nullrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:c4a5b6c7-d8e9-40f1-a2b3-c4d5e6f7a8b9
      • namestringrequired
        Example:Medication error
    • form_submissionobject | nullrequired
      ▶Show 1 child attributes
      • idstringrequired
        Example:f5a6b7c8-d9e0-41f2-a3b4-c5d6e7f8a9b0
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error