文档中心 > API类目 > 智能设备

taobao.ailab.aicloud.call.log.device.missed.calls.count.query (查询未接来电的数量)

查询开放通讯录列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
service_name String 必须 test_china_unicom_voip_call 接入通话的服务名称,同一个服务名称下的设备之间才允许通话,品key,由天猫精灵分配给三方(测试和线上环境不同)
owner_ext_user_id String 必须 01MLnDVSANVwCRaIMp2cfryQ 三方用户唯一标识
owner_product_key String 必须 b1ZLOhA9rF7 产品key,由天猫精灵分配给三方,每个设备类型分配一个
owner_device_name String 必须 00-16-EA-AE-3C-40 设备名称,DeviceName通常与ProductKey组合使用,用作标识具体的唯一设备。

响应参数

名称 类型 示例值 描述
device_missed_calls_count Number 1 未接来电数量

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AilabAicloudCallLogDeviceMissedCallsCountQueryRequest req = new AilabAicloudCallLogDeviceMissedCallsCountQueryRequest();
req.setServiceName("test_china_unicom_voip_call");
req.setOwnerExtUserId("01MLnDVSANVwCRaIMp2cfryQ");
req.setOwnerProductKey("b1ZLOhA9rF7");
req.setOwnerDeviceName("00-16-EA-AE-3C-40");
AilabAicloudCallLogDeviceMissedCallsCountQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<ailab_aicloud_call_log_device_missed_calls_count_query_response>
    <device_missed_calls_count>1</device_missed_calls_count>
</ailab_aicloud_call_log_device_missed_calls_count_query_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部