ListConfigItems
Queries the configuration items of a specified instance.
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 information belongs, such as an Alibaba Cloud account ID, instance ID, skill group ID, or agent ID. |
ccc-test |
| ObjectType |
string |
Yes |
The type of the object to which the configuration information belongs. Valid values:
|
INSTANCE |
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. |
EEEE671A-3E24-4A04-81E6-6C4F5B39DF75 |
| Params |
array |
The list of error parameters. |
["ParameterName"] |
|
string |
The response parameter. |
None |
|
| Data |
array<object> |
The list of configuration items. |
|
|
object |
The configuration item. |
||
| ObjectId |
string |
The ID of the object to which the configuration information belongs. |
ccc-test |
| Value |
string |
The value of the configuration item. |
100 |
| ObjectType |
string |
The type of the object to which the configuration information belongs. |
INSTANCE |
| InstanceId |
string |
The instance ID. |
ccc-test |
| Name |
string |
The name 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 add custom configuration items as needed. Valid values:
|
config-item |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75",
"Params": [
"无"
],
"Data": [
{
"ObjectId": "ccc-test",
"Value": "100",
"ObjectType": "INSTANCE",
"InstanceId": "ccc-test",
"Name": "config-item"
}
]
}
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. |
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | The parameter cannot be null or a string that contains whitespace characters. |
| 400 | Parameter.Empty | The parameter %s may not be null or empty. | The parameter cannot be null or an empty string. |
| 400 | Parameter.Null | The parameter %s may not be null. | The parameter cannot be null. |
| 403 | Permission.Unauthorized | You are not authorized to perform this action. %s privileges are required. | You are not authorized to perform this operation. The specified permissions are required. |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | The specified call center instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.