Versions Compared

Key

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

Returns the global level literals for the country code specified.

Status
colourGreen
titleHTTP GET
/livechat/:domain/getGlobalLiteralsFromFile

Path Variables:

Name

Mandatory

Type

Description

domain

Status
titleno

Status
titlestring

Unique domain identifier

Query String Parameters:

Name

Mandatory

Type

Description

lang

Status
titleNO

Status
titleSTRING

Country code (default: gb)

...

Name

Type

Description

result

Status
titleBoolean

If true, the service response was performed correctly

literals

Status
titleobject

Object containing the localized labels

Example:

Request

http://<hostname>:<port>/livechat/default/getGlobalLiteralsFromFile?lang=gb

Response

Code Block
languagejson
{
    "result": true,
    "literals": {
        "Country": "GB",
        "Separator": ",",
        "AppName": "CTLive",
        "engagement_popup_title": "DO YOU NEED INFORMATION?",
        "engagement_popup_sidebar_subtitle": "One of our agents is at your disposal",
        "engagement_popup_chat_label": "I WANT TO START A CHAT",
        "engagement_popup_cbn_label": "I WANT TO BE CALLED NOW",
        "engagement_popup_cbl_label": "I WANT TO BE CALLED LATER",
        "engagement_sidebar_title": "CHAT",
        "engagement_sidebar_content_title": "Do you need information?",
        "engagement_sidebar_sidebar_subtitle": "One of our agents is at your disposal",
        "engagement_sidebar_chat_label": "START A CHAT",
        "engagement_sidebar_cbn_label": "CALL ME NOW",
        "engagement_sidebar_cbl_label": "CALL ME LATER",
        "engagement_button_chat_label": "I WANT TO START A CHAT",
        "engagement_button_cbn_label": "I WANT TO BE CALLED NOW",
        "engagement_button_cbl_label": "I WANT TO BE CALLED LATER",
        "datacollection_next_label": "AHEAD",
        "datacollection_start_chat_label": "START CHAT",
        "datacollection_start_cb_label": "CONFIRM",
        "datacollection_cbl_first_slot_label": "I want to be called back as soon as possible",
        "widget_cb_error_message": "An error has occurred. Please try again later.",
        "widget_send_link_document_title": "Send Multimedia Message",
        "widget_send_link_label": "Send Link",
        "widget_send_link_validation": "Before sending the link will be checked if syntactically valid",
        "widget_send_document_label": "Send Image/Document",
        "widget_supported_formats": "Supported formats: png, jpeg, jpg, doc, docx, ppt, pptx, xls, xlsx",
        "widget_format_not_supported": "Unsupported format.",
        "widget_send_document_error_size_label": "The document cannot be sent. Excessive size.",
        "widget_send_document_button": "Send File",
        "chat_welcome_text": "You are being transferred to an agent ...",
        "chat_isWriting_text": ""
    }
}

...