繁体   English   中英

RingCentral呼叫日志API是否返回“缺失”值?

[英]Does the RingCentral Call Log API Return a “Missed” Value?

在RingCentral在线帐户门户( https://service.ringcentral.com )和终结点应用程序中,呼叫日志显示将显示呼叫是呼入,呼出还是未接。

在查看呼叫日志API的API参考时,似乎它仅向回发送“方向”的入站或出站。 开发人员的呼叫日志API是否返回“遗漏”的值? 还有其他方法可以通过“呼叫日志” API获取此信息吗?

参考: https : //developer.ringcentral.com/api-docs/latest/index.html#!#RefCallLog.html

此问题似乎是参考在线帐户门户UI的“类型”列,如以下屏幕快照所示:

在此处输入图片说明

Web UI的“类型”列显示“入站”,“出站”或“丢失”。 这可以通过使用对directionresult的响应属性来生成。

  • direction API响应属性将为“ Inbound或“ Outbound
  • result API响应属性是一个枚举值,其中包括Missed和其他值(包括示例屏幕快照的Voicemail 以下链接提供了完整列表:

参考: https : //developer.ringcentral.com/api-docs/latest/index.html#!#ResultStatusValues

这是一个示例响应:

{
    "uri": "https://platform.ringcentral.com/restapi/v1.0/account/11111111/call-log?view=Simple&showBlocked=true&withRecording=false&dateFrom=2018-08-27T06:18:00.000Z&page=1&perPage=100",
    "records": [
        {
            "uri": "https://platform.ringcentral.com/restapi/v1.0/account/11111111/call-log/22222222?view=Simple",
            "id": "22222222",
            "sessionId": "33333333",
            "startTime": "2018-08-27T17:38:12.634Z",
            "duration": 27,
            "type": "Voice",
            "direction": "Inbound",
            "action": "Phone Call",
            "result": "Missed",
            "to": {
                "phoneNumber": "+16505550101"
            },
            "from": {
                "phoneNumber": "+16505550102",
                "name": "LOS ALTOS    CA",
                "location": "Los Altos, CA"
            }
        }
    ],
    ...
}

请阅读此博客以查找更多信息,您可以从通话记录中找到它们。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM