云客服-新增外呼活动(v2):报文样例

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

报文样例

  • 该接口的请求消息体举例如下:
    {
        "name": "test0827shwocase1",
        "description": "long0825",
        "strBeginTime": "2021-08-27 00:00:00",
        "strEndTime": "2021-08-28 23:59:59",
        "deviceType": 2,
        "callerNo": [
            {
                "accessCode": "88889527",
                "priority": 3
            },
            {
                "accessCode": "88880066",
                "priority": 4
            }
        ],
        "maxAlertingTime": 20,
        "priority": 4,
        "scheduleParam": {
            "workdayBeginTime1": "00:00",
            "workdayEndTime1": "23:59",
            "workdayBeginTime2": "",
            "workdayEndTime2": "",
            "workdayBeginTime3": "",
            "workdayEndTime3": "",
            "holidayBeginTime1": "10:00",
            "holidayEndTime1": "11:00",
            "holidayBeginTime2": "13:00",
            "holidayEndTime2": "17:30",
            "holidayBeginTime3": "",
            "holidayEndTime3": ""
        },
        "skillParam": {
            "skillId": 2,
            "skillName": "defaultAudioSkill",
            "outBoundType": 2,
            "predictParam": {
                "predictMethod": 1,
                "expPredictParam": {
                    "maxAvgCallTime": 100,
                    "minAvgCallTime": 50,
                    "outBoundRate": 50
                }
            }
        },
        "retryPolicy": {
            "policyType": 1,
            "policyJson": "[{'dataType':'SI','type':1,'policy':[{'result':4,'retryNumber':3,'callInterval':600}]}]"
        },
        "callPolicy": {
            "callType": 1,
            "chooseType": 0,
            "turns": [
                {
                    "turnType": "SI"
                }
            ]
        },
        "initStatus": 0,
        "callBackUrl": "https://10.10.10.10/xxx/xxx/xxx"
    }
  • 该接口的响应消息体举例如下:
    {
        "resultCode": "0200000",
        "resultDesc": "",
        "returnCode": "0200000",
        "returnDesc": "",
        "returnObject": {
            "id": 46
        }
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_4002.html