All Products
Search
Document Center

Data Management:ExecuteDataCorrect

Last Updated:Feb 05, 2026

Execute a data change ticket.

Operation description

Only database instances in Security Collaboration control mode support this API.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dms:ExecuteDataCorrect

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Tid

string

No

Tenant ID. Call GetUserActiveTenant to get this value.

3***

OrderId

integer

Yes

Ticket ID. Call ListOrders to get this value.

406****

ActionDetail

object

No

Parameters for executing the data change:

json
"actionDetail" : {
    "grayType": "FIRST", // Grayscale type. Valid values: "NONE", "FIRST", and "EACH". NONE means no grayscale. FIRST means pause after the first SQL statement runs successfully. EACH means pause after each SQL statement runs successfully.
    "startTime" :"2021-07-01 00:00:00", // Start time for scheduled execution. Omit this parameter if you run immediately.
    "endTime" : "2021-07-01 01:00:00", // End time for scheduled execution. Omit this parameter if you run immediately.
    "transaction" : false,  // Run in transaction mode.
    "backupData" : true, // Back up data.
    "readOnlyCheckEnable": true // Enable primary/secondary check. Set to true to enable or false to disable.
  }

{ "grayType": "FIRST","startTime" : "2021-07-01 00:00:00", "endTime" : "2021-07-01 01:00:00", "transaction" : false, "backupData" : true, "readOnlyCheckEnable": true }

RealLoginUserUid

string

No

Alibaba Cloud account UID of the user who calls the API.

21400447956867****

Response elements

Element

Type

Description

Example

object

RequestId

string

Request ID.

EADDA791-2809-58CE-A303-743A77FF****

ErrorCode

string

Error code.

UnknownError

ErrorMessage

string

Error message.

Unknown server error

Success

boolean

Indicates whether the request succeeded. Returns:

  • true: The request succeeded.

  • false: The request failed.

true

Examples

Success response

JSON format

{
  "RequestId": "EADDA791-2809-58CE-A303-743A77FF****",
  "ErrorCode": "UnknownError",
  "ErrorMessage": "Unknown server error",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.