知识点详情接口

服务描述

此接口获取知识点的详情数据

开发须知

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

服务地址

GET https://{您的专属域名}/kms/openapi/v1/integration/classification/getClassificationById

请求参数

参数 位置 类型 是否必填 说明
appId header String Y 应用ID
timestamp header String Y 时间戳,毫秒
sign header String Y 签名
Content-Type header String Y application/json
robotId body String Y 机器人id
id body Long Y 知识id

返回结果

返回结果

参数 类型 说明
code String 结果码
message String 结果描述
data BotClassificationVo 知识对象
BotClassificationVo
参数 类型 说明
classification classification 知识点
answerList list<BotIntegrationAnswer> 答案列表
keywordList list<BotIntegrationClassificationKeyword> 关键词列表
similarityList list<BotIntegrationClassificationSimilarity> 相似问列表
relationList list<BotIntegrationClassificationRelation> 关联答案列表
regularList list<BotIntegrationClassificationRegular> 规则答案列表
flowEngine BotIntegrationClassificationJumpFlowEngine 流程
响应示例
{
    "code": "10000",
    "message": "ok",
    "data": {
        "tenantId": null,
        "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
        "classification": {
            "id": 146068,
            "tenantId": "msxf15680994857775b8c5584",
            "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
            "categoryId": 1336,
            "standardAsk": "事后发现交易状态为“未支付”,顾客没有付款成功,怎么办?",
            "replyMethod": 1,
            "sessionLabelId": null,
            "sessionLabelName": null,
            "createTime": 1624010180000,
            "updateTime": 1624256447000,
            "isDeleted": false,
            "permanent": true,
            "validStartTime": null,
            "validEndTime": null,
            "status": 0,
            "categoryIdList": null,
            "advanceQuery": null,
            "queryAnswer": null,
            "similarityQuestion": null,
            "conditionAndList": null,
            "conditionOrList": null,
            "pageSize": null,
            "pageNum": null,
            "topNum": 20
        },
        "answerList": [
            {
                "id": 146173,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "answer": "<p>您好,建议联系客户重新付款。优化版2</p>",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "status": 0,
                "changeText": "<p>您好,建议联系客户重新付款。优化版2</p>"
            }
        ],
        "keywordList": [],
        "similarityList": [
            {
                "id": 530964,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "交易状态为“未支付”,付款没有成功的解决方案?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "交易状态为“未支付”,付款没有成功的解决方案?"
            },
            {
                "id": 531479,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "后面发现交易状态是未支付,有的客人并没有付款成功这种情况怎么处理?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "后面发现交易状态是未支付,有的客人并没有付款成功这种情况怎么处理?"
            },
            {
                "id": 531994,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人没支付成功,页面上是“未支付”怎么处理",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人没支付成功,页面上是“未支付”怎么处理"
            },
            {
                "id": 532509,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人都离开了,我发现没支付成功怎么办",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人都离开了,我发现没支付成功怎么办"
            },
            {
                "id": 533021,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "状态为“未支付”没有付款成功怎么处理?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "状态为“未支付”没有付款成功怎么处理?"
            },
            {
                "id": 530758,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "交易状态为“未支付”没有付款成功该怎么办?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "交易状态为“未支付”没有付款成功该怎么办?"
            },
            {
                "id": 531273,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "发现交易状态为“未支付”,没有付款成功有没有什么方法解决?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "发现交易状态为“未支付”,没有付款成功有没有什么方法解决?"
            },
            {
                "id": 531788,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "如何解决交易状态为“未支付”,付款没有成功的情况?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "如何解决交易状态为“未支付”,付款没有成功的情况?"
            },
            {
                "id": 532303,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人走了我才发现还没有支付成功怎么办",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人走了我才发现还没有支付成功怎么办"
            },
            {
                "id": 532817,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "我发现交易状态为“未支付”,付款没有成功该怎么处理?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "我发现交易状态为“未支付”,付款没有成功该怎么处理?"
            },
            {
                "id": 530552,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "事后发现交易状态为“未支付”没有付款成功怎么办?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "事后发现交易状态为“未支付”没有付款成功怎么办?"
            },
            {
                "id": 531067,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "交易状态为“未支付”,没有付款成功有没有什么解决方法?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "交易状态为“未支付”,没有付款成功有没有什么解决方法?"
            },
            {
                "id": 531582,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "后面发现交易状态是未支付,有的客人并没有付款成功这种情况怎么处理?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "后面发现交易状态是未支付,有的客人并没有付款成功这种情况怎么处理?"
            },
            {
                "id": 532097,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人走了之后,我看页面说是“未支付”怎么办",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人走了之后,我看页面说是“未支付”怎么办"
            },
            {
                "id": 533123,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "页面上提示“未支付”,客人没支付成功,怎么处理啊",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "页面上提示“未支付”,客人没支付成功,怎么处理啊"
            },
            {
                "id": 532612,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人都走了,我才看到没有支付成功怎么办呀",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人都走了,我才看到没有支付成功怎么办呀"
            },
            {
                "id": 530861,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "交易状态为“未支付”,付款没有成功咋办?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "交易状态为“未支付”,付款没有成功咋办?"
            },
            {
                "id": 531376,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "发现交易状态为“未支付”,没有付款成功该怎么解决?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "发现交易状态为“未支付”,没有付款成功该怎么解决?"
            },
            {
                "id": 531891,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人没支付成功,页面上是“未支付”怎么办",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人没支付成功,页面上是“未支付”怎么办"
            },
            {
                "id": 532406,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人走了,我才发下未支付的话怎么处理",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人走了,我才发下未支付的话怎么处理"
            },
            {
                "id": 532919,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "状态为“未支付”没有付款成功咋办?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "状态为“未支付”没有付款成功咋办?"
            },
            {
                "id": 530655,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "交易状态为“未支付”没有付款成功怎么办?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "交易状态为“未支付”没有付款成功怎么办?"
            },
            {
                "id": 531170,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "发现交易状态为“未支付”,没有付款成功如何处理?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "发现交易状态为“未支付”,没有付款成功如何处理?"
            },
            {
                "id": 531685,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "咋解决交易状态为“未支付”,付款没有成功的情况?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "咋解决交易状态为“未支付”,付款没有成功的情况?"
            },
            {
                "id": 532200,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "客人走了之后,我看页面说是“未支付”怎么处理",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "客人走了之后,我看页面说是“未支付”怎么处理"
            },
            {
                "id": 533225,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "页面上提示“未支付”,是不是客人没支付成功,我该怎么办呢",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "页面上提示“未支付”,是不是客人没支付成功,我该怎么办呢"
            },
            {
                "id": 532715,
                "tenantId": "msxf15680994857775b8c5584",
                "robotId": "NEWac407586949d8ba0c83fb2cfaa286",
                "clsId": 146068,
                "question": "怎么解决交易状态为“未支付”,付款没有成功的情况?",
                "createTime": 1624256447000,
                "updateTime": 1624256447000,
                "isDeleted": false,
                "pageSize": null,
                "pageNum": null,
                "standardAsk": null,
                "changeText": "怎么解决交易状态为“未支付”,付款没有成功的情况?"
            }
        ],
        "relationList": [],
        "regularList": []
    }
}
结果码说明
结果码 说明
10000 请求成功
10001 鉴权失败
10002 找不到对应的公钥,请先上传公钥
20001 请求失败
20002 参数错误
20003 未查询到符合条件的记录

results matching ""

    No results matching ""