简体   繁体   English

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

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

In the RingCentral Online Account Portal ( https://service.ringcentral.com ) and endpoint apps, the call log display shows whether a call was Inbound, Outbound or Missed. 在RingCentral在线帐户门户( https://service.ringcentral.com )和终结点应用程序中,呼叫日志显示将显示呼叫是呼入,呼出还是未接。

In looking at the API Reference for the Call Log API, it seems that it only sends back Inbound or Outbound for "Direction". 在查看呼叫日志API的API参考时,似乎它仅向回发送“方向”的入站或出站。 Does the developer Call Log API return a "Missed" value? 开发人员的呼叫日志API是否返回“遗漏”的值? Is there another way to get this information via the Call Log API? 还有其他方法可以通过“呼叫日志” API获取此信息吗?

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

This question appears to be in reference to the Online Account Portal UI's "Type" column as shown in this screenshot: 此问题似乎是参考在线帐户门户UI的“类型”列,如以下屏幕快照所示:

在此处输入图片说明

The web UI's "Type" column shows Inbound, Outbound or Missed. Web UI的“类型”列显示“入站”,“出站”或“丢失”。 This can be generated by using the response properties for both direction and result . 这可以通过使用对directionresult的响应属性来生成。

  • direction API response property will be Inbound or Outbound direction API响应属性将为“ Inbound或“ Outbound
  • result API response property is an enumerated value that includes Missed and other values including Voicemail which is the example screenshot. result API响应属性是一个枚举值,其中包括Missed和其他值(包括示例屏幕快照的Voicemail A full list is available in the link below: 以下链接提供了完整列表:

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

Here is an example response: 这是一个示例响应:

{
    "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