云客服-根据句子分类的唯一标识获取分类下句子列表:报文样例

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

报文样例

  • 场景描述:根据句子分类的唯一标识获取分类下句子列表

    请求头:

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

    请求参数:

    {
    	"category_id": "1070149256381206528",
    	"page": 1,
    	"limit": 10
    }

    响应参数:

    {
        "data": [
            {
                "category_id": "1070149256381206528",
                "sentence_id": "10849",
                "sentence_name": "句子名称87"
            },
            {
                "category_id": "1070149256381206528",
                "sentence_id": "10856",
                "sentence_name": "句子名称96"
            },
            {
                "category_id": "1070149256381206528",
                "sentence_id": "10863",
                "sentence_name": "句子名称403"
            },
            {
                "category_id": "1070149256381206528",
                "sentence_id": "10870",
                "sentence_name": "句子名称78"
            },
            {
                "category_id": "1070149256381206528",
                "sentence_id": "10877",
                "sentence_name": "句子名称25"
            },
            {
                "category_id": "1070149256381206528",
                "sentence_id": "10884",
                "sentence_name": "句子名称39"
            },
            {
                "category_id": "1070149256381206528",
                "sentence_id": "10891",
                "sentence_name": "句子名称85"
            }
        ],
        "resultCode": "0403000",
        "paging": {
            "total": 7
        },
        "resultDesc": "操作成功"
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_2659.html