Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

PushShunfengDialogueRequest

尹振坤 edited this page Sep 2, 2020 · 2 revisions

专项记录推送接口 PushShunfengDialogueRequest

接口说明

接收平台上传的专项记录信息

SDK对象

PushShunfengDialogueRequest

接口地址

POST: smartlink-sqc-openapi.tinetcloud.com/sqc/pushShunfengDialogue(线上环境)

POST: smartlink-sqc-openapi-test.tinetcloud.com/sqc/pushShunfengDialogue(测试环境)

接口请求方法

POST

请求参数

PushShunfengDialogueRequest 参数详情

参数名 必选 类型及范围 说明 更新时间
uniqueId true string 客户/第三方系统里的 ID -
accountLoginName true string 账户登录名 -
userId true string 企业id(地区id) -
customerProvince false string 客户省份,通过客户 IP 获取 -
customerCity false string 客户城市,通过客户 IP 获取 -
customerIp false string 客户 IP -
browserUserAgent false string 用户浏览器标识 -
cno true string 座席工号 -
agentName false string 座席名 -
qno false string 队列号 -
qname false string 队列名 -
startTime true Long 进入系统时间 -
sendChatTime true Long 转人工时间 -
chatBeginTime true Long 接通人工时间 -
chatEndTime true Long 最后一次人工交互时间 -
endTime true Long 会话结束时间 -
robotEndTime true Long 最后一次机器人交互时间 -
endReason true String 结束原因 -
investigation false String 满意度调查 -
chatAgent true List 座席侧聊天内容 -
chatCustomer true List 客户侧聊天内容 -

ChatRecord 参数详情

参数名 必选 类型及范围 说明
id true String 主键id
role true Integer 消息发送方,0:座席、1:客户、2:机器人、3:系统
sendTime true Long 发送时间
messageType true Integer 消息类型,1:文字、2:图片、3:视频、4:链接 5
text true String 对话内容

返回结果

调用成功200

{
    "status": 200,
    "message":"推送成功"
}

{
    "status": 状态码,
    "message":"推送失败"
}

调用失败400

失败的请求会已异常的形式抛出:
com.tinet.smartlink.commons.sdk.core.exceptions.ServerException: uniqueId不符合格式要求
.........