POST api/DevilTraining/BookChapterSection
魔鬼刷题功能之某书籍包含的章、节列表获取
Request Information
URI Parameters
None.
Body Parameters
数据获取条件
PM_DevilTraining_BookChapterSection| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId |
书籍标识 |
integer |
None. |
| UserToken |
当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"UserToken": "sample string 2",
"DomainName": "sample string 3"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseModelOfAM_DevilTraining_BookChapterSection| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | AM_DevilTraining_BookChapterSection |
None. |
|
| State | integer |
None. |
|
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"ChapterList": [
{
"ChapterId": 1,
"ChapterName": "sample string 2",
"BookId": 3,
"PartId": 4
},
{
"ChapterId": 1,
"ChapterName": "sample string 2",
"BookId": 3,
"PartId": 4
}
],
"SectionList": [
{
"SectionId": 1,
"SectionName": "sample string 2",
"ChapterId": 3
},
{
"SectionId": 1,
"SectionName": "sample string 2",
"ChapterId": 3
}
]
},
"State": 1,
"Msg": "sample string 2"
}