调用GetHotlineMessageLog接口获取热线消息记录。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
AICCS 实例 ID。可在智能联络中心控制台上获取。 |
ccc_xp_pre-cn-*** |
| Acid |
string |
是 |
会话 ID。 |
100****2077 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Rusult |
||
| RequestId |
string |
请求 ID。 |
EE338D98-9BD3-4413-B165 |
| Message |
string |
状态码描述。 |
xxxx |
| Data |
array<object> |
语音信息。 |
|
|
object |
语音信息。 |
||
| Acid |
string |
会话 ID。 |
100****2077 |
| EndTime |
integer |
结束时间。 |
1623738027480 |
| Content |
string |
会话内容。 |
您好。 |
| SenderType |
integer |
发送方类型。取值:
|
1 |
| StartTime |
integer |
开始时间。 |
1623738026460 |
| Mid |
string |
记录 ID。 |
11deca999**** |
| Code |
string |
状态码。返回 Success 表示请求成功。 |
Success |
| Success |
boolean |
接口调用是否成功。 |
true |
示例
正常返回示例
JSON格式
{
"RequestId": "EE338D98-9BD3-4413-B165",
"Message": "xxxx",
"Data": [
{
"Acid": "100****2077",
"EndTime": 1623738027480,
"Content": "您好。",
"SenderType": 1,
"StartTime": 1623738026460,
"Mid": "11deca999****"
}
],
"Code": "Success",
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | SystemError | A system error occurred. Please contact the administrator. | 系统错误,请联系管理员! |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?