ListConfigItems

Updated at:

Queries the configuration items of a specified instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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 :

    Instance-level configuration.

  • USER :

    Agent-level configuration.

  • SKILL_GROUP :

    Skill group-level configuration.

  • ALIYUN_UID :

    Alibaba Cloud account-level configuration.

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:

  • AllowAudioDownload :

    Specifies whether agents are allowed to download recordings. Valid values: 0 (not allowed) and 1 (allowed).

  • RecordingStorageSetting :

    The recording storage configuration of the instance.

  • AllowChooseSignedSkillGroup :

    Specifies whether agents manually select the skill groups to sign in to before going online. Valid values: 0 (automatically sign in to all associated skill groups) and 1 (manually select the skill groups to sign in to).

  • AgentRingingTimeoutSeconds :

    The timeout period for unanswered calls to an agent. Valid values: 5 to 90. Unit: seconds.

  • ShowCalledID :

    The caller ID display for inbound calls to agents. Valid values: -1 (hide all caller numbers), 0 (hide partial caller numbers), and 1 (display the full caller number).

  • ShowCalleeID :

    The callee ID display for outbound calls from agents. Valid values: -1 (hide all callee numbers), 0 (hide partial callee numbers), and 1 (display the full callee number).

  • AllowHangup :

    The hang-up method for inbound calls to agents. Valid values: 0 (agents are not allowed to hang up) and 1 (agents are allowed to hang up).

  • AutoAnswerCall :

    The answer method for inbound calls to agents. Valid values: -1 (answer manually) and n (answer after the phone rings for n seconds).

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.