Returns the domain/service level literals for the country code specified.
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier |
Query String Parameters:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
country |
|
| Country Language code | ||||||||||
level |
|
| Can assume one of the following values:
| ||||||||||
serviceId |
|
| If level is set to “service“, specifies the service literals to retrieve |
...
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
result |
| If true, the service response was performed correctly | ||||||||
error |
| Contains the error description if an error has occurred in the request | ||||||||
serviceId |
| service id associated to the literals retrieved | ||||||||
literals |
| Object containing the localized labels |
Example:
Request
http://<hostname>:<port>/livechat/default/getLiterals?country=it&level=service&serviceId=LiveChat_Sidebar
Response
Code Block | ||
---|---|---|
| ||
{ "result": true, "serviceId": "LiveChat_Sidebar", "error": null, "literals": { "Country": "ITit-it", "Separator": ",", "AppName": "CTLive", "engagement_sidebar_title": "Sidebar", "datacollection_cbl_first_slot_label": "Richiamami subito" } } |
...