全部產品
Search
文件中心

DataWorks:ListDIJobRunDetails - 擷取Data Integration同步任務啟動並執行執行進展

更新時間:Mar 21, 2026

擷取Data Integration運行資訊。

介面說明

需要購買 DataWorks 基礎版及以上版本才能使用。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

DIJobId

integer

任務 ID。

11265

InstanceId

integer

執行個體的 ID。

1234

PageNumber

integer

請求的資料頁數,用於翻頁。

1

PageSize

integer

每頁顯示的條數,預設為 10 條,最大 100 條。

10

SourceDataSourceName

string

篩選的源端資料來源名。

ds_name

SourceDatabaseName

string

篩選的源端資料庫名。

db_name

SourceSchemaName

string

篩選的源端 schema 名。

schema_name

SourceTableName

string

篩選的源端表名。

table_name

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

請求的 ID。用於定位日誌,排查問題。

691CA452-D37A-4ED0-9441

PagingInfo

object

分頁資訊

TotalCount

string

滿足條件的資料總條數。

131

PageSize

string

每頁顯示的條數

10

PageNumber

string

查詢分頁的頁碼。

1

JobRunInfos

array<object>

任務運行資訊。

object

單個表的任務運行資訊。

SourceDatasourceName

string

源端資料來源名。

ds_name

SourceDatabaseName

string

源端資料庫名。

db_name

SourceSchemaName

string

源端 schema 名。

schema_name

SourceTableName

string

源表名。

table_name

DestinationDatasourceName

string

目的端資料來源名。

dst_name

DestinationDatabaseName

string

目的端資料庫名。

dst_db

DestinationSchemaName

string

目的端 Schema 名。

dst_schema

DestinationTableName

string

目的端表名。

dst_name

StructureMigrationStatus

string

結構同步狀態。

Finished

StructureMigrationErrorMessage

string

結構同步報錯資訊,如不報錯則為空白。

create table t1 fail.

FullMigrationStatus

string

全量離線遷移狀態。

Finished

FullMigrationErrorMessage

string

全量離線遷移報錯資訊,如不報錯則為空白。

sync table t1 fail.

OfflineErrorRecords

integer

全量同步總錯誤數。

0

OfflineTotalBytes

integer

全量同步總 Bytes 數。

100

OfflineTotalRecords

integer

全量同步總條數。

10

RealtimeMigrationStatus

string

即時同步狀態。

Running

RealtimeMigrationErrorMessage

string

即時同步錯誤資訊,如不報錯則為空白

sync table t1 fail.

樣本

正常返回樣本

JSON格式

{
  "RequestId": "691CA452-D37A-4ED0-9441",
  "PagingInfo": {
    "TotalCount": "131",
    "PageSize": "10",
    "PageNumber": "1",
    "JobRunInfos": [
      {
        "SourceDatasourceName": "ds_name",
        "SourceDatabaseName": "db_name",
        "SourceSchemaName": "schema_name",
        "SourceTableName": "table_name",
        "DestinationDatasourceName": "dst_name",
        "DestinationDatabaseName": "dst_db",
        "DestinationSchemaName": "dst_schema",
        "DestinationTableName": "dst_name",
        "StructureMigrationStatus": "Finished",
        "StructureMigrationErrorMessage": "create table t1 fail.",
        "FullMigrationStatus": "Finished",
        "FullMigrationErrorMessage": "sync table t1 fail.",
        "OfflineErrorRecords": 0,
        "OfflineTotalBytes": 100,
        "OfflineTotalRecords": 10,
        "RealtimeMigrationStatus": "Running",
        "RealtimeMigrationErrorMessage": "sync table t1 fail.\n"
      }
    ]
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情