UploadScriptRecording
Uploads a recording file.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:UploadScriptRecording |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
c209abb3-6804-4a75-b2c7-dd55c8c61b6a |
| ScriptId |
string |
Yes |
The script ID. |
d004cfd2-6a81-491c-83c6-cbe186620c95 |
| FileId |
string |
Yes |
The key of the file in OSS. |
cab_script_recording/upload/88a56c18-3dc8-4338-9116-911deb169780/hello.wav |
| FileName |
string |
Yes |
The file name. |
hello.wav |
| Content |
string |
Yes |
The text content of the recording file. |
Hello |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Uuid |
string |
The unique ID of the recording. |
5feaab8a-97fd-4720-8108-79e017f2d3ac |
| RequestId |
string |
The request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Code |
string |
The return code. |
OK |
| Message |
string |
The response message. |
Success |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Uuid": "5feaab8a-97fd-4720-8108-79e017f2d3ac",
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"Code": "OK",
"Message": "Success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.