Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns the survey results of the chats based on the date and/or calldata variables specified.

Status
colourYellow
titleHTTP POST
/livechat/:domain/getSurveyResultsByDateCalldata

Path Variables:

Name

Mandatory

Type

Description

domain

Status
titleNO

Status
titleSTRING

Unique domain identifier

Authorization: see Authentication mechanisms

Request Body:

Type:
Status
titleJSON

Name

Mandatory

Type

Description

lt

Status
titleno

Status
titlenumber

Epoch Unix Timestamp before (read <) which chats are searched for (based on the beginTime field)

gt

Status
titleno

Status
titlenumber

Epoch Unix Timestamp after (read >) which chats are searched for (based on the beginTime field)

calldata

Status
titleno

Status
titleobject

calldata variable with which chats are searched for

Example:

Request

http://<hostname>:<port>/livechat/default/getSurveyResultsByDateCalldata

...

Code Block
languagejson
  {
    "gt": 1709039127067,
    "calldata": {
      "EC_MACROACTIVITY" : "DEFAULT_CHAT",
      "EC_CAMPAIGN" : "DEFAULT_CHAT_MKT"
    }
  }
Code Block
languagejson
  {
    "lt": 1714119031667,
    "gt": 1709039127067,
    "calldata": {
      "EC_MACROACTIVITY" : "DEFAULT_CHAT",
      "EC_CAMPAIGN" : "DEFAULT_CHAT_MKT"
    }
  }

...