Domain name for API request: intlpartnersmgt.intl.tencentcloudapi.com.
Cost analysis API advanced filtering
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: DescribeCustomerOwnCostExplorerFilter. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-28. |
| Region | No | String | Common Params. This parameter is not required. |
| StartTime | Yes | String | Start time Parameter format: YYYY-MM-DD hh:mm:ss, for example 2006-01-02 00:00:00 Input limit: When PeriodType is month, the time range is 6 calendar months. When PeriodType is day, the time range is 2 calendar months; |
| EndTime | Yes | String | End time Parameter format: YYYY-MM-DD hh:mm:ss, for example 2006-01-02 00:00:00 Input limit: When PeriodType is month, the time range is 6 calendar months. When PeriodType is day, the time range is 2 calendar months. |
| PeriodType | Yes | String | Date type Enumeration value:
|
| Parameter Name | Type | Description |
|---|---|---|
| Data | CostAnalyzeFilterDetail | Filter information |
| 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. |
Used for querying the Option List of the cost analysis API
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCustomerOwnCostExplorerFilter
<Common request parameters>
{
"StartTime": "2024-09-01 00:00:00",
"EndTime": "2024-09-12 23:59:59",
"PeriodType": "month"
}
{
"Response": {
"Data": {
"ActionType": [
{
"Key": "prepay_return",
"Value": " Monthly subscription refund"
}
],
"Business": [
{
"Key": "p_cbs",
"Value": "cloud block storage"
}
],
"OwnerUin": [
{
"Key": "80000*******",
"Value": "**********-tes****uin (800000******)"
}
],
"PayMode": [
{
"Key": "prePay",
"Value": "Monthly subscription"
}
],
"PayerUin": [
{
"Key": "80000*******",
"Value": "***(80000*******)"
}
],
"Project": [
{
"Key": "default",
"Value": "default"
}
],
"Region": [
{
"Key": "1",
"Value": "South China (Guangzhou)"
}
],
"Zone": [
{
"Key": "100002",
"Value": "Guangzhou Zone 2"
}
]
},
"RequestId": "79e94658-fb30-40e4-be16-3edfd0391b35"
}
}
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 |
|---|---|
| OperationDenied.ServiceBusy | System busy. Please try again later. |
| UnauthorizedOperation.UinNoAuth | The current user doesn’t have permission for the operation. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários