CreateBeebotIntent
Creates an intent for a small-model scenario.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:CreateBeebotIntent |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
e5035654-1745-484a-8c5b-165f7c7bcd79 |
| ScriptId |
string |
Yes |
The scenario ID. |
c5c5d8c0-c0f1-48a7-be2b-dc46006d888a |
| IntentDefinition |
object |
Yes |
The description of the intent. |
|
| IntentName |
string |
Yes |
The intent name. Note
This is the intent code. It serves as a unique identifier. |
知道了 |
| AliasName |
string |
No |
The intent alias. |
嗯明白了 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the call succeeded. |
true |
| BeebotRequestId |
string |
The internal request ID. |
497CFAFF-48CC-161A-AD2C-252DED569037 |
| Code |
string |
The API status code. |
OK |
| Message |
string |
The API message. |
Success |
| IntentId |
integer |
The intent ID. |
10717802 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC\n",
"Success": true,
"BeebotRequestId": "497CFAFF-48CC-161A-AD2C-252DED569037",
"Code": "OK",
"Message": "Success",
"IntentId": 10717802
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.