GET (Chat Transcript)
XML Transcript Download
This API retrieves the transcript for a chat contact, which can be downloaded in the XML format.
URL: |
https://<ServerIP>:<Port>/ccp/rest/chat/transcript.xml |
HTTPS method: |
GET |
Example XML response: |
|
Elements: |
time: timestamp of the chat in GMT. name: agent or customer name. msg: the chat message. |
HTTPS response headers: |
400 Bad Request 404 Not Found 501 Not Implemented See HTTPS Responses for more information about the response codes. |
HTML Transcript Download
This API retrieves the transcript for a chat contact, which can be downloaded in the HTML format.
URL: |
https://<serverIP>:<Port>/ccp/rest/chat/transcript?locale=<locale> |
HTTPS method: |
GET |
HTTPS response headers: |
200 OK 400 Bad Request 404 Not Found See HTTPS Responses for more information about the response codes. |
The file name of the downloaded HTML is in the following format:
ChatTranscript_<Customer_Name_spaces_replaced_by_underscores>-YYYY_DD_MMM_hh_mm.html
For example, ChatTranscript_John_Doe_2018_26_Jan_13_45.html.
Note |
|
The following table lists the strings that you can use for the locale parameter with their associated languages.
String |
Language |
---|---|
da_DK |
Danish |
de_DE |
German |
en_ALL |
English |
es_ES |
Spanish |
fi_FI |
Finnish |
fr_FR |
French (France) |
it_IT |
Italian |
nb_NO |
Norwegian |
nl_NL |
Dutch |
pl_PL |
Polish |
pt_BR |
Portuguese |
ru_RU |
Russian |
sv_SE |
Swedish |
tr_TR |
Turkish |
zh_CN |
Chinese (Simplified) |
zh_TW |
Chinese (Traditional) |
ja_JP |
Japanese |
ko_KR |
Korean |
PDF Transcript Download (Not Used for Transcript Download - Used to Redirect to HTML Transcript Download API)
Since Customer Collaboration Platform 11.6(2), this API is not used to download chat transcripts as PDF files. Requests to this API will get unconditionally redirected to the HTML transcript download API (see above).
URL: |
https://<serverIP>:<Port>/ccp/rest/chat/transcript.pdf?locale=<locale> | ||
HTTPS method: |
GET | ||
HTTPS response headers: |
301 Moved Permanently
|