Creates a smoke testing workflow.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Required CreateDagTest

The operation that you want to perform.

Bizdate String Required 2020-05-26 00:00:00

The data timestamp of the node instance.

Name String Required xm_create_test

The name of the workflow.

NodeId Long Yes 1234

The ID of the node.

ProjectEnv String Required PROD

The environment of the workspace, including projects in PROD and DEV.

RegionId String Required cn-shanghai

Region information, which is usually the region where the service is located. For example, China (Shanghai) is cn-shanghai, and China (Zhangjiakou) is cn-zhangjiakou. You do not need to specify the RegionId because it is automatically resolved based on the endpoint that is called.

NodeParams String No bizdate=$bizdate tbods=$tbods

Node parameters.

Response parameters

Parameter Type Example Description
Data Long 3333333

The ID of the workflow.

ErrorCode String 0

The error code.

ErrorMessage String test

The returned message.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String E6F0DBDD-5AD****

The ID of the request. It is used to locate logs and troubleshoot problems.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample requests

http(s)://[Endpoint]/? Action=CreateDagTest
&Bizdate=2020-05-26 00:00:00
&Name=xm_create_test
&NodeId=1234
&ProjectEnv=PROD
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

XML format

<RequestId>E6F0DBDD-5AD****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>3333333</Data>
<ErrorCode>0</ErrorCode>
<ErrorMessage>test</ErrorMessage>
<Success>true</Success>

JSON format

{"RequestId":"E6F0DBDD-5AD****","HttpStatusCode":"200","Data":"3333333","ErrorCode":"0","ErrorMessage":"test","Success":"true"}

Errors

For a list of error codes, visit the API Error Center.