Versions Compared

Key

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

The service returns the transcript of a concluded chat based on the ChatID

Tip

Status
colourGreen
titleHTTP GET
/livechat/:domain/getChatTranscriptByChatID/:chatId

Path Variables:

Name

Mandatory

Type

Description

domain

Status
colourRed
titleYES

Status
titleSTRING

Unique domain identifier

chatId

Status
colourRed
titleyes

Status
titlestring

Unique chat identifier

Headers:

Name

Mandatory

Type

Description

ctlivetoken

Status
colourRed
titleYES

Status
titleSTRING

Unique ctlive session identifier

Response:

Type: jsonp

Name

Type

Description

result

Status
titleboolean

If true, the service response was performed correctly

error

Status
titlenull
/
Status
titlestring

Contains the error description if an error has occurred in the request

chatTranscripts

Status
titleobject

contains the transcript for the specified chat

Example:

Request

http://<hostname>:<port>/livechat/getChatTrasncriptByChatID/CHAT_DEFAULT_5416bcd3-d78d-4dc8-be0e-7b9ac1f51b25

...