POST api/StudyHub2/SaveVideoTickets

Request Information

URI Parameters

None.

Body Parameters

VideoTicket
NameDescriptionTypeAdditional information
StudentEnrollmentId

integer

None.

VideoId

string

None.

VideoPlayerShortCode

string

None.

Comments

string

None.

VideoStoppedDuration

integer

None.

FileName

string

None.

VideoTicketId

integer

None.

VideoAttachmentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentEnrollmentId": 1,
  "VideoId": "sample string 2",
  "VideoPlayerShortCode": "sample string 3",
  "Comments": "sample string 4",
  "VideoStoppedDuration": 5,
  "FileName": "sample string 6",
  "VideoTicketId": 7,
  "VideoAttachmentId": 8
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VideoTicket'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Info

ReturnResult

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Info": {
    "Status": true,
    "Message": "sample string 2",
    "AdditionalData": {},
    "ObjAppResponseMessage": {
      "Status": true,
      "Message": "sample string 2",
      "AdditionalData": "sample string 3"
    }
  },
  "Data": {}
}