调用ListCallMeasureSummaryReports按月或按天查询呼叫计量数据列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListCallMeasureSummaryReports |
系统规定参数。取值:ListCallMeasureSummaryReports。 |
IntervalType | String | 是 | Monthly |
按月查询或者按天查询(**Monthly**/**Daily**) |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
CallMeasureSummaryReportList |
报表 |
||
CallMeasureSummaryReport |
报表 |
||
Day | String | 2 |
日期 |
InboundCount | Long | 0 |
呼入接通次数 |
InboundDurationByMinute | Long | 0 |
呼入通话时长/分钟 |
Month | String | 10 |
月份 |
OutboundCount | Long | 0 |
呼出接通次数 |
OutboundDurationByMinute | Long | 0 |
呼出通话时长/分钟 |
Year | String | 2018 |
年份 |
Code | String | OK |
响应码 |
HttpStatusCode | Integer | 200 |
HTTP状态码 |
Message | String | 无 |
响应信息 |
RequestId | String | 184F6B94-18EE-42D9-B628-A9A895E804F3 |
请求ID |
Success | Boolean | true |
是否成功 |
示例
请求示例
http(s)://[Endpoint]/?Action=ListCallMeasureSummaryReports
&IntervalType=Monthly
&<公共请求参数>
正常返回示例
XML
格式
<ListCallMeasureSummaryReportsResponse>
<CallMeasureSummaryReportList>
<CallMeasureSummaryReport>
<Year>2018</Year>
<InboundDurationByMinute>0</InboundDurationByMinute>
<OutboundCount>0</OutboundCount>
<InboundCount>0</InboundCount>
<OutboundDurationByMinute>0</OutboundDurationByMinute>
<Day>1</Day>
<Month>10</Month>
</CallMeasureSummaryReport>
<CallMeasureSummaryReport>
<Year>2018</Year>
<InboundDurationByMinute>0</InboundDurationByMinute>
<OutboundCount>0</OutboundCount>
<InboundCount>0</InboundCount>
<OutboundDurationByMinute>0</OutboundDurationByMinute>
<Day>2</Day>
<Month>10</Month>
</CallMeasureSummaryReport>
</CallMeasureSummaryReportList>
<HttpStatusCode>200</HttpStatusCode>
<RequestId>184F6B94-18EE-42D9-B628-A9A895E804F3</RequestId>
<Success>true</Success>
<Code>OK</Code>
</ListCallMeasureSummaryReportsResponse>
JSON
格式
{
"HttpStatusCode":200,
"CallMeasureSummaryReportList":{
"CallMeasureSummaryReport":[
{
"Year":2018,
"OutboundCount":0,
"InboundDurationByMinute":0,
"InboundCount":0,
"OutboundDurationByMinute":0,
"Day":1,
"Month":10
},
{
"Year":2018,
"OutboundCount":0,
"InboundDurationByMinute":0,
"InboundCount":0,
"OutboundDurationByMinute":0,
"Day":2,
"Month":10
}
]
},
"RequestId":"184F6B94-18EE-42D9-B628-A9A895E804F3",
"Success":true,
"Code":"OK"
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交