Versions Compared

Key

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

Inserts literals at domain/service level.

Status
colourYellow
titleHTTP POST
/livechat/:domain/insertUpdateLiterals

Path Variables:

Name

Mandatory

Type

Description

domain

Status
colourRed
titleyes

Status
titlestring

Unique domain identifier

...

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

Example:

Request

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

...

default/insertUpdateLiterals

Request body

Code Block
languagejson
{
  "country" : "it-it",
  "level" : "service",
  "serviceId" : "LiveChat_Sidebar",
  "literals" : {
    "engagement_sidebar_title" : "Sidebar",
    "datacollection_cbl_first_slot_label" : "Richiamami subito"
  }
}

...