ModifySkillLevelsOfUser
Modifies the skill levels of one or more skill groups for a specified agent in a specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| UserId |
string |
Yes |
The agent ID. |
agent@ccc-test |
| SkillLevelList |
string |
Yes |
The list of skill levels for skill groups. The value is a string in the JSON array format. Each array element is an object that contains two fields: skillGroupId and skillLevel. Set skillGroupId to the ID of the skill group that you want to modify, and set skillLevel to the skill level that you want to modify. Valid values: 1 to 10. A smaller value indicates a higher business capability, which means the agent can handle more calls per unit of time. |
[{"skillGroupId":"skillgroup1@ccc-test","skillLevel":1},{"skillGroupId":"skillgroup2@ccc-test","skillLevel":10}] |
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. |
E49D8B83-A3EC-44D4-A920-578BC3C698AD |
| Data |
string |
The data. |
None |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "E49D8B83-A3EC-44D4-A920-578BC3C698AD",
"Data": "无"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Maximum | The parameter %s must be less than or equal to %s. | The parameter must be less than or equal to the maximum value defined by the system. |
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | The parameter cannot be null or a string that contains whitespace characters. |
| 400 | Parameter.Null | The parameter %s may not be null. | The parameter cannot be null. |
| 403 | Permission.User | You have no permission to access user(s) %s. | You are not authorized to access the specified users. |
| 403 | Permission.SkillGroup | You have no permission to access skill group(s) %s. | You are not authorized to access the specified skill groups. |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | The specified call center instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.