【问题标题】:Does the RingCentral Call Log API Return a "Missed" Value?RingCentral 呼叫日志 API 是否返回“丢失”值?
【发布时间】:2018-08-30 01:38:11
【问题描述】:

在 RingCentral 在线帐户门户 (https://service.ringcentral.com) 和端点应用程序中,通话记录显示会显示通话是呼入、呼出还是未接。

在查看调用日志 API 的 API 参考时,它似乎只发回“方向”的入站或出站。开发人员调用日志 API 是否返回“未命中”值?还有其他方法可以通过 Call Log API 获取此信息吗?

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

【问题讨论】:

    标签: calllog ringcentral


    【解决方案1】:

    此问题似乎与此屏幕截图所示的在线帐户门户 UI 的“类型”列有关:

    Web UI 的“类型”列显示入站、出站或未命中。这可以通过使用directionresult 的响应属性来生成。

    • direction API 响应属性将为 InboundOutbound
    • 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"
                }
            }
        ],
        ...
    }
    

    【讨论】:

      【解决方案2】:

      请阅读此blog 以了解更多信息,您可以从通话记录中找到。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-12-27
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多