chatActivities

Assign, Close, or Add Facilities

Changed on
put/chatActivities/{chatActivityId}

Request

Path parameters

chatActivityIdstring required

Request body

OR

Response

ChatActivity updated

_idstring

Luma's internal ID of an object.

userstring

The ID of the root account user.

deleted0 | 1

Flag for logical deletion where 1 means deleted.

createdBystring

The ID of the user who created this object.

updatedBystring

The ID of the user who updated this object.

createdAtstring date-time

The date/time when this object was created.

updatedAtstring date-time

The date/time when this object was updated.

lastMessagestring

ID of Message

status'closed' | 'assigned' | 'unassigned'

status

groupAssigneestring

ID of Group

previousAssigneestring

ID of User

previousGroupAssigneestring

ID of Group

statusReasonstring

ID of a ChatActivityStatusReason, only used when status is "closed"

descriptionstring

Additional description of the statusReason. Some ChatActivityStatusReasons require a description.

facilitiesstring[]

List of facilities where the patient linked to this chatActivity has appointments.

priorityUpdatedAtstring date-time

This date/time changes only when the chat is assigned or the patient gets a messsage. It can be used to sort the chatActivities on screen.

lastIrregularAtstring date-time

Indicates the last time an unexpected message was sent in the chat. An example is when patient gets an automated appointment reminder requesting to answer YES to confirm or NO to cancel, and patient replies with a completely different message.

automatedboolean

Indicates if this chatActivity was created as a consequence of an automated message being sent out, such as an appointment reminder.

Changes

    • info

      added the new optional request property

    • info

      added subschema #1 subschema #2 to the request body oneOf list

    • info

      the request property became optional