UpdateConfigItems

Updated at:

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

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 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:

  • AllowAudioDownload :

    Specifies whether to allow agents to download recordings. Valid values:

    • 0: Not allowed.

    • 1: Allowed.

  • RecordingStorageSetting :

    The recording storage configuration of the instance.

  • AllowChooseSignedSkillGroup :

    Specifies whether agents can manually select skill groups to sign in to before going online. Valid values:

    • 0: Automatically signs in to all associated skill groups.

    • 1: Manually selects skill groups to sign in to.

  • AgentRingingTimeoutSeconds :

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

  • ShowCalledID :

    The caller ID display settings for agents. Valid values:

    • -1: Hides all caller IDs.

    • 0: Hides partial caller IDs.

    • 1: Displays complete caller IDs.

  • ShowCalleeID :

    The callee ID display settings for outbound calls made by agents. Valid values:

    • -1: Hides all callee IDs.

    • 0: Hides partial callee IDs.

    • 1: Displays complete callee IDs.

  • AllowHangup :

    The hang-up settings for agents in inbound call scenarios. Valid values:

    • 0: Does not allow agents to hang up.

    • 1: Allows agents to hang up.

  • AutoAnswerCall :

    The call answering settings for agents. Valid values:

    • -1: Answers calls manually.

    • n: Answers calls after n seconds of ringing.

[{"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.