云客服-更新句子:报文样例

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

报文样例

  • 场景描述:更新句子

    请求头:

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

    请求参数:

    {
      "category_id": "1070149256381206528",
      "sentence_name": "句子名称766",
      "tagDataList": [
        {
          "tag_type": "dialogue_act",
          "pos_sentences": [
            {
              "name": "11111111111222222222"
            },
            {
              "id": "10162",
              "name": "同义语料585111111111111111"
            }
          ],
          "neg_sentences": [
            {
              "name": "1111111111111111"
            },
            {
              "id": "10040",
              "name": "反义语料461111111111111"
            }
          ]
        },
        {
          "tag_type": "keyword",
          "pos_sentences": [
            {
              "name": "222222222222222222222222"
            },
            {
              "id": "10094",
              "name": "关键字9891111111111111111"
            },
            {
              "id": "10093",
              "name": "关键字11111111111111111111"
            }
          ]
        }
      ],
      "sentence_id": "10863",
      "deleteTagDataList": []
    }

    响应参数:

    {
      "resultCode": "0403000",
      "id": "10863",
      "resultDesc": "操作成功"
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_2660.html