All Products
Search
Document Center

Data Management:ModifyDataCorrectExecSQL

更新時間:Oct 21, 2024

Modifies the SQL script that is submitted in a data change ticket.

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
OrderIdlongYes

The ID of the data change ticket.

4328****
ExecSQLstringYes

The new SQL script.

update tb set id = 1 where id = 1;
TidlongNo

The ID of the tenant. You can call the GetUserActiveTenant operation to query the tenant ID.

4****

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

0C1CB646-1DE4-4AD0-B4A4-7D47DD52****
Successboolean

Indicates whether the request was successful. Valid values:

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

The error message returned.

Specified parameter OrderId is not valid.
ErrorCodestring

The error code returned.

InvalidOrderId

Examples

Sample success responses

JSONformat

{
  "RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52****",
  "Success": true,
  "ErrorMessage": "Specified parameter OrderId is not valid.",
  "ErrorCode": "InvalidOrderId"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history