POST api/UserInfoV720/PostFeedBack

提交反馈

Request Information

URI Parameters

None.

Body Parameters

ZaiMieApp.WebApi.ViewModel.FeedBack
NameDescriptionTypeAdditional information
userinfoId

integer

None.

reasonType

举报原因类型

string

None.

content

string

None.

newspapergroupId

integer

None.

dataType

数据类型 0 反馈 1 举报

integer

None.

articleId

integer

None.

articleType

integer

None.

sign

string

None.

stamp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userinfoId": 1,
  "reasonType": "sample string 2",
  "content": "sample string 3",
  "newspapergroupId": 4,
  "dataType": 5,
  "articleId": 6,
  "articleType": 7,
  "sign": "sample string 8",
  "stamp": "sample string 9"
}

application/xml, text/xml

Sample:
<FeedBack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
  <sign>sample string 8</sign>
  <stamp>sample string 9</stamp>
  <articleId>6</articleId>
  <articleType>7</articleType>
  <content>sample string 3</content>
  <dataType>5</dataType>
  <newspapergroupId>4</newspapergroupId>
  <reasonType>sample string 2</reasonType>
  <userinfoId>1</userinfoId>
</FeedBack>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'ZaiMieApp.WebApi.ViewModel.FeedBack'.

Response Information

Resource Description

ZaiMieApp.WebApi.ViewModel.ResultMsg
NameDescriptionTypeAdditional information
success

boolean

None.

code

integer

None.

addcoin

赠送的金币

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "code": 2,
  "addcoin": 3,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
  <addcoin>3</addcoin>
  <code>2</code>
  <message>sample string 4</message>
  <success>true</success>
</ResultMsg>