ModifyUserLevelsOfSkillGroup
You can invoke ModifyUserLevelsOfSkillGroup to modify the skill levels of one or more agents under a specified skill group in a specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
ccc-test |
| SkillGroupId |
string |
Yes |
Skill group ID. |
skillgroup@ccc-test |
| UserLevelList |
string |
Yes |
A JSON-formatted string representing an array of agent skill levels. Each array element is an object containing two fields: userId and skillLevel. Specify the agent ID in userId and the desired skill level in skillLevel. The skill level must be an integer from 1 to 10, where a lower value indicates stronger business capability and the ability to handle more calls per unit time. |
[{"userId":"agent1@ccc-test","skillLevel":1},{"userId":"agent2@ccc-test","skillLevel":10}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Code |
string |
Response code. |
OK |
| Message |
string |
Response message. |
无 |
| Data |
string |
Data. |
无 |
| RequestId |
string |
Request ID. |
E49D8B83-A3EC-44D4-A920-578BC3C698AD |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Data": "无",
"RequestId": "E49D8B83-A3EC-44D4-A920-578BC3C698AD"
}
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. | |
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | |
| 500 | InternalService.DB | An internal DB service error occurred. %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.