文档中心 > API类目 > 平台治理API

taobao.sungari.case.import (涉网数据库导入接口)

涉网数据库导入案件信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
data String 必须 {"data":"{\"caseInfo\":{\"acctime\":\"2019-08-22 \",\"addr\":\"杭州市西湖区留下街道杨家牌楼百家园路79号南楼D265室\",\"applbasque\":\"020101\",\"applidique\":\"纯投诉件建议诉转案,测试请求内容长度今年以来,面对复杂多变的国内外形势,中国经济总体保持稳中向好态势,\",\"bizId\":\"001245613\",\"blqx\":1539705600000,\"brandname\":\"无\",\"dspttype\":\"1\",\"reportbasque\":\"01240\",\"sourceId\":\"070107422\",\"title\":\"xx投诉xx的案件\"}}","bizId":"001245613"} json格式案件信息

响应参数

名称 类型 示例值 描述
data_code Number 1 成功
data Boolean true 成功
message String ok message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
SungariCaseImportRequest req = new SungariCaseImportRequest();
req.setData("{\"data\":\"{\\"caseInfo\\":{\\"acctime\\":\\"2019-08-22 \\",\\"addr\\":\\"杭州市西湖区留下街道杨家牌楼百家园路79号南楼D265室\\",\\"applbasque\\":\\"020101\\",\\"applidique\\":\\"纯投诉件建议诉转案,测试请求内容长度今年以来,面对复杂多变的国内外形势,中国经济总体保持稳中向好态势,\\",\\"bizId\\":\\"001245613\\",\\"blqx\\":1539705600000,\\"brandname\\":\\"无\\",\\"dspttype\\":\\"1\\",\\"reportbasque\\":\\"01240\\",\\"sourceId\\":\\"070107422\\",\\"title\\":\\"xx投诉xx的案件\\"}}\",\"bizId\":\"001245613\"}");
SungariCaseImportResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<sungari_case_import_response>
    <data_code>1</data_code>
    <data>true</data>
    <message>ok</message>
</sungari_case_import_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部