Name | Type | Description | ||||
---|---|---|---|---|---|---|
_id |
| Internal object identifier | ||||
id |
| Chat unique identifier | ||||
servid |
| Service unique identifier | ||||
widgetid |
| Widget unique identifier | ||||
serv_name |
| Service name | ||||
beginTime |
| Chat start time | ||||
endTime |
| Chat end time | ||||
title |
| Chat title | ||||
lang |
| Chat language | ||||
userID |
|
Unique identifier of the user who started the chat | ||||||
agentID |
| Unique identifier of the agent who managed the chat | ||||
users |
| Hash of the partecipants to the chat |
. See User Object for more details | ||||
dataCollections |
|
User unique identifier
| Hash containing Data Collection Object | |||
callData |
|
agent/customer nickname
| Hash containing call data variables and values | |||
contact_events |
|
| Array containing contact events. See Contact Event Object for more details | |||
ctlive_type |
|
| Chat |
endTime
Status | ||
---|---|---|
|
Status | ||
---|---|---|
|
Chat end time
type according to the initiator. Can be one of the following values: “chat” “cbn” “cbl” “cbfs” “call” |
User Object
Name | Type | Description | ||
---|---|---|---|---|
id |
|
Identifies if a chat is currently active
| User unique identifier | ||||
nickname |
|
agent/customer nickname |
beginTime |
|
Web page url
/
|
Web page title
| Chat start time | ||||
endTime |
|
Identifies chat channel. Can assume one of the following values:
“WEB”
“WHATSAPP”
/
| Chat end time | ||||
isOnline |
|
Agent/customer IP
| Identifies if a chat is currently active | |||
userAgent |
|
Hash containing Data Collection Object
| Browser user agent | |||
firstUri |
|
Hash containing call data variables and values
Example
...
language | json |
---|
...
| Web page url from which the chat started | |||||
uriHistory |
| Array containing all the web page urls navigated during the chat | ||||
firstTitle |
| Web page title | ||||
channel |
| Identifies chat channel. Can assume one of the following values: “web” “whatsapp” “messenger” “instagram” | ||||
firstIP |
| Agent/customer IP |
Contact Event Object
Name | Type | Description | ||||
---|---|---|---|---|---|---|
event |
| Event name. Event can be one of the following: "newContactAccepted" “clientError” | ||||
ts |
| timestamp of the event | ||||
origin |
| User id who performed the action |
Example
Code Block | ||
---|---|---|
| ||
{ "_id" : "CHAT_DEFAULT_8857106a-55b8-4c47-a5af-a3aae7530e5a", "contact_events" : [ { "67990d2d-5d35-4d7d-93ac-df3d9edb636d":{event" : "newContactAccepted", "datacollectionts" :[ 1642604343456.0, "origin" {: "4747235938674011" }, "_id":"5c6e700404445e26d8dbeee4", { "dc_typeevent" : "nicknamejoinContact", "labelts":"Nickname" : 1642604351430.0, "origin" : "isMandatory":true,"USER_gverde1@acd.enghouse.com" }, "isVisibleAgent":true, { "isVisibleCustomerevent" :true, "endByAgent", "isEditable":true, "ts" : 1642604409653.0, "custom_regexporigin" : "USER_gverde1@acd.enghouse.com", } ], "valueid" :"Gabry", "CHAT_DEFAULT_8857106a-55b8-4c47-a5af-a3aae7530e5a", "nameservid" : "nicknamectlivesocial_instagram", "ctlive_type" : "chat", "modewidgetid" : "manual", "serv_name" : "ctlivesocial_instagram", "beginTime" : }1642604342648.0, "endTime" : 1642604409492.0, { "title" : "", "lang" : "", "_iduserID" : "5c6e700404445e26d8dbeee34747235938674011", "users" : { "dc_type4747235938674011" :"name", { "labelid" : "Name4747235938674011", "isMandatorynickname":false, : "Malcom Sgatti", "isVisibleAgentisAgent" :true false, "isVisibleCustomerbeginTime" :true 1642604342648.0, "isEditableendTime" :true, 1642604409492.0, "custom_regexpisOnline" :"", false, "valueuserAgent" : "", , "namefirstUri" : "name", "modeuriHistory":"manual" : [], },"firstTitle" : "", { "channel" : "instagram", "_idfirstIP" :"5c6e700404445e26d8dbeee2", "::ffff:127.0.0.1" }, "dc_type":"surname", USER_gverde1@acd#_#enghouse#_#com" : { "labelid" :"surname "USER_gverde1@acd.enghouse.com", "nickname" : "Gabriele "isMandatoryVerde":false, "isVisibleAgentisAgent" : true, "isVisibleCustomerbeginTime":true, : 1642604351284.0, "isEditableendTime" :true 1642604409492.0, "custom_regexp":"""isOnline" : false, "valueuserAgent" :"", "name":"surname" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36", "firstUri" : "mode":"manual" "http://localhost:3003/AD/AD.html", } "uriHistory" : ["http://localhost:3003/AD/AD.html"], "_id":"5c6e700404445e26d8dbeee1", "firstTitle" : "AgentDesktop - "id":"67990d2d-5d35-4d7d-93ac-df3d9edb636d",Enghouse Interactive", "titlechannel" : "Anagrafica #1web", "dc_mode":"chat", "firstIP" : "::ffff:127.0.0.1" "next":"",} }, "__vdataCollections" :0 { }, "fc0450c8c2ae3430-4b2ca76c-42b344e4-b8c9a885-04b672ca4a9010fc9fb06c33" : { "datacollection" : [ { { "_id":"5c6e700404445e26d8dbeee8", "dc_type" : "emailnickname", "label" : "Email",nickname", "isMandatory" :true false, "isVisibleAgent" : true, "isVisibleCustomer" :true, false, "isEditable" :true false, "custom_regexp" : "", "valuecustomMandatoryErrorMessage" :"Gabriele.Verde@enghouse.com", "", "namecustomValidationErrorMessage" : "email", "modevalue" : "manualMalcom Sgatti", }, "name" : "nickname", { "_idmode" : "5c6e700404445e26d8dbeee7", auto" "dc_type":"phone", } "label":"Phone number", ], "isMandatoryid":false : "e1c8cd7e-b0c3-4791-ab4b-3f3ee761dafb", "title" : "isVisibleAgent":true, "dc_mode" : "isVisibleCustomerchat":true, "next" : "isEditable":true, }, "custom_regexp":"[0-9]{10}", ea1f8791-df7c-4c43-b09d-2fd043756c4c" : { "valuedatacollection":"", : [ { "name":"phone_number", "modedc_type" : "manualtext", }, "label" : "last agent ID", { "_idisMandatory" :"5c6e700404445e26d8dbeee6", false, "dc_typeisVisibleAgent":"date", : true, "labelisVisibleCustomer" :"Birthdate", false, "isMandatoryisEditable" : false, "isVisibleAgent":true, "custom_regexp" : "", "isVisibleCustomer":true, "customMandatoryErrorMessage" : "isEditable":true, "custom_regexpcustomValidationErrorMessage" : "", "value" : "", "name" : "birthdateLastAgentID", "mode" : "manualauto" } } ], ], "_id":"5c6e700404445e26d8dbeee5", "id" : "fc0450c8e4e82b29-4b2c9287-42b34cb1-b8c9a2eb-04b672ca4a90",4effeb374f9d", "title" : "Anagrafica #2", "dc_mode" : "chat", "next" : "", "__v":0} } , }, "callData" : { "_NICK_" :"Gabry", "email":"Gabriele.Verde@enghouse.com","Malcom Sgatti", "_CTHISTORY_1_Q_" : "QUEUE42@acd.enghouse.com", "birthdateLastAgentID" : "", "phoneREC_numberCALLCENTER" :"", "name":""CC_DEFAULT", "surname":"", "ECID" : "felixct7|1|295039|15" }, "__v" : 0 } |