Returns the last transcript of a chat in whose contact object the service id is serviceid specified and user id is userid specified.
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier |
Headers:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctlivetoken |
|
| Unique ctlive session identifier |
Request Body:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
userid |
|
| Unique user identifier | ||||||||||
serviceid |
|
| Unique service 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 | ||||||||
chatTranscript |
|
Example:
Request
http://<hostname>:<port>/livechat/default/getLastTranscript
Request Body:
Code Block | ||
---|---|---|
| ||
{ "userid":"393401234567", "serviceid":"447491163530" } |
...