version: Version of the XML representation. Indicates the API Version in which this format was introduced
ref: Reference to the EVENT in Linkcare platform
type: is the type of event. See more in event_type() function
status: is the status of the EVENT. Possible values OPEN/CLOSED
date: date assigned to the EVENT: This date depends on the status of the EVENT (is the open_date when the EVENT is open and the close_date when the EVENT is closed
open_date: date when the EVENT was opened
close_date: date when the EVENT was closed
read_mark: (true/false) Indicates whether this EVENT has been 'read' by the session user. This value can be modified by setting the read mark using event_set_read_mark () API function. Introduced in API version 2.6.18
multi_message: (true/false) If true, this EVENT is similar to a chat and can contain multiple comments. Otherwise it is considered an EVENT that is sent from one user to another, and when the second USER responds, the EVENT is considered closed. Multi message events must be closed manually. This property was introduced in API version 2.7.4
priority: priority order (HIGH / MEDIUM / NULL)
event_code
assigned_to: information about the assigned ROLE/TEAM/USER (who should take care of this EVENT)
user: (may be empty) Information about the assigned USER (if any)
ref: internal reference to the USER
nickname: nickname of the user
name: complete name of the USER
team: (may be empty) Information about the assigned TEAM (if any)
ref:
name: name of the TEAM
role: (may be empty) Information about the assigned ROLE (if any)
default_address: if the EVENT is an outgoing communication (issuer is "POSTER" and there is a communication channel selected), then this field indicates the default communication address of the assigned_to TEAM or USER. This is the address that will be used to send a communication when the first comment is added to the EVENT
comments: list of comments associated to this EVENT
members: List of participants in the EVENT. Introduced in version 2.7.8
closed_by: Information about the USER that marked this EVENT as "closed"
ref: internal reference to the USER
nickname: nickname of the user
name: complete name of the USER
follow_report: (true/false) if the event must be show in the follow report
call_type: IN/OUT/VOID. Is the direction of the communication between phone and phone_poster
modified: Information about the last person that modified the event
issued_by: is the origin person that reports the event
ref: Reference of the issuer USER. It may be empty when the issuer is a person not registered in the system, In that case only the name will be available
nickname: Nickname of the USER (only when the issuer is a person registered in the system)
name: name of the issuer
date: datetime of creation of the EVENT
type: Can be POSTER /CASE / OTHER
description:
phone: The phone number, email or other channel of the interlocutor
channel: ((void) / EMAIL / PHONE / IM) indicates by which channel type has been sent or received the EVENT (introduced in version 2.7.8)
admission: is the admission XML object that is related by the event. See more in admission_get() function
case: is the case XML object that is related by the event. See more in case_get() function
tasks: is a list of tasks related with the event. See more in event_task_list() function
permissions: edit and delete event permissions
edit: flag that indicates if event can be edited by active USER (true/false)
delete: flag that indicates if event can be deleted by active USER (true/false)
allow_add_activiy: (true/false) Indicates whether the EVENT admits the possibility of inserting ACTIVITIES. This property only makes sense if the EVENT is assigned to an ADMISSION and there exist an specific definition of this EVENT TYPE in the PROGRAM (see WORKPLAN). When the EVENT is not assigned to an ADMISSION, the value is always 'true'. This property was introduced in API version 2.7.6
add_comments: true/false. Indicates if the session user can add new comments