文档中心 > API类目 > 书旗内容文巢

alibaba.shuqi.content.backend.correct.chapter.content (纠错章节内容)

纠错章节内容

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
task_id Number 必须 4535 任务ID
book_id Number 必须 5345 书籍ID
chapter_id Number 必须 454 章节ID
must__online Number 必须 1 必须线上

响应参数

名称 类型 示例值 描述
data CorrectChapterContentResp data
  • └ source_type
  • Number
  • 1
  • 1: 文渊阁线上 2: 原创线下 3: 草稿
  • └ chapter_id
  • Number
  • 2
  • chapterId
  • └ title
  • String
  • Chapter title
  • title
  • └ content
  • String
  • Chapter content
  • content
  • └ book_id
  • Number
  • 1
  • bookId
  • └ edit_status
  • Number
  • 1
  • 1:正常可编辑 2: 文渊阁线上章节锁定 3:原创书审核中 4:原创书驳回
  • └ online_updated
  • Number
  • 0
  • 1: 已更新 0: 未更新
  • └ online_update_time
  • Date
  • 2023-12-12 00:00:00
  • 线上章节更新时间
  • └ online_content
  • String
  • rlkbfghdfjf
  • 原创线下或文渊阁线上
  • └ online_title
  • String
  • rlkbfghdfjf
  • 原创线下或文渊阁线上
state String 200 state
message String 成功 message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaShuqiContentBackendCorrectChapterContentRequest req = new AlibabaShuqiContentBackendCorrectChapterContentRequest();
req.setTaskId(4535L);
req.setBookId(5345L);
req.setChapterId(454L);
req.setMust_online(1L);
AlibabaShuqiContentBackendCorrectChapterContentResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_shuqi_content_backend_correct_chapter_content_response>
    <data>
        <source_type>1</source_type>
        <chapter_id>2</chapter_id>
        <title>Chapter title</title>
        <content>Chapter content</content>
        <book_id>1</book_id>
        <edit_status>1</edit_status>
        <online_updated>0</online_updated>
        <online_update_time>2023-12-12 00:00:00</online_update_time>
        <online_content>rlkbfghdfjf</online_content>
        <online_title>rlkbfghdfjf</online_title>
    </data>
    <state>200</state>
    <message>成功</message>
</alibaba_shuqi_content_backend_correct_chapter_content_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

返回
顶部