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

PushTicketListRequest

尹振坤 edited this page Sep 1, 2020 · 1 revision

完整工单信息推送接口: PushTicketListRequest


接口说明

接收平台上传的完整工单记录

SDK对象

PushTicketListRequest

接口地址

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

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

接口请求方法

POST

请求参数

PushTicketListRequest参数详情

参数名 必选 类型及范围 说明 更新时间
ticketId true string 客户/第三方系统里的 工单id -
userId true string 企业id(地区id) -
createTime true long 工单创建时间 -
finished false Integer 工单是否完结,0:未完结,1:完结 -
priority false Integer 优先级,0:低,1:中,2:高,3:紧急 -
ticketRecord true List 工单节点内容 -

TicketRecord 参数详情

参数名 必选 类型及范围 说明
agentName true String 座席名称
cno true String 座席工号
createTime true Long 工单节点创建时间
enterpriseId true String 企业id(地区id)
nodeType true Integer 节点类型:1:开始节点,0:过程节点,-1:完结节点
qname true String 队列名
qno true String 队列号
nodeId true String 工单流转节点id
text true String 工单节点
updateTime true Long 工单节点更新时间

返回结果

调用成功200

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

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

调用失败400

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