CreateSkillGroup
Create a skill group based on the skill group name and channel type.
Operation description
This API allows you to define information such as the external display name and description of the skill group. For details, see Request Parameters.
The Data parameter returned by this API is the ID of the successfully created skill group.
Queries per second (QPS) limits
Per-user invocation frequency: No rate limiting.
API frequency: 1000 queries per second.
If the total invocations from multiple users exceed the API frequency limit, throttling will be triggered.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Artificial Intelligence Cloud Call Service (AICCS) instance ID. |
ccc_xp_pre-cn-*** |
| SkillGroupName |
string |
Yes |
Skill group name. |
在线自动化技能组 |
| Description |
string |
No |
Skill group description. |
在线自动化技能组 |
| DisplayName |
string |
No |
External display name of the skill group. |
在线自动化技能组 |
| ChannelType |
integer |
Yes |
Channel type of the skill group. Valid values:
|
2 |
| ClientToken |
string |
No |
Unique ID of the customer request. Used for idempotency validation. You can generate it using UUID. |
46c1341e-2648-447a-****-70b6a298d94d |
| DepartmentId |
integer |
No |
Department ID. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
result |
||
| Message |
string |
Description of the status code. |
successful |
| RequestId |
string |
Request ID. |
EE338D98-9BD3-4413-B165 |
| Data |
integer |
ID of the successfully created skill group. |
123456 |
| Code |
string |
Status code. A value of "Success" indicates that the request succeeded. |
Success |
| Success |
boolean |
Indicates whether the API call succeeded. Valid values:
|
true |
Examples
Success response
JSON format
{
"Message": "successful",
"RequestId": "EE338D98-9BD3-4413-B165",
"Data": 123456,
"Code": "Success",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidInstanceId | The specified instance is unavailable or does not exist. | |
| 400 | Department.NotFound | The specified department is unavailable or does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.