Call the GetDataCronClearTaskDetailList to obtain the execution list of historical data cleansing 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 432532

ticket number, you can call CreateDataCronClearOrder The interface obtains the parameter.

PageNumber Long No 1

The page number of the returned page.

PageSize Long No 20

The amount of data per page.

Tid Long No 12345

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 C1D39814-9808-47F8-AFE0-AF167239AC9B

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.

DataCronClearTaskDetailList Array of DataCronClearTaskDetail

The list of historical data tasks.

DBTaskGroupId Long 432523

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-01-14 10:00:00

The time when the task was created.

TotalCount Long 1

The total number of SQL task lists.

Examples

Sample requests


     http(s)://dms-enterprise.aliyuncs.com/? OrderId=432532 &PageNumber=1 &PageSize=20 &Tid=12345&Public request parameters 
   

Sample success responses

XML format


     HTTP/1.1 200 OK Content-Type:application/xml <GetDataCronClearTaskDetailListResponse> <RequestId>C1D39814-9808-47F8-AFE0-AF167239AC9B</RequestId> <Success>true</Success> <DataCronClearTaskDetailList> <DBTaskGroupId>432523</DBTaskGroupId> <jobStatus>SUCCESS</jobStatus> <ActualAffectRows>1</ActualAffectRows> <CreateTime>2021-01-14 10:00:00</CreateTime> </DataCronClearTaskDetailList> <TotalCount>1</TotalCount> </GetDataCronClearTaskDetailListResponse> 
   

JSON Format


     HTTP/1.1 200 OK Content-Type:application/json { "RequestId" : "C1D39814-9808-47F8-AFE0-AF167239AC9B", "Success" : true, "DataCronClearTaskDetailList" : [ { "DBTaskGroupId" : 432523, "jobStatus" : "SUCCESS", "ActualAffectRows" : 1, "CreateTime" : "2021-01-14 10:00:00" } ], "TotalCount" : 1 } 
   

Error codes

Go to the Error Center See more error codes.