[英]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的“類型”列顯示“入站”,“出站”或“丟失”。 這可以通過使用對direction
和result
的響應屬性來生成。
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.