CreateScriptWaveform
Creates a recording for the broadcast script.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:CreateScriptWaveform |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
2bfa5ae4-7185-4227-a3b8-328f26f11be1 |
| ScriptId |
string |
Yes |
Scenario ID. |
c5c5d8c0-c0f1-48a7-be2b-dc46006d888a |
| ScriptContent |
string |
Yes |
The text of the script. |
您好,您昨晚在李佳琦直播间下单的娜薇诗椰子水二代精华2支装还未付款,超时未支付会自动关闭订单,活动错过不再有奥。 |
| FileId |
string |
Yes |
The ID of the recording file. Note
Obtain this ID from the Folder parameter of the GetJobDataUploadParams operation. |
6f91885fa24b4c408d8f4eb392fd8ae6 |
| FileName |
string |
Yes |
The name of the recording file. |
faaf8508-9542-4ac4-84a2-0ddcbb5f79a6 (2).json |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The ID of the request. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Code |
string |
The status code. |
OK |
| Message |
string |
Script information |
Success |
| ScriptWaveformId |
string |
The ID of the script waveform. |
df8216aa-d8f6-4501-864f-f8334d946561 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"Code": "OK",
"Message": "Success",
"ScriptWaveformId": "df8216aa-d8f6-4501-864f-f8334d946561"
}
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. | |
| 404 | NotExist.Script | The specified Script does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.