Queries the download URL of the file that records the export results for a data export ticket in Data Management (DMS).

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 GetDataExportDownloadURL

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

Tid Long Yes 3***

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

OrderId Long Yes 546****

The ID of the ticket. You can call the ListOrders operation to obtain the ticket ID.

RegionId String No cn-hangzhou

The region in which DMS is activated. For more information, see RegionID parameter.

Response parameters

Parameter Type Example Description
DownloadURLResult Object

The details about the download URL of the file that records the export results for the ticket.

HasResult Boolean true

Indicates whether export results are available for download. Valid values:

  • true: Export results are available for download.
  • false: No export results are available for download.
TipMessage String tip message

The message that indicates an exception.

URL String https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip

The download URL of the file that records the export results for the ticket.

RequestId String 4BF24EA5-9013-4C85-AE68-6C23AF5E0097

The ID of the request.

ErrorCode String UnknownError

The error code.

ErrorMessage String UnknownError

The error message.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.

Examples

Sample requests

http(s)://dms-enterprise.aliyuncs.com/?Action=GetDataExportDownloadURL
&Tid=3***
&OrderId=546****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<GetDataExportDownloadURLResponse>
    <DownloadURLResult>
        <URL>https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip</URL>
        <HasResult>true</HasResult>
    </DownloadURLResult>
    <RequestId>4BF24EA5-9013-4C85-AE68-6C23AF5E0097</RequestId>
    <Success>true</Success>
</GetDataExportDownloadURLResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "DownloadURLResult" : {
    "URL" : "https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip",
    "HasResult" : true
  },
  "RequestId" : "4BF24EA5-9013-4C85-AE68-6C23AF5E0097",
  "Success" : true
}

Error codes

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