CreateInstance
Creates an intelligent navigation instance, configures the instance name, description, and maximum number of concurrent sessions, and returns the ID of the new instance.
Operation description
Call this operation to create an intelligent navigation instance as the configuration object for a digital worker scenario.
When you integrate with Cloud Call Center, specify the integration source and associated instance by using UnionSource and UnionInstanceId. After a successful call, InstanceId is returned for subsequent API calls.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
voicebot:CreateInstance |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the scenario. |
Test scenario |
| Description |
string |
No |
The description of the scenario. The description can be up to 100 characters in length. |
This is a test scenario |
| Concurrency |
integer |
Yes |
The maximum number of concurrent sessions. The value must be a non-negative integer and cannot exceed the current available concurrency quota. |
1 |
| UnionSource |
string |
No |
The integration source of the intelligent navigation. When you integrate with Cloud Call Center, set the value to |
CCC |
| UnionInstanceId |
string |
No |
The instance ID of the integration source. When |
demo-lctms |
| NluServiceParamsJson |
string |
No |
The parameter settings of the natural language understanding (NLU) service, represented as a JSON character string. The parameters correspond to the type of NLU service used. |
{"agentKey":"20791f5f886b4826b3d9b676a029c33d","agentId":"1340201","isCCCAgent":false,"agentName":"Cloud Chatbot Business Workspace 1","agentLlm":true} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. You can use the ID to locate and troubleshoot issues. |
01A1C878-63EC-50EF-B7A0-024F98B09129 |
| InstanceId |
string |
The ID of the newly created intelligent navigation scenario. |
c28fc549-d88f-4f6e-85ad-a0806e5e39c0 |
Examples
Success response
JSON format
{
"RequestId": "9ab43460-c0b9-40e2-8447-48d82c97fc67",
"InstanceId": "c28fc549-d88f-4f6e-85ad-a0806e5e39c0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidConcurrency.LimitExceeded | The specified Concurrency exceeds the upper limit. | |
| 400 | InvalidInstanceName.Duplicated | The specified InstanceName already exists. | |
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.