Queries the precheck information of SQL statements used for data import in a ticket.
Operation description
You can call this operation only if the data is imported in security mode in your data import ticket.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
OrderId | long | Yes | The ticket ID. You can call the ListOrders operation to query the ticket ID. | 11**** |
SqlType | string | No | The type of the SQL statement. Valid values:
Note
You can log on to the Data Management (DMS) console and choose Security and Specifications > Operation Audit in the top navigation bar to view more types of SQL statements.
| INSERT |
StatusCode | string | No | The state of the ticket. If you leave this parameter empty, all the states are queried by default. Valid values:
| SUCCESS |
PageNumer | long | No | The page number. Pages start from page 1. | 1 |
PageSize | long | No | The number of entries per page. | 20 |
Tid | long | No | The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "31853A2B-DC9D-5B39-8492-D2AC8BCF550E",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"PreCheckSQLDetailList": [
{
"SqlId": 1,
"SqlType": "INSERT",
"StatusCode": "SUCCESS",
"Skip": true
}
],
"TotalCount": 1
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history