The service returns the transcript based on the ChatID regardless of whether it is concluded or not
Tip | ||||||
---|---|---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier | ||||||||||||
chatId |
|
| Unique chat identifier |
Headers:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctlivetoken |
|
| Unique ctlive session identifier |
Response:
Type:
Status | ||
---|---|---|
|
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
result |
| If true, the service response was performed correctly | ||||||||
error |
| Contains the error description if an error has occurred in the request | ||||||||
isChatActive |
| true if chat is still active, otherwise false | ||||||||
chatTranscript |
| array of message objects |
Example:
Request
http://<hostname>:<port>/livechat/default/getContactTranscriptByChatID/CHAT_DEFAULT_60bd7ddf-658b-442d-a8d3-2abef8c5fb35
...