Call the GetDataCorrectSQLFile operation to obtain the script attachment of the execution result callback for a data change ticket.

This interface applies to: Common data change and Batch Data import .


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.


Parameter Type Is it required? Example Description
OrderId Long Yes 730000

The ticket number.

Tid Long No -1

The tenant has expired.

Note The information of the tenant's chart is taken from the avatar in the upper-right corner of the system. For more information, see View tenant information .
RegionId String No cn-hangzhou

Select the service region of the destination region to call this operation. For more information about the valid values, see switchegionfigure parameter description .

Note select based on the location of the application nearby.

return data

Parameter Type Example Description
RequestId String 283C461F-11D8-48AA-B695-DF092DA32AF3

The error message returned because the request already exists.

Success Boolean true

Whether the request is successful.

ErrorMessage String UnknownError

The request exception information.

ErrorCode String UnknownError

Error code.

FileUrl String https://dmsxxx

You can call this operation to obtain the download URL of an attachment.


Sample requests

     http(s):// srderlimit D=73000&regionid=-1&public request parameters 

Sample success responses

XML Format

     HTTP/1.1 200 OK Content-Type:application/xml <GetDataCorrectSQLFileResponse> <FileUrl></FileUrl> <RequestId>386EAA20-67FB-4D06-B7BF-2ABA11241185</RequestId> <Success>true</Success> </GetDataCorrectSQLFileResponse> 

JSON Format

     HTTP/1.1 200 OK Content-Type:application/json { "FileUrl" : "", "RequestId" : "386EAA20-67FB-4D06-B7BF-2ABA11241185", "Success" : true } 

Error code

Access error Center For more information, see error codes.