文档中心 > API类目 > 淘宝在线教育

taobao.edu.paper.launchdetection (论文检测发起接口)

SPI接口,由外部服务商实现

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
title String 必须 论文标题 论文标题
seller String 必须 卖家小李 卖家在第三方的标识
itemid Number 必须 10001 淘系商品ID
orderid Number 必须 10000001 淘系订单Id
author String 必须 张三 论文作者
content String 必须 长论文正文 论文内容
price Number 必须 100 价格单位为分,比如1元5角4分,标记为154
count Number 必须 50000 字数
ext String 必须 name:123 扩展备用

响应参数

名称 类型 示例值 描述
result Boolean true 发起检测是否成功
errormsg String 101 errorMsg
errorcode String 服务端异常 errorCode

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
EduPaperLaunchdetectionRequest req = new EduPaperLaunchdetectionRequest();
req.setTitle("论文标题");
req.setSeller("卖家小李");
req.setItemid(10001L);
req.setOrderid(10000001L);
req.setAuthor("张三");
req.setContent("长论文正文");
req.setPrice(100L);
req.setCount(50000L);
req.setExt("name:123");
EduPaperLaunchdetectionResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<edu_paper_launchdetection_response>
    <result>true</result>
    <errormsg>101</errormsg>
    <errorcode>服务端异常</errorcode>
</edu_paper_launchdetection_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

返回
顶部