RunSmokeTest
Creates a smoke test workflow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The environment of the workspace. Valid values: PROD (production environment) and DEV (development environment). Workspaces in basic mode do not have a development environment. For more information, see Workspaces in basic mode and standard mode. Valid values:
|
PROD |
| Bizdate |
string |
Yes |
The business date. The format is |
2020-05-26 00:00:00 |
| Name |
string |
Yes |
The name of the workflow. |
xm_create_test |
| NodeId |
integer |
Yes |
The ID of the node. You can call the ListNodes operation to query the node ID. To obtain the node ID, first call ListProjects to obtain the project ID, call ListNodes, and then obtain the node ID from Data.Nodes[].NodeId. |
1234 |
| NodeParams |
string |
No |
The parameters of the node. Specify a JSON string where the key is the node ID and the value is the actual parameter value. |
bizdate=$bizdate tbods=$tbods |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
integer |
The ID of the workflow. |
3333333 |
| ErrorMessage |
string |
The error message. |
The connection does not exist. |
| RequestId |
string |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
E6F0DBDD-5AD**** |
| ErrorCode |
string |
The error code. |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
Indicates whether the call was successful. |
false |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": 3333333,
"ErrorMessage": "The connection does not exist.",
"RequestId": "E6F0DBDD-5AD****",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": false
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.