差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版 两侧同时换到之后的修订记录
cs:400systemintegration:api-open-platform [2019/09/10 09:38]
wumaochang [获取历史会话列表] 修改per_page默认值
cs:400systemintegration:api-open-platform [2019/11/15 03:59]
candywang
行 1278: 行 1278:
 |totalPages|Integer|总页数|  |totalPages|Integer|总页数|
 |totalElements|Integer|总个数| |totalElements|Integer|总个数|
 +
 +===== 查询历史通话 =====
 +
 +==== 获取历史通话列表 ====
 +
 +根据通话时间、技能组、坐席、挂断原因、满意度评价等条件查询历史通话列表。
 +
 +  * Path: http://​kefu.easemob.com/​api/​platform/​tenants/​{tenantId}/​calldetails
 +  * HTTP Method: GET
 +  * Request Headers: Kefu-Token=${accessToken}
 +  * 可能的错误码:详见:[[#​错误码说明|错误码说明]]
 +
 +**Curl示例:**
 +
 +<code php>
 +curl --request GET \
 +  --url '​http://​kefu.easemob.com/​api/​platform/​tenants/​28994/​calldetails?​page=0&​size=14&​total_pages=1&​total_entries=10&​startTime=2019-11-10T00%3A00%3A00.000Z&​stopTime=2019-11-16T23%3A59%3A59.000Z&​contactType=Inbound&​orderType=DESC&​contactDisposition=ALL&​phoneNumber=&​kefuId=&​useStop=fal&​groupId=&​satisfaction=&​_=1573695779337'​ \
 +  --header '​Kefu-Token:​ a7f3d2bcb62721a3c67b8f567acfd553'​ \
 +</​code>​
 +
 +参数说明:
 +^名称^类型^是否非空(Y:​是;​N:​否)^说明^
 +|Kefu-Token| String |Y|调用接口的accessToken|
 +|tenantId|int|Y|租户ID|
  
 ===== 错误码说明 ===== ===== 错误码说明 =====