云客服-生成话单和录音索引:报文样例

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

报文样例

  • 请求头
    POST /CCFS/resource/ccfs/queryBillData HTTP/1.1
    Authorization: auth-v2/ak/2018-07-02T02:42:49Z/content-length;content-type;host
    /7a8fb9d620ee488******************85c5df0cce3c6a253
    Accept: */*
    Content-Type: application/json;charset=UTF-8
    Content-Length: 297
  • 请求参数
    {
        "request": {
            "version": "2.0"
        },
        "msgBody": {
            "beginTime": "2018-06-29 10:42:49",
            "endTime": "2018-07-02 10:42:49",
            "accountId": "",
            "agentId": "",
            "callId": "",
            "dataType": "call_record",
            "callBackURL": "https://10.57.118.171:8000"
        }
    }
  • 响应头
    HTTP/1.1 200 OK
    Content-Type: application/json;charset=UTF-8
    Date: Mon, 02 Jul 2018 02:43:03 GMT
  • 响应示例
    {
        "response": {
            "version": "2.0",
            "resultCode": "0",
            "resultMsg": "success"
        },
        "resultData": {
            "responseId": "9239cb50a8384bb0ab503441bf089446"
        },
        "resultCode": "0",
        "resultDesc": "success"
    }
  • 呼叫中心向回调地址返回的消息示例

    消息头:

    POST / HTTP/1.1
    Accept: */*
    Content-Type: application/json;charset=UTF-8
    Authorization: auth-v2/ak/2018-07-02T02:43:03Z/content-length;content-type;host
    /c5bd683******************9def5747bd572c28
    Host: 10.57.118.171
    Content-Length: 208

    消息参数:

    {
        "request": {
            "version": "2.0"
        },
        "msgBody": {
            "responseId": "9239cb50a8384bb0ab503441bf089446",
            "billFileName": "20180702_9239cb50a8384bb0ab503441bf089446.zip",
            "accountId": ""
        }
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_4222.html