This example demonstrates the following:
Request
Method | URL |
---|---|
GET | /ws/v19/clientapplications/messaging/conversation/d821dec8-eff2-4082-a99a-0f691ddde50e |
Request headers
Name | Value |
---|---|
Authorization | Bearer 082c60a9-6a3c-4880-848c-9af92f074e8d |
Accept | application/xml |
Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
Name | Value |
---|---|
Content-Type | application/xml |
Response body
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <ns9:conversation xmlns="http://bindings.egain.com/ws/model/v19/gen/live/entrypoint" xmlns:ns2="http://bindings.egain.com/ws/model/v19/gen/platform" xmlns:ns3="http://bindings.egain.com/ws/model/v19/gen/common" xmlns:ns4="http://bindings.egain.com/ws/model/v19/gen/kb" xmlns:ns5="http://bindings.egain.com/ws/model/v19/gen/kb/edition" xmlns:ns6="http://bindings.egain.com/ws/model/v19/gen/kb/profile" xmlns:ns7="http://bindings.egain.com/ws/model/v19/gen/common/attribute" xmlns:ns8="http://bindings.egain.com/ws/model/v19/gen/platform/security" xmlns:ns9="http://bindings.egain.com/ws/model/v19/gen/live/conversation" xmlns:ns10="http://bindings.egain.com/ws/model/v19/gen/interaction/activity" xmlns:ns11="http://bindings.egain.com/ws/model/v19/gen/interaction/case" xmlns:ns12="http://bindings.egain.com/ws/model/v19/gen/interaction/folder" xmlns:ns13="http://bindings.egain.com/ws/model/v19/gen/interaction/customer" xmlns:ns14="http://bindings.egain.com/ws/model/v19/gen/interaction/contactperson" xmlns:ns15="http://bindings.egain.com/ws/model/v19/gen/interaction/contactpoint" xmlns:ns16="http://bindings.egain.com/ws/model/v19/gen/interaction/attachment" xmlns:ns17="http://bindings.egain.com/ws/model/v19/gen/mail/alias" id="d821dec8-eff2-4082-a99a-0f691ddde50e"> <ns9:activity id="1071"> <ns10:created date="2019-04-01T17:37:28.000Z"/> <ns10:subject>Bill Related</ns10:subject> <ns10:customer id="1005"> <ns13:contacts> <ns14:contact> <ns14:firstName>John</ns14:firstName> <ns14:lastName>Tierney</ns14:lastName> <ns14:customAttributes> <ns3:customAttribute> <ns3:attribName>preferredcontact</ns3:attribName> <ns3:attribValues> <ns3:attribValue> <ns3:value>email</ns3:value> <ns3:displayValue>Email</ns3:displayValue> </ns3:attribValue> </ns3:attribValues> </ns3:customAttribute> </ns14:customAttributes> <ns14:phone> <ns15:type> <ns3:value>mobile</ns3:value> </ns15:type> <ns15:phoneNo>7785451199</ns15:phoneNo> <ns15:countryCode>44</ns15:countryCode> </ns14:phone> </ns14:contact> </ns13:contacts> </ns10:customer> <ns10:payload> <ns10:chat> <ns10:entryPoint id="1000"/> <ns10:clientInfo> <ns10:referrerUrl>http://www.cisco.com/cisco-support/</ns10:referrerUrl> <ns10:referrerName>Cisco Support</ns10:referrerName> <ns10:isRichTextSupported>true</ns10:isRichTextSupported> <ns10:timeOffset>-180</ns10:timeOffset> </ns10:clientInfo> <ns10:messages> <ns10:message id="9644299028"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content>Bill Related</ns10:content> <ns10:sender> <ns10:type>customer</ns10:type> <ns10:customer> <ns13:customerName>John Tierney</ns13:customerName> </ns10:customer> </ns10:sender> <ns10:timeStamp>2019-04-01T17:37:28.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="3986364419"> <ns10:type> <ns10:value>assigned</ns10:value> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:type> <ns10:content>You are now chatting with Advisor Paul</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:37:30.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="5255790124"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content>Hi, I am customer</ns10:content> <ns10:sender> <ns10:type>customer</ns10:type> <ns10:customer> <ns13:customerName>John Tierney</ns13:customerName> </ns10:customer> </ns10:sender> <ns10:timeStamp>2019-04-01T17:37:49.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="7789744095"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content>Hi, I am advisor </ns10:content> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:37:58.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="4753150755"> <ns10:type> <ns10:value>enableOffRecordMessages</ns10:value> </ns10:type> <ns10:content>Your messages are now off-record and will not be saved.</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:04.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="6633377761"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content><i>Message has been removed.</i></ns10:content> <ns10:sender> <ns10:type>customer</ns10:type> <ns10:customer> <ns13:customerName>John Tierney</ns13:customerName> </ns10:customer> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:08.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="4916379701"> <ns10:type> <ns10:value>disableOffRecordMessages</ns10:value> </ns10:type> <ns10:content>Your messages are now on record.</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:15.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="2605611002"> <ns10:type> <ns10:value>uploadAttachment</ns10:value> </ns10:type> <ns10:content>John Tierney sent an attachment bill.png</ns10:content> <ns10:attachments> <ns16:attachment id="1057"> <ns16:fileName>bill.png</ns16:fileName> <ns16:contentType>image/png</ns16:contentType> <ns16:size>4281</ns16:size> <ns16:contentUrl>/system/ws/v19/clientapplications/stream/3335373632463433333833363644344337353539333235393445364637323635353636463436364436433634353334463539344636313332353532423331363833303437333933373641363835413639373933343437364335353334363135343736343833383446333134453334344334443741353536353639333036463445354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364236433631304430413538364437313333363836373733373136443330343237363539344233323437374136373432343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344</ns16:contentUrl> </ns16:attachment> </ns10:attachments> <ns10:sender> <ns10:type>customer</ns10:type> <ns10:customer> <ns13:customerName>John Tierney</ns13:customerName> </ns10:customer> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:20.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="1839852572"> <ns10:type> <ns10:value>acceptAttachment</ns10:value> </ns10:type> <ns10:content>Advisor Paul accepted attachment bill.png</ns10:content> <ns10:attachments> <ns16:attachment id="1057"> <ns16:fileName>bill.png</ns16:fileName> <ns16:contentType>image/png</ns16:contentType> <ns16:size>4281</ns16:size> <ns16:contentUrl>/system/ws/v19/clientapplications/stream/3335373632463433333833363644344337353539333235393445364637323635353636463436364436433634353334463539344636313332353532423331363833303437333933373641363835413639373933343437364335353334363135343736343833383446333134453334344334443741353536353639333036463445354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364236433631304430413538364437313333363836373733373136443330343237363539344233323437374136373432343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344</ns16:contentUrl> </ns16:attachment> </ns10:attachments> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:23.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="9840239260"> <ns10:type> <ns10:value>uploadAttachment</ns10:value> </ns10:type> <ns10:content>John Tierney sent an attachment error.png</ns10:content> <ns10:attachments> <ns16:attachment> <ns16:fileName>error.png</ns16:fileName> <ns16:contentType>image/png</ns16:contentType> <ns16:size>326</ns16:size> </ns16:attachment> </ns10:attachments> <ns10:sender> <ns10:type>customer</ns10:type> <ns10:customer> <ns13:customerName>John Tierney</ns13:customerName> </ns10:customer> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:29.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="3286899065"> <ns10:type> <ns10:value>rejectAttachment</ns10:value> </ns10:type> <ns10:content>Advisor Paul rejected attachment error.png</ns10:content> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:32.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="2588747104"> <ns10:type> <ns10:value>uploadAttachment</ns10:value> </ns10:type> <ns10:content>You have received an Attachment: logo.gif</ns10:content> <ns10:attachments> <ns16:attachment id="1059"> <ns16:fileName>logo.gif</ns16:fileName> <ns16:contentType>image/gif</ns16:contentType> <ns16:size>1519</ns16:size> <ns16:contentUrl>/system/ws/v19/clientapplications/stream/3335373632463433333833363644344337353539333235393445364637323635353636463436364436433535364334413737373735333734364637383634363636463437363333393635333132463443374136373635343234443338324237393536363933343535353235413637333536423537353137373735343235413636354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364437313733304430413444333633323443373734373734363436463644353437333432373434313642363536343331343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344</ns16:contentUrl> </ns16:attachment> </ns10:attachments> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:38:44.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="2885204151"> <ns10:type> <ns10:value>acceptAttachment</ns10:value> </ns10:type> <ns10:content>John Tierney accepted attachment logo.gif</ns10:content> <ns10:attachments> <ns16:attachment id="1059"> <ns16:fileName>logo.gif</ns16:fileName> <ns16:contentType>image/gif</ns16:contentType> <ns16:size>1519</ns16:size> <ns16:contentUrl>/system/ws/v19/clientapplications/stream/3335373632463433333833363644344337353539333235393445364637323635353636463436364436433635333534453633353933333538374137303537353433343335343935303736343337333642363833343636364434413536363436353643373237353437343733363535364633393443343236453337324637303734354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364437313733304430413444333633323443373734373734363436463644353437333432373434313642363536343331343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344</ns16:contentUrl> </ns16:attachment> </ns10:attachments> <ns10:sender> <ns10:type>customer</ns10:type> <ns10:customer> <ns13:customerName>John Tierney</ns13:customerName> </ns10:customer> </ns10:sender> <ns10:timeStamp>2019-04-01T17:39:08.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="1574272194"> <ns10:type> <ns10:value>uploadAttachment</ns10:value> </ns10:type> <ns10:content>You have received an Attachment: offers.gif</ns10:content> <ns10:attachments> <ns16:attachment> <ns16:fileName>offers.gif</ns16:fileName> <ns16:contentType>image/gif</ns16:contentType> <ns16:size>687</ns16:size> </ns16:attachment> </ns10:attachments> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:39:17.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="4330786175"> <ns10:type> <ns10:value>rejectAttachment</ns10:value> </ns10:type> <ns10:content>John Tierney rejected attachment offers.gif</ns10:content> <ns10:sender> <ns10:type>customer</ns10:type> <ns10:customer> <ns13:customerName>John Tierney</ns13:customerName> </ns10:customer> </ns10:sender> <ns10:timeStamp>2019-04-01T17:39:34.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="1970751933"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content><p>Please see attached multiple offers..</p></ns10:content> <ns10:attachments> <ns16:attachment id="1061"> <ns16:fileName>offers.png</ns16:fileName> <ns16:contentType>image/png</ns16:contentType> <ns16:size>4281</ns16:size> <ns16:contentUrl>/system/ws/v19/clientapplications/stream/3335373632463433333833363644344337353539333235393445364637323635353636463436364436433635333534453633353933333538374137303537353433343335343935303736343337333642363833343636364434413536363436353643373237353437343733363535364633393443343236453337324637303734354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639373032423735304430413337343535393330363734453437353433373433333636413644344536433636333535343339343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344</ns16:contentUrl> </ns16:attachment> <ns16:attachment id="1062"> <ns16:fileName>logo.gif</ns16:fileName> <ns16:contentType>image/gif</ns16:contentType> <ns16:size>1519</ns16:size> <ns16:contentUrl>/system/ws/v19/clientapplications/stream/3335373632463433333833363644344337353539333235393445364637323635353636463436364436433636363537393739373137373633373133343439353935333731364233313336363436453431333634383634333435303741333935373739373436423537353234463336353735343632353535383532353734463335354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639373534373441304430413645373137323636344334353536343534363333344335393644333233313332373134373643343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344</ns16:contentUrl> </ns16:attachment> </ns10:attachments> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:40:14.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="3042760131"> <ns10:type> <ns10:value>transfer</ns10:value> <ns10:transfer> <ns10:type>queue</ns10:type> <ns10:queue> <ns2:name>Chat queue</ns2:name> <ns2:channels> <ns2:chat> <ns2:attachmentSettings> <ns2:isEnabledForCustomer>true</ns2:isEnabledForCustomer> </ns2:attachmentSettings> </ns2:chat> </ns2:channels> </ns10:queue> </ns10:transfer> </ns10:type> <ns10:content>You have been transferred to queue Chat queue</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:40:28.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="9795828240"> <ns10:type> <ns10:value>assigned</ns10:value> <ns10:user> <ns2:name>Agnes Jose</ns2:name> <ns2:screenName>Advisor Agnes</ns2:screenName> </ns10:user> </ns10:type> <ns10:content>You are now chatting with Advisor Agnes</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:40:30.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="5397231580"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content>Hi, I am manager</ns10:content> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Agnes Jose</ns2:name> <ns2:screenName>Advisor Agnes</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:40:45.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="8979440393"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content>Refer this page</ns10:content> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Agnes Jose</ns2:name> <ns2:screenName>Advisor Agnes</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:40:50.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="3616391687"> <ns10:type> <ns10:value>pagePush</ns10:value> <ns10:url>http://www.cisco.com/cisco-support/</ns10:url> </ns10:type> <ns10:content>Has sent a page - <a href="http://www.cisco.com/cisco-support/" target="_blank" rel="noopener noreferrer">http://www.cisco.com/cisco-support/</a></ns10:content> <ns10:sender> <ns10:type>user</ns10:type> <ns10:user> <ns2:name>Agnes Jose</ns2:name> <ns2:screenName>Advisor Agnes</ns2:screenName> </ns10:user> </ns10:sender> <ns10:timeStamp>2019-04-01T17:41:00.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="6964230301"> <ns10:type> <ns10:value>assigned</ns10:value> <ns10:user> <ns2:name>Paul Bruman</ns2:name> <ns2:screenName>Advisor Paul</ns2:screenName> </ns10:user> </ns10:type> <ns10:content>You are now chatting with Advisor Paul</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:41:13.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="9217915522"> <ns10:type> <ns10:value>transfer</ns10:value> <ns10:transfer> <ns10:type>agent</ns10:type> <ns10:user> <ns2:name>Advisor Paul</ns2:name> </ns10:user> </ns10:transfer> </ns10:type> <ns10:content>You have been transferred to agent Advisor Paul</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:41:23.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="6099883010"> <ns10:type> <ns10:value>text/html</ns10:value> </ns10:type> <ns10:content>John Tierney has left the chat</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:41:23.000Z</ns10:timeStamp> </ns10:message> <ns10:message id="6760937304"> <ns10:type> <ns10:value>complete</ns10:value> </ns10:type> <ns10:content>Advisor Paul has ended the chat</ns10:content> <ns10:sender> <ns10:type>system</ns10:type> </ns10:sender> <ns10:timeStamp>2019-04-01T17:41:28.000Z</ns10:timeStamp> </ns10:message> </ns10:messages> </ns10:chat> </ns10:payload> <ns10:customAttributes> <ns3:customAttribute> <ns3:attribName>identification_no</ns3:attribName> <ns3:attribValues> <ns3:attribValue> <ns3:value>28733547</ns3:value> </ns3:attribValue> </ns3:attribValues> </ns3:customAttribute> </ns10:customAttributes> </ns9:activity> </ns9:conversation>
Request
Method | URL |
---|---|
GET | /ws/v19/clientapplications/messaging/conversation/d821dec8-eff2-4082-a99a-0f691ddde50e |
Request headers
Name | Value |
---|---|
Authorization | Bearer 082c60a9-6a3c-4880-848c-9af92f074e8d |
Accept | application/json |
Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
Name | Value |
---|---|
Content-Type | application/json |
Response body
{ "activity": { "created": { "date": "2019-04-01T17:37:28.000Z" }, "subject": "Bill Related", "customer": { "contacts": { "contact": [ { "firstName": "John", "lastName": "Tierney", "customAttributes": { "customAttribute": [ { "attribName": "preferredcontact", "attribValues": { "attribValue": [ { "value": "email", "displayValue": "Email" } ] } } ] }, "phone": [ { "type": { "value": "mobile" }, "phoneNo": "7785451199", "countryCode": "44" } ] } ] }, "id": 1005 }, "payload": { "chat": { "entryPoint": { "id": 1000 }, "clientInfo": { "referrerUrl": "http://www.cisco.com/cisco-support/", "referrerName": "ECE Support", "isRichTextSupported": true, "timeOffset": -180 }, "messages": { "message": [ { "type": { "value": "text/html" }, "content": "Bill Related", "sender": { "type": "customer", "customer": { "customerName": "John Tierney" } }, "timeStamp": "2019-04-01T17:37:28.000Z", "id": "9644299028" }, { "type": { "value": "assigned", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "content": "You are now chatting with Advisor Paul", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:37:30.000Z", "id": "3986364419" }, { "type": { "value": "text/html" }, "content": "Hi, I am customer", "sender": { "type": "customer", "customer": { "customerName": "John Tierney" } }, "timeStamp": "2019-04-01T17:37:49.000Z", "id": "5255790124" }, { "type": { "value": "text/html" }, "content": "Hi, I am advisor ", "sender": { "type": "user", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "timeStamp": "2019-04-01T17:37:58.000Z", "id": "7789744095" }, { "type": { "value": "enableOffRecordMessages" }, "content": "Your messages are now off-record and will not be saved.", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:38:04.000Z", "id": "4753150755" }, { "type": { "value": "text/html" }, "content": "<i>Message has been removed.</i>", "sender": { "type": "customer", "customer": { "customerName": "John Tierney" } }, "timeStamp": "2019-04-01T17:38:08.000Z", "id": "6633377761" }, { "type": { "value": "disableOffRecordMessages " }, "content": "Your messages are now on record.", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:38:15.000Z", "id": "4916379701" }, { "type": { "value": "uploadAttachment" }, "content": "John Tierney sent an attachment bill.png", "attachments": { "attachment": [ { "fileName": "bill.png", "contentType": "image/png", "size": 4281, "contentUrl": "/system/ws/v19/clientapplications/stream/3441373333323732364435393434343835323439373037413730353436463635343433383644374137323433353137393644363834393645373034373532324234333337373635383738343336413443353134353242363837343436374134433634363332423535343537303644344335333431344235303445353735313644354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364236433631304430413538364437313333363836373733373136443330343237363539344233323437374136373432343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344", "id": 1057 } ] }, "sender": { "type": "customer", "customer": { "customerName": "John Tierney" } }, "timeStamp": "2019-04-01T17:38:20.000Z", "id": "2605611002" }, { "type": { "value": "acceptAttachment" }, "content": "Advisor Paul accepted attachment bill.png", "attachments": { "attachment": [ { "fileName": "bill.png", "contentType": "image/png", "size": 4281, "contentUrl": "/system/ws/v19/clientapplications/stream/3441373333323732364435393434343835323439373037413730353436463635343433383644374137323446344435383737373435303641363633323735343333363644333637323446354134313532353334383642353332423739333935313330333534343433363636373335353035413242344634323331363837393734354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364236433631304430413538364437313333363836373733373136443330343237363539344233323437374136373432343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344", "id": 1057 } ] }, "sender": { "type": "user", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "timeStamp": "2019-04-01T17:38:23.000Z", "id": "1839852572" }, { "type": { "value": "uploadAttachment" }, "content": "John Tierney sent an attachment error.png", "attachments": { "attachment": [ { "fileName": "error.png", "contentType": "image/png", "size": 326 } ] }, "sender": { "type": "customer", "customer": { "customerName": "John Tierney" } }, "timeStamp": "2019-04-01T17:38:29.000Z", "id": "9840239260" }, { "type": { "value": "rejectAttachment" }, "content": "Advisor Paul rejected attachment error.png", "sender": { "type": "user", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "timeStamp": "2019-04-01T17:38:32.000Z", "id": "3286899065" }, { "type": { "value": "uploadAttachment" }, "content": "You have received an Attachment: logo.gif", "attachments": { "attachment": [ { "fileName": "logo.gif", "contentType": "image/gif", "size": 1519, "contentUrl": "/system/ws/v19/clientapplications/stream/3441373333323732364435393434343835323439373037413730353436463635343433383644374137323446344435383737373435303641363633323735343333363644333637323446354134313532353334383642353332423739333935313330333534343433363636373335353035413242344634323331363837393734354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364437313733304430413444333633323443373734373734363436463644353437333432373434313642363536343331343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344", "id": 1059 } ] }, "sender": { "type": "user", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "timeStamp": "2019-04-01T17:38:44.000Z", "id": "2588747104" }, { "type": { "value": "acceptAttachment" }, "content": "John Tierney accepted attachment logo.gif", "attachments": { "attachment": [ { "fileName": "logo.gif", "contentType": "image/gif", "size": 1519, "contentUrl": "/system/ws/v19/clientapplications/stream/3538353936353732363435323639343436383644373433303335374135393632333734453442324234433739344534363536363234463633324636373536343137363442363134373339373436383642353335413333353935343737344635413535324636393438364436383434333634383332333333343332344636413637354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639364437313733304430413444333633323443373734373734363436463644353437333432373434313642363536343331343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344", "id": 1059 } ] }, "sender": { "type": "customer", "customer": { "customerName": "John Tierney" } }, "timeStamp": "2019-04-01T17:39:08.000Z", "id": "2885204151" }, { "type": { "value": "uploadAttachment" }, "content": "You have received an Attachment: offer.gif", "attachments": { "attachment": [ { "fileName": "offer.gif", "contentType": "image/gif", "size": 687 } ] }, "sender": { "type": "user", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "timeStamp": "2019-04-01T17:39:17.000Z", "id": "1574272194" }, { "type": { "value": "rejectAttachment" }, "content": "John Tierney rejected attachment offer.gif", "sender": { "type": "customer", "customer": { "customerName": "John Tierney" } }, "timeStamp": "2019-04-01T17:39:34.000Z", "id": "4330786175" }, { "type": { "value": "text/html" }, "content": "<p>Please see attached multiple offers..</p>", "attachments": { "attachment": [ { "fileName": "offers.png", "contentType": "image/png", "size": 4281, "contentUrl": "/system/ws/v19/clientapplications/stream/3538353936353732363435323639343436383644373433303335374135393632333734453442324234433337364636363337374135333437373733303535364434423641333833373446363735413435364134353639363737373641353234313539343736413246333135353644333336453536344334413337364635413741354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639373032423735304430413337343535393330363734453437353433373433333636413644344536433636333535343339343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344", "id": 1061 }, { "fileName": "logo.gif", "contentType": "image/gif", "size": 1519, "contentUrl": "/system/ws/v19/clientapplications/stream/3538353936353732363435323639343436383644373433303335374135393632333734453442324234433337364636363337374135333437373733303535364434423641333833373446363735413435364134353639363737373641353234313539343736413246333135353644333336453536344334413337364635413741354133333339343636373441363635413538324637313242304430413338363336423334324637313445324234323631344334363333343432423535353236453246343235303531364537313439364236413530373936413538363237303635373936323646344237393541363534453338363837353336333233393643343836323643363536323332373233393331343436373531353437323446373034343741364636353444374136333639373534373441304430413645373137323636344334353536343534363333344335393644333233313332373134373643343432423435344533353536363537413536343536373336353437343437373435333432373037363445333837313741344536363641343532463732364234313643363633313246373433393534364134363535343633363734373336353645333134383242333534343437373934333332304430413741333236313535333136343741363536343533343833373535364336453533324237363733353737413531364333393530343934453639344337323741333637313338333734383541364134463331324635333246363437413741364137413541353133443344", "id": 1062 } ] }, "sender": { "type": "user", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "timeStamp": "2019-04-01T17:40:14.000Z", "id": "1970751933" }, { "type": { "value": "transfer", "transfer": { "type": "queue", "queue": { "name": "Chat queue", "channels": { "chat": { "attachmentSettings": { "isEnabledForCustomer": true } } } } } }, "content": "You have been transferred to queue Chat queue", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:40:28.000Z", "id": "3042760131" }, { "type": { "value": "assigned", "user": { "name": "Agnes Jose", "screenName": "Advisor Agnes" } }, "content": "You are now chatting with Advisor Agnes", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:40:30.000Z", "id": "9795828240" }, { "type": { "value": "text/html" }, "content": "Hi, I am manager", "sender": { "type": "user", "user": { "name": "Agnes Jose", "screenName": "Advisor Agnes" } }, "timeStamp": "2019-04-01T17:40:45.000Z", "id": "5397231580" }, { "type": { "value": "text/html" }, "content": "Refer this page", "sender": { "type": "user", "user": { "name": "Agnes Jose", "screenName": "Advisor Agnes" } }, "timeStamp": "2019-04-01T17:40:50.000Z", "id": "8979440393" }, { "type": { "value": "pagePush", "url": "http://www.cisco.com/cisco-support/" }, "content": "Has sent a page - <a href=\"http://www.cisco.com/cisco-support/\" target=\"_blank\" rel=\"noopener noreferrer\">http://www.cisco.com/cisco-support/</a>", "sender": { "type": "user", "user": { "name": "Agnes Jose", "screenName": "Advisor Agnes" } }, "timeStamp": "2019-04-01T17:41:00.000Z", "id": "3616391687" }, { "type": { "value": "assigned", "user": { "name": "Paul Bruman", "screenName": "Advisor Paul" } }, "content": "You are now chatting with Advisor Paul", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:41:13.000Z", "id": "6964230301" }, { "type": { "value": "transfer", "transfer": { "type": "agent", "user": { "name": "Advisor Paul" } } }, "content": "You have been transferred to agent Advisor Paul", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:41:23.000Z", "id": "9217915522" }, { "type": { "value": "text/html" }, "content": "John Tierney has left the chat", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:41:23.000Z", "id": "6099883010" }, { "type": { "value": "complete" }, "content": "Advisor Paul has ended the chat", "sender": { "type": "system" }, "timeStamp": "2019-04-01T17:41:28.000Z", "id": "6760937304" } ] } } }, "customAttributes": { "customAttribute": [ { "attribName": "identification_no", "attribValues": { "attribValue": [ { "value": "28733547" } ] } } ] }, "id": 1071 }, "id": "d821dec8-eff2-4082-a99a-0f691ddde50e" }