Inserts literals at domain/service level.
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier |
Authorization: see Authentication mechanisms
Request Body:
Type:
Status | ||
---|---|---|
|
Name | Mandatory | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
country |
|
|
Language code | |||||||||||||
level |
|
| Can assume one of the following values:
| ||||||||||
literals |
|
| Literals to be iserted/updated | ||||||||||
serviceId |
|
| If level is set to “service“, specifies the service literals to insert/update |
Response:
Type:
Status | ||
---|---|---|
|
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 |
Example:
Request
http://<hostname>:<port>/livechat/default/insertUpdateLiterals
Request body
Code Block | ||
---|---|---|
| ||
{
"country" : "it-it",
"level" : "service",
"serviceId" : "LiveChat_Sidebar",
"literals" : {
"engagement_sidebar_title" : "Sidebar",
"datacollection_cbl_first_slot_label" : "Richiamami subito"
}
} |
...