Returns chat transcripts with the specified user among the participants. Optionally, it's possible to limit returned transcripts to last x days via query string parameter.
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier | ||||||||||
userId |
|
| Unique user identifier |
Authorization: see Authentication mechanisms
Query string parameter:
Name | Mandatory | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
days |
|
| Indicates that the returned transcripts will refer to chats made within the number of days prior to the time of the web service call |
Headers:
Name
Mandatory
Type
Description
ctlivetoken
Status | ||||
---|---|---|---|---|
|
Status | ||
---|---|---|
|
Response:
Type:
Status | ||
---|---|---|
|
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
result |
| If true, the service response was performed correctly | ||||||||
chatTranscript |
| Array that contains Transcript Object with the specified user among the participants | ||||||||
error |
| Contains the error description if an error has occurred in the request |
Example:
Request
http://<hostname>:<port>/livechat/default/getChatTranscriptByUserID/USER_c8e1eb84-60d3-4d69-b10b-96364845023e?days=7
...