视频客服通话事件推送

示例1

  {
    "bizId":"123abc", //第三方业务编号,用于关联视频通话记录
    "videoCall":{//视频信息
      "id":123, //视频记录id
      "dialTime":"2016-08-31T16:22:11.000+08:00", //拨入时间
      "queueDuration":"12333", //排队时间 毫秒
      "callDuration":"12333",//通话时间 毫秒
      "resultCode":4, //通话结果  0 初始化状态 1。排队放弃; 2. 排队超时 3. 客户速挂 4. 客服接听 5. 客服未接
      "videoCallStartTime":"2016-08-31T16:22:11.000+08:00",//通话开始时间
      "videoCallEndTime":"2016-08-31T16:22:11.000+08:00",//通话结束时间
      "surveryResolveResult":"已解决", //满意度评价解决结果
      "surveryLables":"速度快,态度温柔", //满意度评价标签
      "surveryRemark":"abc",//满意度评价备注
      "surveryDesc":"abc",//满意度评价描述信息
      "videoUrl":"https://avs.t2.tryudesk.com/avs/web/storage/resource?req=0c78cc0acd6", // 视频地址
      "isSendLeaveInfo":"是", //是否发送留资表
      "isFinishedLeaveInfo":"完成", //留资情况
      "videoCallType":"直接呼叫" //通话类型
    },
    "message":[
      {
        "seq":0, // 消息序号
        "type":"SYSTEM",  //消息类型  SYSTEM:系统消息 ,RICH_TEXT:富文本消息,TEXT:文本消息,From:表单消息,IMAGE:图片消息,STRUCT:结构化消息 TEMPLATE:模板消息,MESSAGE_UPDATE:消息更新
        "direct":"C_TO_A", // 消息方向  C_TO_A:客户到客服  A_TO_C:客服到客户
        "content":"客户选择了国际体验厅", //消息内容
        "msgId":"cb9688be-0cc8-42a9-acba-aaf9ea7c1d4f", // 消息id
        "createdAtMills":1638256177000 // 消息创建时间戳 毫秒
      },
      {
        "seq":0,
        "type":"RICH_TEXT",
        "direct":"A_TO_C",
        "content":"辉asdsad",
        "msgId":"c97c4aa4-796f-4082-a0eb-13772e121805",
        "createdAtMills":1638256182000
      }
    ],
    "customer": {//客户信息
      "id": 10, //id
      "nick_name": "北京cloud-ark.cn联通(1472631731)",//客户昵称
      "source_channel": "web_im", //来源渠道
      "is_blocked": false, //是否黑名单
      "level": "normal", //客户等级, vip normal
      "created_at": "2016-08-31T16:22:11.000+08:00", //创建时间 
      "updated_at": "2016-11-19T10:58:33.000+08:00", //更新时间
      "lang": null,
      "sdk_token": null,
      "web_token": "854b5088-5ceb-4c79-8827-2388cbb8a8c0",
      "other_web_tokens": [],
      "open_api_token": null,
      "description": "IM用户:ip(119.57.115.195)",
      "email": "",
      "tags": "hellozzz",
      "rich_tags": [{
        "id": 24,
        "name": "hellozzz",
        "color": "1"
      }],
      "custom_fields": {//客户的自定义字段
        "SelectField_9512": ["0"],
        "SelectField_9903": ["20"],
        "SelectField_35902": ["1"],
        "TextField_19070": "1",
        "TextField_79272": "单行文本"
      },
      "other_emails": [],//客户邮箱
      "cellphones": [{ //客户电话
        "id": 379688322,
        "content": "1901920129"
      }],
      "default_organization_id": 5532292, //客户的默认公司
      "organization_ids": [5532292], //客服公司id
      "weixin_minis": [{ //客户的微信信息
          "appid": null,
          "openid": "20200314_lhz3",
          "unionid": "",
          "avatar": null,
          "nick_name": "李大也2"
      }]
    },
    "organizations": [{ //客服公司信息
      "id": 5532292,
      "name": "udesk"
    }],
    "agent": { //客服信息
      "id": 1,
      "nick_name": "abc",
      "avatar": "", //头像
      // ...
      "user_group_ids": [20, 21], //客服组id
      "user_group_names":["张三的客服组","李四的客服组"], // 客服组名称
      "work_id": "1122",  //工号
      "duty": "职位1",   // 职位
      "is_admin": true, //是否是管理员
      "departments": [{ //部门
        "id": 1,
        "name": "总公司"
      }, {
        "id": 16,
        "name": "华南区"
      }, {
        "id": 31,
        "name": "华北区"
      }],
    },
  }