调用DescribeDcdnUserBillType查询用户的计费类型。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
dcdn:DescribeDcdnUserBillType |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
StartTime |
string |
是 |
获取数据的起始时间点。 日期格式按照 ISO8601 表示法,并使用 UTC 时间。 格式为 YYYY-MM-DDThh:mm:ssZ。 |
2018-09-30T16:00:00Z |
EndTime |
string |
是 |
获取数据的结束时间点。 结束时间需大于起始时间,日期格式按照 ISO8601 表示法,并使用 UTC 时间。 格式为 YYYY-MM-DDThh:mm:ssZ。 |
2018-10-31T16:00:00Z |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
RequestId |
string |
请求 ID。 |
C370DAF1-C838-4288-A1A0-9A87633D248E |
BillTypeData |
object |
||
BillTypeDataItem |
array<object> |
用户计费数据列表。 |
|
object |
|||
EndTime |
string |
计费模式结束时间。 |
2018-10-31T16:00:00Z |
StartTime |
string |
计费模式起始时间。 |
2018-10-30T16:00:00Z |
BillingCycle |
string |
计费周期。 |
month |
Product |
string |
产品。 |
dcdn |
BillType |
string |
计费模式。取值:
|
month_avg_day_bandwidth_overseas |
Dimension |
string |
维度。取值:
|
flow |
示例
正常返回示例
JSON
格式
{
"RequestId": "C370DAF1-C838-4288-A1A0-9A87633D248E",
"BillTypeData": {
"BillTypeDataItem": [
{
"EndTime": "2018-10-31T16:00:00Z",
"StartTime": "2018-10-30T16:00:00Z",
"BillingCycle": "month",
"Product": "dcdn",
"BillType": "month_avg_day_bandwidth_overseas",
"Dimension": "flow"
}
]
}
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | InvalidParameter | The specified parameter is invalid. | 参数错误 |
400 | InvalidParameterProduct | The specified Product is invalid. | Product参数错误 |
400 | InvalidParameterAliuid | The specified Aliuid is invalid. | Aliuid参数错误 |
400 | InvalidStartTime.Malformed | The specified StartTime parameter is invalid. | 请提供正确的开始时间格式。日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。 |
400 | InvalidEndTime.Malformed | The specified EndTime is invalid. | 请提供正确的结束时间格式。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:yyyy-MM-ddTHH:mm:ssZ。 |
400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | 结束时间早于开始时间,请检查。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。