POST api/Video/AddFavouriteVideo

Request Information

URI Parameters

None.

Body Parameters

clsFavVideoRequest
NameDescriptionTypeAdditional information
FavVideoId

integer

None.

MFID

integer

None.

DateTime

date

None.

UserId

integer

None.

IPAddress

string

None.

MediumId

integer

None.

SSMId

integer

None.

BMSId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FavVideoId": 1,
  "MFID": 2,
  "DateTime": "2025-12-13T10:14:28.1762442+05:30",
  "UserId": 3,
  "IPAddress": "sample string 4",
  "MediumId": 5,
  "SSMId": 6,
  "BMSId": 7
}

application/xml, text/xml

Sample:
<clsFavVideoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <BMSId>7</BMSId>
  <DateTime>2025-12-13T10:14:28.1762442+05:30</DateTime>
  <FavVideoId>1</FavVideoId>
  <IPAddress>sample string 4</IPAddress>
  <MFID>2</MFID>
  <MediumId>5</MediumId>
  <SSMId>6</SSMId>
  <UserId>3</UserId>
</clsFavVideoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

clsFavVideoResponse
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseMessage

string

None.

FevVideoId

integer

None.

videos

Collection of clsNextVideo

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "FevVideoId": 3,
  "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:
<clsFavVideoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <FevVideoId>3</FevVideoId>
  <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>
</clsFavVideoResponse>