POST api/textBook/saveTextBookChapter
添加章节
Request Information
URI Parameters
None.
Body Parameters
TextBookChapter| Name | Description | Type | Additional information |
|---|---|---|---|
| CreatedDatetime | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedDatetime | date |
None. |
|
| UpdatedBy | string |
None. |
|
| BookId | string |
None. |
|
| ChapterId | integer |
None. |
|
| ChapterName | string |
None. |
|
| ChapterSubname | string |
None. |
|
| Items | Collection of TextBookChapterItem |
None. |
|
| ViewIndc | string |
None. |
|
| Score | integer |
None. |
|
| CreateMode | boolean |
None. |
|
| ChapterItemList | Collection of TextBookChapterItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterName": "sample string 7",
"ChapterSubname": "sample string 8",
"Items": [
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ChapterItemName": "sample string 8",
"Score": 9,
"ContentList": [
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
},
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
}
],
"ImgUrl": "sample string 10"
},
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ChapterItemName": "sample string 8",
"Score": 9,
"ContentList": [
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
},
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
}
],
"ImgUrl": "sample string 10"
}
],
"ViewIndc": "sample string 9",
"Score": 9,
"CreateMode": true,
"ChapterItemList": [
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ChapterItemName": "sample string 8",
"Score": 9,
"ContentList": [
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
},
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
}
],
"ImgUrl": "sample string 10"
},
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ChapterItemName": "sample string 8",
"Score": 9,
"ContentList": [
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
},
{
"CreatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.7343356+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"ChapterId": 6,
"ChapterItemId": 7,
"ContentId": 8,
"ImgUrl": "sample string 9",
"Mode": "sample string 10",
"Content": "sample string 11",
"Description": "sample string 12",
"AudioUrl": "sample string 13"
}
],
"ImgUrl": "sample string 10"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.