You can call this operation to query the progress of a task that exports baseline check results.

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 DescribeExportInfo

The operation that you want to perform.

Set the value to DescribeExportInfo.

ExportId Long Yes 111

The ID of the export task.

Response parameters

Parameter Type Example Description
RequestId String 4C1AE3F3-18FA-4108-BBB9-AFA1A032756C

The ID of the request.

Id Long 11

The ID of the export task.

FileName String health_check_export_20171123

The name of the exported Excel file.

CurrentCount Integer 1

The number of entries that have been exported.

TotalCount Integer 1

The total number of entries in the Excel file.

Progress Integer 100

The progress of the export task.

ExportStatus String success

The status of the export task.

Valid values:

  • init: The export task is initializing.
  • exporting: The export task is in progress.
  • success: The export task is completed.
Message String success

The message that shows the task result.

The value is fixed to success. It indicates that the export task is completed.

Link String http://www.aliyun.com

The HTTP address where you can download the exported Excel file.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeExportInfo
&<Common request parameters>

Sample success responses

XML format

<DescribeExportInfoResponse>
    <TotalCount>1</TotalCount>
    <GmtCreate>1511439067000</GmtCreate>
    <Progress>100</Progress>
    <Message>success</Message>
    <ExportStatus>success</ExportStatus>
    <FileName>health_check_export_20171123</FileName>
    <CurrentCount>1</CurrentCount>
    <Id>11</Id>
    <Link>http://www.aliyun.com</Link>
    <requestId>4C1AE3F3-18FA-4108-BBB9-AFA1A032756C</requestId>
</DescribeExportInfoResponse>

JSON format

{
  "TotalCount":1,
  "GmtCreate":1511439067000,
  "Progress":100,
  "Message":"success",
  "ExportStatus":"success",
  "FileName":"health_check_export_20171123",
  "CurrentCount":1,
  "Id":11,
  "Link":"http://www.aliyun.com",
  "requestId": "4C1AE3F3-18FA-4108-BBB9-AFA1A032756C"
}

Error codes

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