POST api/ForumInsertDelete
Request Information
URI Parameters
None.
Body Parameters
ForumModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ForumId | integer |
None. |
|
| ArticleId | integer |
None. |
|
| ArticleUserId | integer |
None. |
|
| GroupUserId | integer |
None. |
|
| IsAccepted | integer |
None. |
|
| Operation | string |
None. |
|
| Name | string |
None. |
|
| IsChecked | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ForumId": 1,
"ArticleId": 2,
"ArticleUserId": 3,
"GroupUserId": 4,
"IsAccepted": 5,
"Operation": "sample string 6",
"Name": "sample string 7",
"IsChecked": true
}
application/xml, text/xml
Sample:
<ForumModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <ArticleId>2</ArticleId> <ArticleUserId>3</ArticleUserId> <ForumId>1</ForumId> <GroupUserId>4</GroupUserId> <IsAccepted>5</IsAccepted> <IsChecked>true</IsChecked> <Name>sample string 7</Name> <Operation>sample string 6</Operation> </ForumModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Result | string |
None. |
|
| newResult | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Result": "sample string 2",
"newResult": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <Id>1</Id> <Result>sample string 2</Result> <newResult>sample string 3</newResult> </ResultModel>