UpdateAgent
Updates the agent information in the Cloud Customer Service System based on the instance ID and agent account name. You can update the display name and skill groups of the agent.
Operation description
Before you call this operation, make sure that you have obtained the AICCS instance ID. For more information, see the instructions in the Request parameters section.
After the update, you can call the GetAgent operation to check whether the update meets your expectations.
Currently, only the display name and skill groups can be updated.
QPS limits
Call frequency per user: not limited.
API frequency: 100 calls per second.
If the total number of calls from multiple users exceeds the API frequency limit, throttling is triggered.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The unique ID of the client request. This parameter is used for idempotence verification. You can use a UUID to generate the value. |
46c1341e-2648-447a-9b11-70b6a298d94d |
| InstanceId |
string |
Yes |
The ID of the Artificial Intelligence Cloud Call Service instance. You can obtain the instance ID from Instance Management in the left-side navigation pane of the Artificial Intelligence Cloud Call Service console. |
ccc_xp_pre-cn-*** |
| AccountName |
string |
Yes |
The account name of the agent, which is the mobile phone number or email address specified during account registration. The account name must be unique within the instance. Note
This parameter cannot be updated. |
username@example.com |
| DisplayName |
string |
Yes |
The display name of the agent. |
XX Test |
| SkillGroupId |
array |
No |
The skill group to which the agent belongs. |
|
|
integer |
No |
The skill group. |
2345**** |
|
| SkillGroupIdList |
array |
No |
The list of skill groups to which the agent belongs. |
|
|
integer |
No |
The list of skill groups. Separate multiple skill groups with commas (,). |
2321****,4567**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| Message |
string |
The description of the status code. |
OK |
| RequestId |
string |
The ID of the request. |
EE338D98-9BD3-4413-B165 |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The status code. A value of Success indicates that the call is successful. |
Success |
| Success |
boolean |
Indicates whether the call is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Message": "OK",
"RequestId": "EE338D98-9BD3-4413-B165",
"HttpStatusCode": 200,
"Code": "Success",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InvalidOperation | The operation is invalid. | |
| 500 | NoAgentFound | The specified agent does not exist. | |
| 500 | NoTenantFound | The specified tenant does not exist. | |
| 500 | SystemError | A system error occurred. Please contact the administrator. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.