会话小结列表

服务描述

每通会话坐席需要概况一下这通会话的主题总结概要。不跟会话关联,是查看所有会话小结的情况

开发须知

调用本接口前,请先获取appId

服务地址

GET https://{您的专属域名}/imchat/openapi/v1/chatSummary/tree/search

请求参数

参数 位置 类型 是否必填 说明
appId header String Y 应用ID
timestamp header String Y 时间戳,毫秒
sign header String Y 签名
Content-Type header String Y application/json
请求数据示例:
GET https://{您的专属域名}/imchat/openapi/v1/chatSummary/tree/search

返回结果

参数 类型 说明
code String 结果码
message String 结果描述
data List< ChatSummaryTreeDto > 会话小结列表
ChatSummaryTreeDto说明
参数 类型 说明
id Long 会话小节ID
parentId Long 会话小节父ID
layer Byte 会话小节所在层,从1开始
summary String 会话小节文本
summaryId String 业务小结ID
pathSummaryId String 业务小结ID路径,以逗号分隔,从顶层到当前层ID(包括当前层id)
children List< ChatSummaryTreeDto > 会话小节的子会话小结集合
返回结果示例:
{
    "code":"10000",
    "message":"请求成功",
    "data":{
        "roots":[
            {
                "id":10869,
                "parentId":"0",
                "pathSummaryId":"e9132c8351064e05b43ef909039316d9",
                "layer":1,
                "summary":"咨询",
                "summaryId":"e9132c8351064e05b43ef909039316d9",
                "children":[
                    {
                        "id":10870,
                        "parentId":"10869",
                        "pathSummaryId":"e9132c8351064e05b43ef909039316d9,0927ace79da64bb996fe99c7b17df950",
                        "layer":2,
                        "summary":"贷款",
                        "summaryId":"0927ace79da64bb996fe99c7b17df950",
                        "children":[
                            {
                                "id":10871,
                                "parentId":"10870",
                                "pathSummaryId":"e9132c8351064e05b43ef909039316d9,0927ace79da64bb996fe99c7b17df950,727b2112b15e4e708da8e3b72fc16db0",
                                "layer":3,
                                "summary":"APP",
                                "summaryId":"727b2112b15e4e708da8e3b72fc16db0",
                                "children":[

                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "id":10885,
                "parentId":"0",
                "pathSummaryId":"1ff8e2d7b34642ef9a72a30321eea450",
                "layer":1,
                "summary":"贷款",
                "summaryId":"1ff8e2d7b34642ef9a72a30321eea450",
                "children":[
                    {
                        "id":10886,
                        "parentId":"10885",
                        "pathSummaryId":"1ff8e2d7b34642ef9a72a30321eea450,af920fc3f8a748629ee1d3ba76946c0b",
                        "layer":2,
                        "summary":"分期",
                        "summaryId":"af920fc3f8a748629ee1d3ba76946c0b",
                        "children":[
                            {
                                "id":10887,
                                "parentId":"10886",
                                "pathSummaryId":"1ff8e2d7b34642ef9a72a30321eea450,af920fc3f8a748629ee1d3ba76946c0b,8570e62330f94ad79bf5ff58a7c5c175",
                                "layer":3,
                                "summary":"手续费",
                                "summaryId":"8570e62330f94ad79bf5ff58a7c5c175",
                                "children":[

                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    }
}
结果码说明
结果码 说明
10000 请求成功
20001 请求失败
21002 认证失败,请重新登录

FAQ:

results matching ""

    No results matching ""