You can use UpdateChatRoutingProfile to configure session transfers.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
9cfad875-6260-4a53-ab6e-b13e3fb31f7d |
| RoutingProfiles |
string |
Yes |
The session assignment/transfer configuration. |
{ "RoutingType": "Automatic", "AgentConcurrencySettings": { "AllowExceedingLimitWhenTransferring": false, "ConcurrencyLimit": 4, "AllowExceedingLimitWhenClaiming": true, "Enabled": true }, "ChatSettings": { "IdleChatTimeoutSeconds": 300 }, "DistributionSettings": { "Enabled": true, "AgentRingTimeoutSeconds": 119, "MaxNumberOfConversationsAgentCanMiss": 5, "PostAgentMissingConversionsAction": "Nothing" } } |
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. |
无 |
| RequestId |
string |
The request ID. |
BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E |
| Params |
array |
The list of incorrect parameters. |
|
|
string |
An incorrect parameter. |
无 |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E",
"Params": [
"无"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Blank | The parameter %s must not be null. | |
| 400 | Parameter.Empty | The parameter %s must not be null or empty. | |
| 400 | Parameter.Enumeration | The parameter %s must be one of the value of enumeration %s. | |
| 400 | Parameter.Null | The parameter %s must not be null. | |
| 403 | NoPermission | No permission | |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | |
| 404 | NotExists.UserId | The user %s does not exist in instance %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.