POST api/textBook/saveTextBook
新增或修改课本
Request Information
URI Parameters
None.
Body Parameters
TextBook| Name | Description | Type | Additional information |
|---|---|---|---|
| CreatedDatetime | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedDatetime | date |
None. |
|
| UpdatedBy | string |
None. |
|
| BookId | string |
None. |
|
| BookSubname | string |
None. |
|
| BookName | string |
None. |
|
| CoverImg | string |
None. |
|
| SeqNo | integer |
None. |
|
| CreateMode | boolean |
None. |
|
| ChapterList | Collection of TextBookChapter |
None. |
Request Formats
application/json, text/json
Sample:
{
"CreatedDatetime": "2025-12-06T14:58:57.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+08:00",
"UpdatedBy": "sample string 4",
"BookId": "sample string 5",
"BookSubname": "sample string 6",
"BookName": "sample string 7",
"CoverImg": "sample string 8",
"SeqNo": 9,
"CreateMode": true,
"ChapterList": [
{
"CreatedDatetime": "2025-12-06T14:58:57.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.2779007+08:00",
"CreatedBy": "sample string 2",
"UpdatedDatetime": "2025-12-06T14:58:57.2779007+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.