云客服-根据敏感词的唯一标识获取敏感词详细资讯:报文样例

时间:2024-09-24 14:46:41

报文样例

  • 场景描述:根据敏感词的唯一标识获取敏感词详细资讯的接口。

    请求头:

    x-app-key:************************************  
    X-UserID:1611917095665261978  
    Authorization:Bearer ********************************

    请求参数:

    {
    	"sw_id": "894378241547046912"
    }

    响应参数:

    {
    	"exception": {
    		"customer": [{
    			"category_id": "894378237264662528",
    			"sentence_id": "14171",
    			"sentence_name": "意图名称demo3"
    		}],
    		"staff": [{
    			"category_id": "894378237264662529",
    			"sentence_id": "14161",
    			"sentence_name": "意图名称demo1"
    		}, {
    			"category_id": "894378237264662529",
    			"sentence_id": "14166",
    			"sentence_name": "意图名称demo2"
    		}]
    	},
    	"score": "-10",
    	"category_id": "894378241379274752",
    	"resultCode": "0401000",
    	"sw_id": "894378241547046912",
    	"resultDesc": "操作成功",
    	"sw_name": "啦啦啦"
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_2676.html