POST api/ng/workshop/postuserwebinarcomment

Request Information

URI Parameters

None.

Body Parameters

PostProgramVideoComment
NameDescriptionTypeAdditional information
ProgramVideoID

integer

None.

ProgramVideoCommentID

integer

None.

ParentCommentID

integer

None.

Comment

string

None.

AuthorUserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProgramVideoID": 1,
  "ProgramVideoCommentID": 2,
  "ParentCommentID": 3,
  "Comment": "sample string 4",
  "AuthorUserID": "sample string 5"
}

application/xml, text/xml

Sample:
<PostProgramVideoComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <AuthorUserID>sample string 5</AuthorUserID>
  <Comment>sample string 4</Comment>
  <ParentCommentID>3</ParentCommentID>
  <ProgramVideoCommentID>2</ProgramVideoCommentID>
  <ProgramVideoID>1</ProgramVideoID>
</PostProgramVideoComment>

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 'PostProgramVideoComment'.

Response Information

Resource Description

PostProgramVideoCommentResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ProgramVideoCommentID

integer

None.

DateSubmitted

date

None.

ErrorType

UserPostError

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ProgramVideoCommentID": 2,
  "DateSubmitted": "2021-04-19T20:42:08.7616937-04:00",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<PostProgramVideoCommentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <DateSubmitted>2021-04-19T20:42:08.7616937-04:00</DateSubmitted>
  <ErrorType>NoError</ErrorType>
  <IsSuccess>true</IsSuccess>
  <ProgramVideoCommentID>2</ProgramVideoCommentID>
</PostProgramVideoCommentResult>