You can call this operation to query detailed information of a specified data export ticket.

Debugging

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.

Request parameters

Parameter Type Required Example Description
Action String Yes GetDataExportOrderDetail

The operation that you want to perform. Set the value to GetDataExportOrderDetail.

OrderId Long Yes 123456

The ID of the ticket.

Tid Long Yes -1

The ID of the tenant.

Response parameters

Parameter Type Example Description
DataExportOrderDetail

The detailed information of the data export ticket.

KeyInfo

The status information of the data export ticket.

JobStatus String EXPORT_SUCCESS

The status of the data export ticket. Valid values:

  • PRE_CHECKING: The ticket was being prechecked.
  • PRE_CHECK_SUCCESS: The ticket was successfully prechecked.
  • PRE_CHECK_FAIL: The ticket failed to be prechecked.
  • WAITING_APPLY_AUDIT: The ticket was to be submitted for approval.
  • APPLY_AUDIT_SUCESS: The ticket was successfully submitted for approval.
  • ENABLE_EXPORT: The ticket was approved. Data can be exported.
  • WAITING_EXPORT: Data was to be scheduled for export.
  • DOING_EXPORT: Data was being exported.
  • EXPORT_FAIL: Data failed to be exported.
  • EXPORT_SUCCESS: Data was successfully exported.
PreCheckId Long 123

The ID of the precheck task.

OrderDetail

The detailed information of the ticket.

ActualAffectRows Long 1

The number of affected rows detected by system check.

Classify String test

The category of the reason for data export.

Database String xxx@xxx:3306

The database from which data was exported.

DbId Integer 123

The ID of the database from which data was exported.

EnvType String test

The environment of the database from which data was exported.

ExeSQL String select 1

The SQL statement that was run to export data.

IgnoreAffectRows Boolean false

Indicates whether the affected rows were ignored.

IgnoreAffectRowsReason String empty

The reason that the affected rows were ignored.

Logic Boolean false

Indicates whether the database was a logical database.

ErrorCode String UnknownError

The error code.

ErrorMessage String UnknownError

The error message.

RequestId String 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

The ID of the request.

Success Boolean true

Indicates whether the request was successful.

Examples

Sample requests


http(s)://[Endpoint]/? Action=GetDataExportOrderDetail
&OrderId=123456
&Tid=-1
&<Common request parameters>

Sample success responses

XML format

<DataExportOrderDetail>
    <KeyInfo>
        <PreCheckId>15544</PreCheckId>
        <JobStatus>EXPORT_SUCCESS</JobStatus>
    </KeyInfo>
    <OrderDetail>
        <Logic>false</Logic>
        <ActualAffectRows>1</ActualAffectRows>
        <ExeSQL>select 1;</ExeSQL>
        <Database>yuyang_test@xxx:3306[yuyang_test_xxx]Hangzhou non-unit database</Database>
        <IgnoreAffectRows>false</IgnoreAffectRows>
        <DbId>116367</DbId>
        <Classify>Test</Classify>
        <EnvType>product</EnvType>
    </OrderDetail>
</DataExportOrderDetail>
<RequestId>78C93646-D9B1-4E6E-B5FD-C69F94A7905A</RequestId>
<Success>true</Success>

JSON format

{
	"DataExportOrderDetail":{
		"KeyInfo":{
			"PreCheckId":15544,
			"JobStatus":"EXPORT_SUCCESS"
		},
		"OrderDetail":{
			"Logic":false,
			"ActualAffectRows":1,
			"ExeSQL":"select 1;",
			"IgnoreAffectRows":false,
			"Database":"yuyang_test@xxx:3306[yuyang_test_xxx]Hangzhou non-unit database"
			"DbId":116367,
			"EnvType":"product",
			"Classify":"Test"
		}
	},
	"RequestId":"78C93646-D9B1-4E6E-B5FD-C69F94A7905A",
	"Success":true
}

Error codes

For a list of error codes, visit the API Error Center.