调用DescribeEpnMeasurementData获取用户边缘网络计量数据。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:DescribeEpnMeasurementData |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| StartDate |
string |
是 |
开始时间。使用 utc 时间表示,格式为 yyyy-mm-ddthh:mm:ssz。 |
2021-09-30T16:00:00Z |
| EndDate |
string |
是 |
结束时间,使用 UTC 时间格式,格式为 yyyy-MM-ddTHH:mm:ssZ。 |
2022-01-30T16:00:00Z |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| MeasurementDatas |
object |
||
| MeasurementData |
array<object> |
计量数据。 |
|
|
array<object> |
计量数据。 |
||
| BandWidthFeeDatas |
object |
||
| BandWidthFeeData |
array<object> |
带宽数据。 |
|
|
object |
带宽数据。 |
||
| CostCode |
string |
计费项代码。 |
cn-cmcc-1 |
| CostName |
string |
计费项名称。 |
北上广移动 |
| CostType |
string |
计费类型
|
SpeedUp |
| CostVal |
integer |
计费项数值。 |
16486 |
| IspLine |
string |
此参数暂不使用。 |
此参数暂不使用。 |
| ChargeModel |
string |
计费类型。
|
ChargeByGrade |
| CostCycle |
string |
消费周期。 |
2019-07-30 |
| CostEndTime |
string |
消费结束时间。 |
2019-07-30T16:00:00Z |
| CostStartTime |
string |
消费开始时间。 |
2019-07-29T16:00:00Z |
| RequestId |
string |
请求 ID。 |
A6328C33-6304-5291-8641-0A00A99D0DD0 |
示例
正常返回示例
JSON格式
{
"MeasurementDatas": {
"MeasurementData": [
{
"BandWidthFeeDatas": {
"BandWidthFeeData": [
{
"CostCode": "cn-cmcc-1",
"CostName": "北上广移动",
"CostType": "SpeedUp",
"CostVal": 16486,
"IspLine": "此参数暂不使用。"
}
]
},
"ChargeModel": "ChargeByGrade",
"CostCycle": "2019-07-30",
"CostEndTime": "2019-07-30T16:00:00Z",
"CostStartTime": "2019-07-29T16:00:00Z"
}
]
},
"RequestId": "A6328C33-6304-5291-8641-0A00A99D0DD0"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | The input parameters that is mandatory for processing this request is not supplied. | |
| 400 | InstanceNotExists | The user have no instances. | |
| 400 | CallInterface | Call Interface Happen Error. | 接口调用出错。 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。