POST api/StudentDiscussion/UpdatePostStatus
update the post status like abusive
Request Information
URI Parameters
None.
Body Parameters
PostStatus| Name | Description | Type | Additional 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:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string"
text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>