ListDIJobRunDetails

Updated at:

Retrieves runtime information for data integration tasks.

Operation description

You must purchase DataWorks Basic Edition or higher to use this feature.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

DIJobId

integer

Yes

The ID of the data integration task. To obtain the ID, call the ListDIJobs operation by using a workspace ID (ProjectId) and obtain the ID from the PagingInfo.DIJobs[].Id parameter in the response. If you want to find the workspace from a general resource group, call the ListResourceGroups operation to obtain the resource group ID, and then call the ListResourceGroupAssociateProjects operation by using the resource group ID to obtain the associated workspace ID from the ProjectIdList parameter.

11265

InstanceId

integer

No

The ID of the instance.

1234

PageNumber

integer

No

The page number of the requested data.

1

PageSize

integer

No

The number of entries per page. Default value: 10. Maximum value: 100.

10

SourceDataSourceName

string

No

The name of the source data source used for filtering.

ds_name

SourceDatabaseName

string

No

The name of the source database used for filtering.

db_name

SourceSchemaName

string

No

The name of the source schema used for filtering.

schema_name

SourceTableName

string

No

The name of the source table used for filtering.

table_name

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

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

691CA452-D37A-4ED0-9441

PagingInfo

object

The pagination information.

TotalCount

string

The total number of table synchronization progress records that meet the query conditions.

131

PageSize

string

The number of entries per page.

10

PageNumber

string

The page number of the returned page.

1

JobRunInfos

array<object>

The list of synchronization progress records returned by table, including the running information of schema synchronization, full batch synchronization, and real-time synchronization.

object

The task running information of a single table.

SourceDatasourceName

string

The name of the source data source.

ds_name

SourceDatabaseName

string

The name of the source database.

db_name

SourceSchemaName

string

The name of the source schema.

schema_name

SourceTableName

string

The name of the source table.

table_name

DestinationDatasourceName

string

The name of the destination data source.

dst_name

DestinationDatabaseName

string

The name of the destination database.

dst_db

DestinationSchemaName

string

The name of the destination schema.

dst_schema

DestinationTableName

string

The name of the destination table.

dst_name

StructureMigrationStatus

string

The status of schema synchronization.

Finished

StructureMigrationErrorMessage

string

The error message of schema synchronization. This parameter is empty if no error occurs.

create table t1 fail.

FullMigrationStatus

string

The status of full batch migration.

Finished

FullMigrationErrorMessage

string

The error message of full batch migration. This parameter is empty if no error occurs.

sync table t1 fail.

OfflineErrorRecords

integer

The number of error records in the full batch synchronization of the table.

0

OfflineTotalBytes

integer

The total amount of data in the full batch synchronization of the table. Unit: bytes.

100

OfflineTotalRecords

integer

The total number of records in the full batch synchronization of the table.

10

RealtimeMigrationStatus

string

The status of real-time synchronization.

Running

RealtimeMigrationErrorMessage

string

The error message of real-time synchronization. This parameter is empty if no error occurs.

sync table t1 fail.

Examples

Success response

JSON format

{
  "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"
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.