POST api/Video/TopicListByChapterID

Request Information

URI Parameters

None.

Body Parameters

clsChapter
NameDescriptionTypeAdditional information
UserId

integer

None.

ChapterId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "ChapterId": 2
}

application/xml, text/xml

Sample:
<clsChapter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <ChapterId>2</ChapterId>
  <UserId>1</UserId>
</clsChapter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

clsNextVideoResponse
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseMessage

string

None.

videos

Collection of clsNextVideo

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "videos": [
    {
      "MFID": 1,
      "SSMID": 2,
      "FevVideoId": 1,
      "MFTopicID": 3,
      "MFSubTopicID": 4,
      "MFChapterID": 5,
      "ChapterNo": 1,
      "ChapterName": "sample string 6",
      "TopicNo": "sample string 7",
      "TopicName": "sample string 8",
      "SubTopicName": "sample string 9",
      "SubTopicNo": 1,
      "FileLength": 1,
      "Sequence": 1,
      "MFPath": "sample string 10",
      "MFVimeoPath": "sample string 11",
      "YouTubeLink": "sample string 12",
      "IsFavVideo": true
    },
    {
      "MFID": 1,
      "SSMID": 2,
      "FevVideoId": 1,
      "MFTopicID": 3,
      "MFSubTopicID": 4,
      "MFChapterID": 5,
      "ChapterNo": 1,
      "ChapterName": "sample string 6",
      "TopicNo": "sample string 7",
      "TopicName": "sample string 8",
      "SubTopicName": "sample string 9",
      "SubTopicNo": 1,
      "FileLength": 1,
      "Sequence": 1,
      "MFPath": "sample string 10",
      "MFVimeoPath": "sample string 11",
      "YouTubeLink": "sample string 12",
      "IsFavVideo": true
    }
  ]
}

application/xml, text/xml

Sample:
<clsNextVideoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <ResponseCode>1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <videos>
    <clsNextVideo>
      <ChapterName>sample string 6</ChapterName>
      <ChapterNo>1</ChapterNo>
      <FevVideoId>1</FevVideoId>
      <FileLength>1</FileLength>
      <IsFavVideo>true</IsFavVideo>
      <MFChapterID>5</MFChapterID>
      <MFID>1</MFID>
      <MFPath>sample string 10</MFPath>
      <MFSubTopicID>4</MFSubTopicID>
      <MFTopicID>3</MFTopicID>
      <MFVimeoPath>sample string 11</MFVimeoPath>
      <SSMID>2</SSMID>
      <Sequence>1</Sequence>
      <SubTopicName>sample string 9</SubTopicName>
      <SubTopicNo>1</SubTopicNo>
      <TopicName>sample string 8</TopicName>
      <TopicNo>sample string 7</TopicNo>
      <YouTubeLink>sample string 12</YouTubeLink>
    </clsNextVideo>
    <clsNextVideo>
      <ChapterName>sample string 6</ChapterName>
      <ChapterNo>1</ChapterNo>
      <FevVideoId>1</FevVideoId>
      <FileLength>1</FileLength>
      <IsFavVideo>true</IsFavVideo>
      <MFChapterID>5</MFChapterID>
      <MFID>1</MFID>
      <MFPath>sample string 10</MFPath>
      <MFSubTopicID>4</MFSubTopicID>
      <MFTopicID>3</MFTopicID>
      <MFVimeoPath>sample string 11</MFVimeoPath>
      <SSMID>2</SSMID>
      <Sequence>1</Sequence>
      <SubTopicName>sample string 9</SubTopicName>
      <SubTopicNo>1</SubTopicNo>
      <TopicName>sample string 8</TopicName>
      <TopicNo>sample string 7</TopicNo>
      <YouTubeLink>sample string 12</YouTubeLink>
    </clsNextVideo>
  </videos>
</clsNextVideoResponse>