0.1. 多人对话举报工单复审接口

接入需要沟通联调,请沟通好后继续接入

  1. 接入监控API
请求url:https://eco.immomo.com/api/recheck/reportMultiDialogue

请求方式:POST

1)请求参数:

字段 类型 是否必填 名称 备注
appid string 企业服务分配appid
sign string sha1(appid.content) appid和content做完字符串拼接,然后对新字符串做sha1
content string 加密内容 按指定规则生成的加密串 参数数组先json_encode,过aes加密,再base64_encode

2)content 解密出来字段:

字段 类型 是否必填 备注
ticket_id string 工单key
category string 场景key
recheck_time string 审核复审的次数
is_priority string 优先级 0/1
redirect string 回调地址
timestamp string 发送时间


3)成功返回参数

  • successResponseBody:
    {
      "ec": 0,
      "em": "success",
      "timesec": 1587958971,
      "data": {
          "msg": "添加成功"
      }
    }
    
  • failedResponseBody:
    {
      "ec": 30003,
      "em": "复审工单已存在,请勿重复提交",
      "timesec": 1587959130,
      "data": {}
    }
    

0.1.1. 异步回调,返回审核结果

请求地址:请求时的redirect
请求方式:POST

请求参数:

字段 类似 是否必填 备注
appid string 业务分配送检时的appid
content string 加密后检测内容

content解密后内容:

字段 类型 备注
ticket_id string 工单id 分配的工单唯一id
uniqid string 业务方自定义唯一id
category string 场景key
appid string 企业服务分配appid
result array 审核结果

返回参数示例:

{
    "ticket_id": 123,
    "category": "场景1",
    "appid":1231231231312,
    "uniqid": "1231221",
    "result": {
        "dialogue_result": "ad",
        "user_result": {
            "id_1": "pron",
            "id_2": "ad"
        }
    },
    "auditor": "xxxxxxx"
}
@Copyright © cosmos 2019 all right reserved,powered by Gitbook修订时间: 2020-11-09 15:00:06

results matching ""

    No results matching ""