Domain name for API request: intlpartnersmgt.intl.tencentcloudapi.com.
Description: This API is used to download billing files and return billing file URLs for sub-customers.
Callable role: Enb-customer.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeBillDownloadUrl. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-28. |
Region | No | String | Common Params. This parameter is not required. |
Month | Yes | String | The month to which the bill belongs, formatted as YYYY-MM; the earliest month available for query is June, 2022. Current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month. |
FileType | Yes | String | Type of bill. Valid values: L2 or L3 |
Parameter Name | Type | Description |
---|---|---|
DownloadUrl | String | File download link, with a file validity period of 1 hour |
Ready | Integer | File generation status. 0: generating; 1: generated. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Sub-customer retrieves their billing link. Request for file generation is in progress, please wait for the file generation to complete before downloading again.
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillDownloadUrl
<Common request parameters>
{
"Month": "2023-12",
"FileType": "L3"
}
{
"Response": {
"DownloadUrl": "",
"Ready": 0,
"RequestId": "1737bf56-fbb4-4a57-a08b-73901b74abf3"
}
}
Sub-customer retrieves their billing link. The file has been generated, please use the download link to get the file.
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillDownloadUrl
<Common request parameters>
{
"Month": "2024-12",
"FileType": "L2"
}
{
"Response": {
"DownloadUrl": "https://xxxx.cos.ap-singapore.myqcloud.com/L3-bill_details.csv",
"Ready": 1,
"RequestId": "845ac46e-20a7-4cab-8930-d5e6d2104885"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
InvalidParameter | Invalid parameter |