• 售前顾问:400-618-6615


  • 销售顾问

  • 申请试用

销售服务热线: 400-618-6615   在线微信客服

接口文档

开发平台首页>

getPhoneCallRecording 接口

  • 更新时间 2020-07-28

概述

该接口用于获取企业账户下所有工作手机上的通话录音信息。

请求URL

https://api-hub.mobilegate.net/getPhoneCallRecording


请求方式

POST


请求参数

参数名 备注
enterpriseId 企业账号ID(详见管理控制台->开发信息)
queryIndicator 代表员工手机账号
requestToken 签名(详见 参数签名

返回结果

参数名 备注
recordTime 录音时间
recordFilePath1 录音文件下载(通道1)
recordFilePath2 录音文件下载(通道1)
fileTime 通话录音时长
direction 通话方向 ob:呼出 ib:呼入
callnumber 通话号码

优先使用recordFilePath1 进行文件下载,如遇404错误,则请使用 recordFilePath2


返回格式

JSON

返回示例

{"Result":[{"recordTime":"2020-06-25 18:15:25.000","recordFilePath1":"https://xxxxxx","recordFilePath2":"https://xxxxxx","fileTime":"0:00:14","direction":"ib","callnumber":"10086"},{"recordTime":"2020-06-26 19:10:25.000","recordFilePath1":"https://xxxxxx","recordFilePath2":"https://xxxxxx","fileTime":"0:01:23","direction":"ob","callnumber":"13800138001"}]}

异常返回

无数据返回

{"Result": "0"}

输入参数错误

{"Result": "-1"}

参数含有非法字符

{"Result": "-2"}

enterpriseID未提供

{"Result": "-3"}

参数签名错误

{"Result": "-99"}