/
getGlobalLiteralsFromFile
getGlobalLiteralsFromFile
Returns the global level literals for the country code specified.
HTTP GET /livechat/:domain/getGlobalLiteralsFromFile
Path Variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | yes | string | Unique domain identifier |
Query String Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
lang | NO | STRING | Language code (default: en-gb) |
Response:
Type: JSONp
Name | Type | Description |
---|---|---|
result | Boolean | If true, the service response was performed correctly |
literals | object | Object containing the localized labels |
Example:
Request
http://<hostname>:<port>/livechat/default/getGlobalLiteralsFromFile?lang=gb
Response
{
"result": true,
"literals": {
"Country": "en-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": ""
}
}
, multiple selections available,
Related content
getLiterals
getLiterals
More like this
getChatHistory
getChatHistory
More like this
getChatTranscriptGeneric
getChatTranscriptGeneric
More like this
getChatTranscriptByCalldata
getChatTranscriptByCalldata
More like this
getChatTranscriptByNickname
getChatTranscriptByNickname
More like this
getChatTranscriptByChatID
getChatTranscriptByChatID
More like this