POST api/Dynamic/SaveDynamic?CookCode={CookCode}&CustId={CustId}&Content={Content}&TagID={TagID}&PubType={PubType}&Point={Point}&BuildingID={BuildingID}&BuildingCityID={BuildingCityID}&HasReward={HasReward}

【可用】登录用户--发表普通帖子,该接口的图片上传通过post提交,图片大小小于1M,允许的图片类型:.gif,.jpg,.jpeg,.png,.bmp, 入住用户:BuildingID和BuildingCityID都为个人资料中的数据。未入住用户:BuildingID和BuildingCityID为社区选中的数据

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

登录token

string

Required

CustId

用户ID

integer

Required

Content

发表的内容,不大于2000字,URL编码传输

string

Required

TagID

标签ID

string

Required

PubType

发布类型:1表示图文混合,2表示纯文字

integer

Required

Point

经纬度,如:121.50777,31.297852

string

Required

BuildingID

公寓ID

string

Required

BuildingCityID

公寓城市ID

string

Required

HasReward

是否有打赏:0表示没有,1表示有

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

RequestResult
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {}
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data />
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResult>