Creates a task flow.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID. | 3*** |
DagName | string | Yes | The name of the task flow. | Dag_Name |
Description | string | No | The description of the task flow. | zht_test |
ScenarioId | long | No | The ID of the scenario. | 2** |
DagName is unique to each task flow. If the DagName you specify already exists, the request fails.
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "19DA51A9-AC3E-5C36-8351-07EBCD2B89A1",
"ErrorCode": "UnknownError",
"ErrorMessage": "User can not access to Tenant [1]",
"Success": true,
"DagId": 0
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history