POST api/UserInfoV770/SubmitTipster

报料

Request Information

URI Parameters

None.

Body Parameters

ZaiMieApp.WebApi.ViewModel.SubmitTipster
NameDescriptionTypeAdditional information
content

报料内容

string

None.

media

媒体文件[{"type":1,"url":"1.jpg"}]

string

None.

truename

真实姓名

string

None.

phone

手机号

string

None.

tipsterType

报料类型,记者帮或小店帮的上传对应的类型

integer

None.

dataType

数据类型(1-记者帮 2-小店帮 3-问政)

integer

None.

incidentCity

事发地-城市

string

None.

incidentCounty

事发地-区县

string

None.

sign

string

None.

stamp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "content": "sample string 1",
  "media": "sample string 2",
  "truename": "sample string 3",
  "phone": "sample string 4",
  "tipsterType": 5,
  "dataType": 6,
  "incidentCity": "sample string 7",
  "incidentCounty": "sample string 8",
  "sign": "sample string 9",
  "stamp": "sample string 10"
}

application/xml, text/xml

Sample:
<SubmitTipster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
  <sign>sample string 9</sign>
  <stamp>sample string 10</stamp>
  <content>sample string 1</content>
  <dataType>6</dataType>
  <incidentCity>sample string 7</incidentCity>
  <incidentCounty>sample string 8</incidentCounty>
  <media>sample string 2</media>
  <phone>sample string 4</phone>
  <tipsterType>5</tipsterType>
  <truename>sample string 3</truename>
</SubmitTipster>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>