Domain name for API request: wedata.tencentcloudapi.com.
Update Integration Task
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: ModifyIntegrationTask. |
Version | Yes | String | Common Params. The value used for this API: 2021-08-20. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
TaskInfo | Yes | IntegrationTaskInfo | Task Information |
ProjectId | Yes | String | Project ID |
RollbackFlag | No | Boolean | Default is false. When true, it indicates rolling back to the node logic |
Parameter Name | Type | Description |
---|---|---|
TaskId | String | Task ID |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Update Integration Task
POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyIntegrationTask
<Common request parameters>
{
"TaskInfo": {
"TaskName": "testtaskname",
"Description": "testdesc",
"SyncType": 2,
"TaskType": 202,
"WorkflowId": "",
"TaskId": "n11a6d01c-0ec6-4efc-bd14-97a921d01d3f",
"ScheduleTaskId": "cql-hjlx38yl",
"TaskGroupId": "a5d814828-452c-46f6-b128-19c1a3249bf0",
"ProjectId": "1486446569620893696",
"CreatorUin": "100022187073",
"OperatorUin": "100022187073",
"OwnerUin": "100022187073",
"AppId": "1257305888",
"Status": 3,
"Nodes": [
{
"Id": "130973",
"TaskId": "n11a6d01c-0ec6-4efc-bd14-97a921d01d3f",
"Name": "nodeTestName",
"NodeType": "INPUT",
"DataSourceType": "MYSQL",
"Description": "testdesc",
"DatasourceId": "914840",
"Config": [
{
"Name": "Type",
"Value": "MYSQL"
},
{
"Name": "splitPk",
"Value": "id"
},
{
"Name": "Database",
"Value": "databasetestname"
},
{
"Name": "TableNames",
"Value": "tabletestname"
},
{
"Name": "PrimaryKey",
"Value": "id"
},
{
"Name": "isNew",
"Value": "true"
},
{
"Name": "PrimaryKey_INPUT_SYMBOL",
"Value": "input"
},
{
"Name": "splitPk_INPUT_SYMBOL",
"Value": "input"
},
{
"Name": "isClean",
"Value": "0"
},
{
"Name": "encoding",
"Value": "utf-8"
}
],
"ExtConfig": [
{
"Name": "x",
"Value": "300"
},
{
"Name": "y",
"Value": "260"
},
{
"Name": "iconPosition",
"Value": "left"
},
{
"Name": "size",
"Value": "m"
}
],
"Schema": [
{
"Type": "String",
"Alias": "name",
"Comment": "Name",
"Id": "616042880",
"Name": "name",
"Properties": [
{
"Name": "exttestname",
"Value": "exttestvalue"
}
]
}
],
"NodeMapping": {
"SourceId": "130973",
"SinkId": "130972",
"SourceSchema": [
{
"Id": "597853056",
"Name": "name",
"Value": "test",
"Type": "String",
"Alias": "name",
"Comment": "Name",
"Properties": [
{
"Name": "exttestname",
"Value": "exttestvalue"
}
]
}
],
"SchemaMappings": [
{
"SourceSchemaId": "597853056",
"SinkSchemaId": "616042880"
}
]
},
"AppId": "1315051999",
"ProjectId": "1486446569620893696",
"CreatorUin": "100028644005",
"OperatorUin": "100028644005",
"OwnerUin": "100028644005",
"CreateTime": "2022-05-07 10:13:21",
"UpdateTime": "2022-05-07 10:13:21"
}
],
"ExecutorId": "20220331190555092303",
"Mappings": [
{
"SourceId": "130973",
"SinkId": "130972",
"SourceSchema": [
{
"Id": "597853056",
"Name": "name",
"Value": "test",
"Type": "String",
"Alias": "name",
"Comment": "Name",
"Properties": [
{
"Name": "exttestname",
"Value": "exttestvalue"
}
]
}
],
"SchemaMappings": [
{
"SourceSchemaId": "597853056",
"SinkSchemaId": "616042880"
}
]
}
],
"TaskMode": "1",
"Incharge": "100028625403",
"OfflineTaskAddEntity": {
"WorkflowName": "",
"DependencyWorkflow": "",
"StartTime": "2024-04-10 00:00:00",
"EndTime": "2099-12-31 00:00:00",
"CycleType": 1,
"CycleStep": 5,
"DelayTime": 0,
"CrontabExpression": "",
"RetryWait": 3,
"Retriable": 1,
"TryLimit": 3,
"RunPriority": 6,
"ProductName": "DATA_INTEGRATION",
"SelfDepend": 3,
"TaskAction": "",
"ExecutionEndTime": "23:59",
"ExecutionStartTime": "00:00",
"TaskAutoSubmit": true,
"InstanceInitStrategy": "T+0"
},
"ExecutorGroupName": "Resource Group 01",
"InLongManagerUrl": "172.16.64.68:8083",
"InLongStreamId": "f8317843e-68f9-4373-914f-241d7200a9a4",
"InLongManagerVersion": "v17",
"DataProxyUrl": [
"172.16.64.68:8086"
],
"Submit": true,
"InputDatasourceType": "MYSQL",
"OutputDatasourceType": "DLC",
"NumRecordsIn": 1000,
"NumRecordsOut": 1000,
"ReaderDelay": 5.0,
"NumRestarts": 2,
"CreateTime": "2022-05-07 10:13:21",
"UpdateTime": "2022-05-07 10:13:21",
"LastRunTime": "2022-05-07 10:13:21",
"StopTime": "2022-05-07 10:13:21",
"HasVersion": true,
"Locked": true,
"Locker": "100022187073",
"RunningCu": 2.0,
"TaskAlarmRegularList": [
"1769,1768"
],
"SwitchResource": 1,
"ReadPhase": 0,
"InstanceVersion": 12,
"ArrangeSpaceTaskId": "20230112170349643",
"OfflineTaskStatus": 1
},
"ProjectId": "1486446569620893696",
"RollbackFlag": false
}
{
"Response": {
"RequestId": "3508f999-0ee0-43b9-9ee3-542bfbf6559a",
"TaskId": "n11a6d01c-0ec6-4efc-bd14-97a921d01d3f"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure | CAM Signature/Authentication Error. |
AuthFailure.SignatureExpire | Not logged in or login has expired. |
FailedOperation | Operation Failure. |
InternalError | An internal error occurs. |
InvalidParameter | Parameter error. |
InvalidParameterValue | Parameter value error. |
LimitExceeded | Quota limit exceeded. |
MissingParameter | Missing Parameter Error. |
OperationDenied | Operation Rejected. |
RequestLimitExceeded | The number of requests exceeded the frequency limit. |
ResourceInUse | Resource Occupied. |
ResourceInsufficient | Insufficient resources. |
ResourceNotFound | The resource does not exist. |
ResourceUnavailable | Resource Unavailable. |
UnauthorizedOperation | Unauthorized Operation. |
UnknownParameter | Unknown parameter error. |
UnsupportedOperation | Operation not supported. |
本页内容是否解决了您的问题?