Call the GetDataCorrectTaskDetail to obtain the execution details of normal data change, lock-free change and data import work order tasks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
OrderId Long Yes 12435523

ticket number, you can call CreateDataCorrectOrder , CreateDataImportOrder , CreateFreeLockCorrectOrder The interface obtains the parameter.

Tid Long No 14325432

The ID of the tenant.

Note Take the tenant ID information displayed in the upper right corner of the system. For details, see Tenant ID and Tenant .
RegionId String No cn-hangzhou

Select the service region of DMS to call the interface. For the value, see RegionID parameter .

Note Set the value to the ID of the region to which your applications are close.

Response parameters

Parameter Type Example Description
RequestId String B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773

The ID of the request.

Success Boolean true

Indicates whether the call was successful.

ErrorMessage String UnknownError

The error message.

ErrorCode String UnknownError

The error code.

DataCorrectTaskDetail object

Change task execution details.

DBTaskGroupId Long 1234235

The SQL task grouping ID.

jobStatus String SUCCESS

SQL details status. Valid values:

  • INIT : Initialization status
  • PENDING : Waiting for task crawl
  • BE_SCHEDULED : to be scheduled
  • FAIL : execution failed
  • SUCCESS : execution succeeded
  • PAUSE : Pause
  • DELETE : delete
  • RUNNING : Executing
ActualAffectRows Long 1

The number of returned results.

CreateTime String 2021-03-05 15:08:55

The time when the task was created.

Examples

Sample requests


     http(s)://dms-enterprise.aliyuncs.com/? OrderId=12435523 &Tid=14325432&Public request parameters 
   

Sample success responses

XML format


     HTTP/1.1 200 OK Content-Type:application/xml <RequestId>B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773</RequestId> <Success>true</Success> <DataCorrectTaskDetail> <DBTaskGroupId>1234235</DBTaskGroupId> <jobStatus>SUCCESS</jobStatus> <ActualAffectRows>1</ActualAffectRows> <CreateTime>2021-03-05 15:08:55</CreateTime> </DataCorrectTaskDetail> 
   

JSON Format


     HTTP/1.1 200 OK Content-Type:application/json { "RequestId" : "B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773", "Success" : true, "DataCorrectTaskDetail" : { "DBTaskGroupId" : 1234235, "jobStatus" : "SUCCESS", "ActualAffectRows" : 1, "CreateTime" : "2021-03-05 15:08:55" } } 
   

Error codes

Go to the Error Center See more error codes.