云客服-新增话术:报文样例

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

报文样例

  • 场景描述:新增话术

    请求头:

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

    请求参数:

    {
    	"sentences": ["10877","10795","10795","10849","10870","10877","10877","10721","10877"],
    	"role": "customer",
    	"position": "set",
    	"SGType": "must_say",
    	"sg_name": "话术名称65",
    	"dialogue_flow_id": "1068973778081419264",
    	"position_distance": 2271
    }

    响应参数:

    {
        "sg_id": "1071513309271822336",
        "resultCode": "0405000",
        "resultDesc": "操作成功"
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_2680.html