我正在尝试获取呼叫历史记录并发送自定义数据:
$recordingUrls = $voximplantHelper->getCallHistory($messageArr['customData']);,
我得到了以下回应:
{"result":[],"total_count":0,"count":0,"timezone":"Etc/GMT","history_report_id":null,"error":null,"errors":null,"warnings":["Required 'from_date' parameter isn't set.","Required 'to_date' parameter isn't set."]}.
怎么了?
您需要指定报告的日期范围。您可以在文档中阅读更多信息:https://voximplant.com/docs/references/httpapi/history#getcallhistory