Queries a list of new-version synchronization tasks in Data Integration. A new-version synchronization task can be a real-time synchronization task used to synchronize full or incremental data in a database, a batch synchronization task used to synchronize full or incremental data in a database, or a real-time synchronization task used to synchronize incremental data in a single table.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| PageNumber | long | No | The page number. Pages start from page 1. Default value: 1. | 1 |
| PageSize | long | No | The number of entries per page. Default value: 10. Maximum value: 100. | 10 |
| Name | string | No | The name of the export task. The name of each export task must be unique. You must make sure that the names of the export tasks in the current workspace are unique. | test_export_01 |
| SourceDataSourceType | string | No | The source type. Valid values: PolarDB, MySQL, Kafka, Loghub, Hologres, Oracle, OceanBase, MongoDB, RedShift, Hive, SqlServer, Doris, and ClickHouse. If you do not configure this parameter, the API operation queries synchronization tasks that use all types of sources. | MySQL |
| DestinationDataSourceType | string | No | The destination type. Valid values: Hologres, OSS-HDFS, OSS, MaxCompute, Loghub, STARROCKS, Datahub, ANALYTICDB_FOR_MYSQL, Kafka, and Hive. If you do not configure this parameter, the API operation queries synchronization tasks that use all type of destinations. | Hologres |
| MigrationType | string | No | The synchronization type. Valid values:
| FullAndRealtimeIncremental |
| ProjectId | long | Yes | The DataWorks workspace ID. | 1967 |
| SpecType | string | No | The task configuration specification type. Valid values: FILESPEC, CLASSIC, ALL. FILESPEC: New-style task based on structured filespec; CLASSIC: Task using traditional configuration mode. | FILESPEC |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "7263E4AC-9D2E-5B29-B8AF-7C5012E92A41",
"PagingInfo": {
"TotalCount": 12,
"PageSize": 10,
"PageNumber": 1,
"DIJobs": [
{
"Id": 32599,
"ProjectId": 26442,
"JobName": "mysql_to_holo_sync_35197",
"MigrationType": "FullAndRealtimeIncremental",
"SourceDataSourceType": "Mysql",
"DestinationDataSourceType": "Hologres",
"JobStatus": "Running",
"DIJobId": 32599
}
]
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2026-01-07 | The request parameters of the API has changed | View Change Details |
| 2025-01-06 | The response structure of the API has changed | View Change Details |
