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 .
Debugging
Parameters
| 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. |
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/? srderlimit D=73000®ionid=-1&public request parameters
Sample success responses
XML Format
HTTP/1.1 200 OK Content-Type:application/xml <GetDataCorrectSQLFileResponse> <FileUrl>https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/uplJMIpQ%3D</FileUrl> <RequestId>386EAA20-67FB-4D06-B7BF-2ABA11241185</RequestId> <Success>true</Success> </GetDataCorrectSQLFileResponse>
JSON Format
HTTP/1.1 200 OK Content-Type:application/json { "FileUrl" : "https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/uplJMIpQ%3D", "RequestId" : "386EAA20-67FB-4D06-B7BF-2ABA11241185", "Success" : true }
Error code
Access error Center For more information, see error codes.