ImportScript
Import a scenario.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:ImportScript |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
00b37342-e759-4fe5-b296-aef775933af0 |
| SignatureUrl |
string |
Yes |
URL of the scenario JSON file to import. Note
This value is the Folder parameter returned by the GetJobDataUploadParams operation. |
UPLOADED/SCRIPT/136a055e-***-46c6-853a-731b3a2973de/18dc6d79-338f-413c-a5a8-dcce5f05b41a_9bd7916d-a340-4925-a911-92390cbe0f33.json |
| NluEngine |
string |
No |
NLU engine. Applies only to Large Language Model (LLM) scenarios. Valid values:
|
Prompts |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| RequestId |
string |
Request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the call succeeded.
|
true |
| Code |
string |
API status code. |
OK |
| Message |
string |
API message. |
Success |
| ScriptId |
string |
Outbound scenario ID. |
d7fbd0a0-27bc-49c4-a456-ecb75e79122b |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"Code": "OK",
"Message": "Success",
"ScriptId": "d7fbd0a0-27bc-49c4-a456-ecb75e79122b"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | |
| 404 | NotExist.Instance | The specified Instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.