POST api/StudentDiscussion/UpdatePostStatus

update the post status like abusive

Request Information

URI Parameters

None.

Body Parameters

PostStatus
NameDescriptionTypeAdditional information
PostId

integer

None.

StudentId

integer

None.

InstructorId

integer

None.

Abusive

integer

None.

Agree

integer

None.

DisAgree

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PostId": 1,
  "StudentId": 2,
  "InstructorId": 3,
  "Abusive": 4,
  "Agree": 5,
  "DisAgree": 6
}

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>