Log In

Complete an Action Item

post/public/v1/action-items/{actionItem}/complete

Sets status to completed and returns the action item. An outcome sent replaces the current one. Completing an action item that is already completed keeps its completed_at.

  • 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
  • outcomestringmax length 65535

    Limited to 65535 bytes.

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