UpdateConfigItems
Adds or modifies the configuration items of a specified instance, such as whether to hide caller IDs and whether to allow agents to hang up in inbound call scenarios.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| ObjectId |
string |
Yes |
The ID of the object to which the configuration items belong. |
ccc-test |
| ObjectType |
string |
Yes |
The type of the object to which the configuration items belong. |
INSTANCE |
| ConfigItems |
string |
Yes |
The list of configuration items. The value is a character string in JSON array format. Each array element is an object that contains two fields: name and value. The name field specifies the name of the configuration item, and the value field specifies the value of the configuration item. Configuration item names include system-defined and custom names. System-defined names include whether to allow agents to hang up, whether to automatically answer calls, and the timeout period for unanswered calls. The names of these configuration items are fixed, but their values can be customized. You can also define custom configuration item names and add configuration items as needed. Valid values:
|
[{"name":"ShowCalledID","value":"-1"},{"name":"ShowCalleeID","value":"1"},{"name":"AllowHangup","value":"0"},{"name":"AutoAnswerCall","value":"-1"},{"name":"AllowAudioDownload","value":"1"},{"name":"AllowChooseSignedSkillGroup","value":"1"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
OK |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID. |
8E7Y5B39-3E24-4A04-81E6-6C4F5B39DF75 |
| Params |
array |
The list of error parameters. |
["ParameterName"] |
|
string |
The response parameter. |
None |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "8E7Y5B39-3E24-4A04-81E6-6C4F5B39DF75",
"Params": [
"无"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Enumeration | The parameter %s must be one of the value of enumeration %s. | The parameter must be one of the enumeration values defined by the system. |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | The specified call center instance does not exist. |
| 404 | NotExists.UserId | The user %s does not exist in instance %s. | The specified user does not exist in the Cloud Contact Center instance. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.