GET (Chat Transcript)

Retrieves the transcript for a chat contact (is only valid for chat feeds). This API returns an error if the social contact does not exist, the socialContact sourceType does not equal chat, or the chat transcript is not found.

Note

The id is the social contact ID of the chat contact.

URL:

https://<ServerIP>:<Port>/ccp-webapp/ccp/socialcontact/<objectId>/transcript

HTTPS method:

GET

Parameters:

See Social Contact API Parameters.

Example XML response :

<ChatTranscript>
     <id>4C01DF3B10000145000010F60A568DD9</id>
     <refURL>https://[ServerIP]:[Port]/ccp-webapp/ccp/socialcontact/
      4C01DF3B10000145000010F60A568DD9/transcript</refURL>
     <endDate>1326918175931</endDate>
     <participants>
          <participant>
               <agentName/>
               <nickName>Tetyana</nickName>
          </participant>
          <participant>
               <agentName>admin</agentName>
               <nickName>Agent</nickName>
          </participant>
     </participants>
     <startDate>1326918153649</startDate>
     <transcript>
          <chat>
               <time>1326918172743</time>
               <name>Agent</name>
               <msg>hello</msg>
          </chat>
          <chat>
               <time>1326918173170</time>
               <name>Agent</name>
               <msg>How can I help you?</msg>
          </chat>
     </transcript>
</ChatTranscript>