All Products
Search
Document Center

Data Management:BackFill

Last Updated:Oct 21, 2024

Backfills data for a task flow.

Operation description

During a data backfill, task flows are run in sequence based on their dates. You can specify whether task flows are run in chronological or reverse chronological order. After the data backfill is complete, you can specify a date or date range, and a node range to run task flows.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TidlongNo

The ID of the tenant.

Note To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant.
3***
DagIdlongYes

The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the task flow ID.

15***
StartNodeIdsarrayNo

The number of nodes for which you want to backfill data.

longNo

The number of task nodes to be replenished.

2
FilterNodeIdsarrayNo

Filter condition, which specifies the list of node IDs in the task flow that do not need to supplement data.

longNo

The ID of the node that does not need to supplement data in the task flow.

12***
IsTriggerSubTreebooleanNo

Specifies whether to run descendant nodes. Default value: true.

true
BackFillDatestringNo

The date for the data to be backfilled. This parameter is required if you specify a date for data backfill.

2022-01-14
BackFillDateBeginstringNo

The start date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill.

2022-01-14
BackFillDateEndstringNo

The end date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill.

2022-09-29
IntervalintegerNo

The interval at which data backfill is performed. Unit: hours. Minimum value: 1. Default value: 24.

24
AscbooleanNo

The running sequence of task flows for data backfill. Valid values:

  • 0: reverse chronological order.
  • 1: chronological order. This is the default value.
0
HistoryDagIdlongNo

The ID of the historical task flow.

16***

The BackFillDate parameter is required if you specify a date for data backfill.

The BackFillDateBegin and BackFillDateEnd parameters are required if you specify a date range for data backfill.

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

7FAD400F-7A5C-4193-8F9A-39D86C4F0231
ErrorCodestring

The error code returned if the request failed.

UnknownError
ErrorMessagestring

The error message returned if the request failed.

UnknownError
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
DagInstanceIdlong

The ID of the execution record of the task flow.

47****
NodeIdlong

The ID of the node.

43****

Examples

Sample success responses

JSONformat

{
  "RequestId": "7FAD400F-7A5C-4193-8F9A-39D86C4F0231",
  "ErrorCode": "UnknownError",
  "ErrorMessage": "UnknownError",
  "Success": true,
  "DagInstanceId": 0,
  "NodeId": 0
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-05-25The request parameters of the API has changed. The response structure of the API has changedView Change Details