Skips one or more precheck items.

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
Action String Yes SkipPreCheck

The operation that you want to perform. Set the value to SkipPreCheck.

DtsJobId String Yes c7412z57g8k****

The ID of the data migration, data synchronization, or change tracking task.

JobId String Yes b4my3zg929a****

The ID of the precheck task. You can call the DescribePreCheckStatus operation to query the task ID.

Skip Boolean Yes true

Specifies whether to skip the precheck item. Valid values:

  • true: skips the precheck item.
  • false: does not skip the precheck item.
Note This parameter is required.
SkipPreCheckItems String Yes CHECK_SAME_OBJ

The shortened name of the precheck item. Valid values:

  • CHECK_SAME_OBJ: object name conflict
  • CHECK_SAME_USER: multiple usernames for one instance
  • CHECK_SRC: source database version
  • CHECK_TOPOLOGY: topology type
    Note For more information about the topologies supported by DTS, see Synchronization topologies.
  • CHECK_SERVER_ID: the server ID of the source database
Note Separate multiple shortened names with commas (,).
SkipPreCheckNames String Yes CHECK_SAME_OBJ_DETAIL

The name of the precheck item. This parameter corresponds to the SkipPreCheckItems parameter. Valid values:

  • CHECK_SAME_OBJ_DETAIL: object name conflict
  • CHECK_SAME_USER_DETAIL: multiple usernames for one instance
  • CHECK_SRC_DETAIL: source database version
  • CHECK_TOPOLOGY_DETAIL: topology type
    Note For more information about the topologies supported by DTS, see Synchronization topologies.
  • CHECK_SERVER_ID_DETAIL: the server ID of the source database
Note Separate multiple item names with commas (,).
RegionId String No cn-hangzhou

The region ID of the DTS instance. For more information, see List of supported regions.

Response parameters

Parameter Type Example Description
Code String 200

The error code. This parameter will be removed in the future.

DynamicMessage String JobId

The dynamic part in the error message. This parameter is used to replace the %s variable in the ErrMessage parameter.

Note If the specified JobId parameter is invalid, The Value of Input Parameter %s is not valid is returned for ErrMessage and JobId is returned for DynamicMessage.
ErrCode String InternalError

The error code returned if the call failed.

ErrMessage String The Value of Input Parameter %s is not valid.

The error message returned if the call failed.

HttpStatusCode Integer 200

The HTTP status code.

MigrationJobId String kyri3z9w29a****

The ID of the DTS task on which the precheck is performed.

RequestId String 8C498360-7892-433C-847A-BA71A850****

The ID of the request.

ScheduleJobId String b4my3zg929a****

The ID of the precheck task.

SkipItems String CHECK_SAME_OBJ

The shortened name of the precheck item.

SkipNames String CHECK_SAME_OBJ_DETAIL

The name of the precheck item.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample requests

http(s)://dts.aliyuncs.com/?Action=SkipPreCheck
&JobId= b4my3zg929a****
&SkipPreCheckItems=CHECK_SAME_OBJ
&SkipPreCheckNames=CHECK_SAME_OBJ_DETAIL
&<Common request parameters>

Sample success responses

XML format

<SkipPreCheckResponse>
      <RequestId>8C498360-7892-433C-847A-BA71A850****</RequestId>
      <HttpStatusCode>200</HttpStatusCode>
      <Success>true</Success>
      <MigrationJobId>kyri3z9w29a****</MigrationJobId>
      <ScheduleJobId> b4my3zg929a****</ScheduleJobId>
      <SkipItems>CHECK_SAME_OBJ</SkipItems>
      <SkipNames>CHECK_SAME_OBJ_DETAIL</SkipNames>
</SkipPreCheckResponse>

JSON format

{
  "RequestId": "8C498360-7892-433C-847A-BA71A850****",
  "HttpStatusCode": 200,
  "Success": true,
  "MigrationJobId": "kyri3z9w29a****",
  "ScheduleJobId": " b4my3zg929a****",
  "SkipItems": "CHECK_SAME_OBJ",
  "SkipNames": "CHECK_SAME_OBJ_DETAIL"
}

Error codes

For a list of error codes, visit the API Error Center.