POST api/DevilTraining/VideoList

魔鬼刷题功能某书籍之某章、或节包含的视频列表、待播放视频等信息获取

Request Information

URI Parameters

None.

Body Parameters

数据获取条件

PM_DevilTraining_VideoList
NameDescriptionTypeAdditional information
BookId

书籍标识

integer

None.

ChapterSectionId

章或节标识

integer

None.

UserToken

当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传

string

None.

DomainName

来访域名(用户访问该站点时输入的域名)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "ChapterSectionId": 2,
  "UserToken": "sample string 3",
  "DomainName": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponseModelOfAM_DevilTraining_VideoList
NameDescriptionTypeAdditional information
Data

AM_DevilTraining_VideoList

None.

State

integer

None.

Msg

返回的错误或描述信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "BookId": 1,
    "BookName": "sample string 2",
    "IsOwned": 64,
    "CurrentChapterId": 4,
    "CurrentSectionId": 5,
    "CurrentChapterSectionName": "sample string 6",
    "CurrentVideoInfo": {
      "VideoBeginImage": "sample string 1",
      "VideoURL": "sample string 2",
      "VideoId": 3,
      "VideoTitle": "sample string 4",
      "BookVideoId": 5,
      "VideoDuration": 6,
      "LatestPlayedLength": 7
    },
    "VideoList": [
      {
        "VideoId": 1,
        "VideoTitle": "sample string 2",
        "BookVideoId": 3,
        "VideoDuration": 4,
        "LatestPlayedLength": 5
      },
      {
        "VideoId": 1,
        "VideoTitle": "sample string 2",
        "BookVideoId": 3,
        "VideoDuration": 4,
        "LatestPlayedLength": 5
      }
    ]
  },
  "State": 1,
  "Msg": "sample string 2"
}