Returns the survey results of the services specified.
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier |
Authorization: see Authentication mechanisms
Request Body:
Type:
Status | ||
---|---|---|
|
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
serviceIdList |
|
| Array of service IDs | ||||||||||
lt |
|
| Epoch Unix Timestamp before (read <) which chats are searched for (based on the beginTime field). At least one between lt an gt must be present in order to limit the research. | ||||||||||
gt |
|
| Epoch Unix Timestamp after (read >) which chats are searched for (based on the beginTime field). At least one between lt an gt must be present in order to limit the research. |
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 | ||||||||
surveyResults |
| Array of objects containing the survey results of the services requested |
Example:
Request
http://<hostname>:<port>/livechat/default/getSurveyResultsByServiceID
Request body
Code Block | ||
---|---|---|
| ||
{
"lt": 1714119031667,
"gt": 1709039127067,
"serviceIdList" : ["LiveChat_Popup", "5550633690"]
} |
Code Block | ||
---|---|---|
| ||
{
"lt": 1714119031667,
"serviceIdList" : ["LiveChat_Popup", "5550633690"]
} |
Code Block | ||
---|---|---|
| ||
{
"gt": 1709039127067,
"serviceIdList" : ["LiveChat_Popup", "5550633690"]
} |
...