Get an Export File Download URL

Retrieves the download URL of an exported file by resource ID.

Request URL

GET {base_url}/uc-creport/api/v1/cdr/export/{resourceId}/download-url

Request parameters

Headers
Parameter Required Type Description
Authorization Yes String The access token used for authentication.

Format: Bearer {access_token}.

x-tenant-code Yes String The tenant name.
Note: You can obtain tenant name using the Query Tenants interface.
Path parameters
Parameter Required Type Description
resourceId Yes String The ID of the exported file resource. You can obtain the resource ID using the Get a CDR Export Task interface.

Response parameters

Parameter Type Description
requestId String The unique ID of the request, which can be used to quickly locate the request.
code String The HTTP status code of the request.
  • 200: Request succeeded.
  • Non-200 value: Request failed.
message String The status message of the request.
detailMessage String The detailed error information.

When the request is successful, this parameter returns empty.

result Object<Download_URL> The download URL of the exported file.
Download_URL
Parameter Type Description
downloadUrl String The presigned download URL of the exported file.
expireAt String The time when the download URL expires, in Unix timestamp format (seconds).