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 automatically 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.

JobId String Yes b4my3zg929a****

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

SkipPreCheckItems String Yes CHECK_SAME_OBJ

The shortened name of the precheck item. Valid values:

  • CHECK_SAME_OBJ: schema name conflict
  • CHECK_SAME_USER: multiple usernames for one instance
  • CHECK_SRC: source database version
  • CHECK_TOPOLOGY: topology
    Note For more information about the topologies supported by DTS, see Synchronization topologies.
  • CHECK_SERVER_ID: value of server_id in the source database
Note Separate multiple 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: schema name conflict
  • CHECK_SAME_USER_DETAIL: multiple usernames for one instance
  • CHECK_SRC_DETAIL: source database version
  • CHECK_TOPOLOGY_DETAIL: topology
    Note For more information about the topologies supported by DTS, see Synchronization topologies.
  • CHECK_SERVER_ID_DETAIL: value of server_id in the source database
Note Separate multiple names with commas (,).
Skip Boolean No true

Specifies whether to skip the precheck item. Valid values:

  • true
  • false
Note This parameter must be specified.

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 error message, which is used to replace %s in the ErrMessage parameter.

Note If the return value of the ErrMessage parameter is The Value of Input Parameter %s is not valid and the return value of the DynamicMessage parameter is JobId, the specified JobId parameter is invalid.
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 was 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.