Complete an Action Item
post
/public/v1/action-items/{actionItem}/completeSets 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.
actionItemstringrequiredThe action item UUID
Body
application/jsonoutcomestringmax length 65535Limited to 65535 bytes.
Response
200application/jsonActionItemResource
dataobjectrequired▶Show 14 child attributesHide child attributes
idstringrequiredExample:a1c2t3i4-o5n6-47i8-9t0e-1m2a3b4c5d6etitlestringrequiredExample:Review the medication chart with the support teamdescriptionstring | nullrequiredExample:Confirm the chart was signed off after the incidentstatusenum<string>requiredAvailable options:closed_not_actionedcompletedin_progressopendue_datestring | nullrequiredExample:2024-02-01outcomestring | nullrequiredExample:The chart was reviewed and re-signedsubjectobject | nullrequired▶Show 3 child attributesHide child attributes
idstringrequiredExample:i1n2c3i4-d5e6-47n8-9t0a-1b2c3d4e5f6atypestringrequiredExample:incidentreferencestringrequiredExample:INC-2024-00456
assigneeobject | nullrequired▶Show 2 child attributesHide child attributes
idstringrequiredExample:u1s2e3r4-a5b6-47c8-9d0e-1f2a3b4c5d6enamestringrequiredExample:John Doe
created_byobjectrequired▶Show 2 child attributesHide child attributes
idstringrequiredExample:u1s2e3r4-a5b6-47c8-9d0e-1f2a3b4c5d6enamestringrequiredExample:John Doe
assigned_atstring | nullrequiredExample:2024-01-15T10:30:00+00:00completed_atstring | nullrequiredExample:2024-01-20T14:00:00+00:00archived_atstring | nullrequiredExample:2024-03-01T09:00:00+00:00created_atstringrequiredExample:2024-01-15T10:30:00+00:00updated_atstringrequiredExample:2024-01-15T10:30:00+00:00
401Unauthenticated403The key may not change the action item, or it is not on an incident, feedback or referral whose module is switched on.404Not found422Validation error