CreateSkillGroup

更新时间:
复制 MD 格式

You can call CreateSkillGroup to create a skill group under 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

Instance ID.

ccc-test

Name

string

Yes

The skill group name. It must be 1 to 64 characters in length, can contain digits, letters, underscores (_), and hyphens (-), and must start with a letter.

skillgroup

DisplayName

string

Yes

Display name of the skill group. It must be 1 to 64 characters in length.

测试技能组

Description

string

No

Description of the skill group. This parameter is optional. If not specified, it defaults to empty.

云联络中心的测试技能组。

MediaType

string

No

Media type. The default value is AUDIO. Other valid values include CHAT and VIDEO.

CHAT

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

Data

object

Data.

InstanceId

string

Instance ID.

ccc-test

Description

string

Description of the skill group.

云联络中心的测试技能组。

Name

string

Skill group name.

skillgroup

SkillGroupId

string

Skill group ID, in the format: skill group name@instance ID.

skillgroup@ccc-test

MediaType

string

Media type. The default value is AUDIO. Other valid values include CHAT and VIDEO.

VIDEO

Examples

Success response

JSON format

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75",
  "Data": {
    "InstanceId": "ccc-test",
    "Description": "云联络中心的测试技能组。",
    "Name": "skillgroup",
    "SkillGroupId": "skillgroup@ccc-test",
    "MediaType": "VIDEO"
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 Parameter.Blank The parameter %s may not be null or blank.
400 Parameter.Format The format of parameter %s is invalid. %s
500 InternalService.DB An internal DB service error occurred. %s
404 NotExists.InstanceId The specified instance %s does not exist.
409 AlreadyExists.SkillGroupId Skill group %s already exists in instance %s. The specified skill group already exists in the cloud contact center instance.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.