Queries the download URL of the file that records the export results for a data export ticket in Data Management (DMS).
Debugging
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:
|
| 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:
|
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.