AddUsersToSkillGroup

更新时间:
复制 MD 格式

You can invoke AddUsersToSkillGroup to add one or more agents to the same skill group.

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

Instance ID.

ccc-test

SkillGroupId

string

Yes

Skill group ID.

test1@ccc-test

UserSkillLevelList

string

Yes

A list of agent skill levels in the skill group, formatted as a JSON array string. Each array element is an object containing two fields: userId and skillLevel. The userId field specifies the ID of the agent to be added, and the skillLevel field specifies the agent's skill level after joining the skill group. Skill levels range from 1 to 10; a lower value indicates stronger service capability and the ability to handle more calls per unit time.

[{"userId":"agent1@ccc-test","skillLevel":10},{"userId":"agent2@ccc-test","skillLevel":10}]

Response elements

Element

Type

Description

Example

object

Code

string

Response code.

OK

HttpStatusCode

integer

HTTP status code.

200

Message

string

Response message.

RequestId

string

Request ID.

EEEE671A-3E24-4A04-81E6-6C4F5B39DF75

Examples

Success response

JSON format

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75"
}

Error codes

HTTP status code

Error code

Error message

Description

400 Parameter.Maximum The parameter %s must be less than or equal to %s.
400 Parameter.Minimum The parameter %s must be greater than or equal to %s.
404 NotExists.InstanceId The specified instance %s does not exist.
404 NotExists.SkillGroupId The skill group ID %s does not exist in instance %s.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.