Start Data Comparison Precheck
Start the precheck for a specified data comparison task. The precheck verifies whether source and target connections, privileges, and related conditions meet data comparison requirements.
Request URL: /openapi/v1/comparedata/precheck/start
Request Method: POST
Before You Call
taskId can be obtained from data in the successful response of Create Data Comparison Task, or confirmed through data.id returned by Query Data Comparison Main Task Details.
Request Body
{
"taskId": "cd-tg3isu1xgs"
}
Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| taskId | String | Yes | ID of the data comparison task for which to start the precheck. | cd-tg3isu1xgs |
Response Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request is successful. | true |
| requestId | String | Request ID, which can be used for troubleshooting and tracing. | Fj2z8KDA-kqqraVGnllse6BZdmnh5DQM |
| data | Object | Precheck task information. | See the field descriptions below |
data Fields
| Parameter | Type | Description | Example |
|---|---|---|---|
| taskId | String | ID of the data comparison task for which the precheck is started. | cd-tg3isu1xgs |
| precheckTaskId | String | ID of the submitted precheck task. Use this value to query the precheck status. | pcte-dj02vti9tabd |
Successful Invocation Example
{
"success": true,
"requestId": "Fj2z8KDA-kqqraVGnllse6BZdmnh5DQM",
"data": {
"taskId": "cd-tg3isu1xgs",
"precheckTaskId": "pcte-dj02vti9tabd"
}
}