Log In

Update an Action Item

put/public/v1/action-items/{actionItem}

Fields left out of the request keep their current values. Send description, due_date, outcome or assignee as null to clear it. Setting status to completed sets completed_at, and moving it to any other status clears it. A new assignee other than the key's owner is emailed.

  • Authorizationstringrequired

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

  • actionItemstringrequired

    The action item UUID

Body

application/json
  • titlestringmax length 255
  • descriptionstring | nullmax length 65535

    Limited to 65535 bytes.

  • statusenum<string>
    Available options:closed_not_actionedcompletedin_progressopen
  • due_datestring<date> | null
  • outcomestring | nullmax length 65535

    Limited to 65535 bytes.

  • assigneeobject | null
    ▶Show 1 child attributes
    • idstring | null

Response

200application/json

ActionItemResource

  • dataobjectrequired
    ▶Show 14 child attributes
    • idstringrequired
      Example:a1c2t3i4-o5n6-47i8-9t0e-1m2a3b4c5d6e
    • titlestringrequired
      Example:Review the medication chart with the support team
    • descriptionstring | nullrequired
      Example:Confirm the chart was signed off after the incident
    • statusenum<string>required
      Available options:closed_not_actionedcompletedin_progressopen
    • due_datestring | nullrequired
      Example:2024-02-01
    • outcomestring | nullrequired
      Example:The chart was reviewed and re-signed
    • subjectobject | nullrequired
      ▶Show 3 child attributes
      • idstringrequired
        Example:i1n2c3i4-d5e6-47n8-9t0a-1b2c3d4e5f6a
      • typestringrequired
        Example:incident
      • referencestringrequired
        Example:INC-2024-00456
    • assigneeobject | nullrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:u1s2e3r4-a5b6-47c8-9d0e-1f2a3b4c5d6e
      • namestringrequired
        Example:John Doe
    • created_byobjectrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:u1s2e3r4-a5b6-47c8-9d0e-1f2a3b4c5d6e
      • namestringrequired
        Example:John Doe
    • assigned_atstring | nullrequired
      Example:2024-01-15T10:30:00+00:00
    • completed_atstring | nullrequired
      Example:2024-01-20T14:00:00+00:00
    • archived_atstring | nullrequired
      Example:2024-03-01T09:00:00+00:00
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
    • updated_atstringrequired
      Example:2024-01-15T10:30:00+00:00
  • 401Unauthenticated
  • 403The key may not change the action item, or it is not on an incident, feedback or referral whose module is switched on.
  • 404Not found
  • 422Validation error