Updates the tasks in a task flow.

You can call this operation to modify the node configuration.

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 Yes UpdateTaskContent

The operation that you want to perform. Set the value to UpdateTaskContent.

Tid Long No 3***

The ID of the tenant.

Note The ID of the tenant is displayed when you move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the Manage DMS tenants topic.
NodeId String Yes 43****

The ID of the node. You can call the GetTaskInstanceRelation operation to query the node ID.

NodeContent String No { "dbId":12****, "sql":"select * from test_table", "dbType":"lindorm_sql" }

The modified configuration for the node. Format:

Response parameters

Parameter Type Example Description
RequestId String 39557312-28D5-528F-9554-80C0700EB489

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

ErrorCode String UnknownError

The error code returned if the request failed.

ErrorMessage String UnknownError

The error message returned if the request failed.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.

Examples

Sample requests

http(s)://dms-enterprise.aliyuncs.com/?Action=UpdateTaskContent
&Tid=3***
&NodeId=43****
&NodeContent=test
&Common request parameters

Sample responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<UpdateTaskContentResponse>
    <RequestId>39557312-28D5-528F-9554-80C0700EB489</RequestId>
    <Success>true</Success>
</UpdateTaskContentResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "39557312-28D5-528F-9554-80C0700EB489",
  "Success" : true
}

Error codes

For a list of error codes, see Service error codes.