POST api/BBS/ReplyPost

回复帖子

Request Information

URI Parameters

None.

Body Parameters

ReplyRequest
NameDescriptionTypeAdditional information
post_id

帖子Id

integer

None.

reply_id

帖子回复记录Id

integer

None.

parent_id

父类Id

integer

None.

content_type

回复类型

integer

None.

reply_content

回复内容

string

None.

is_visible

价格回复时设置是否仅部门经理可见:0-不是 1-是

integer

None.

pm_wholesale_price

产品经理批发价

decimal number

None.

dep_wholesale_price

部门经理批发价

decimal number

None.

is_show_full_order

是否显示整箱订货:0-否 1-是

integer

None.

is_full_order

是否起订量倍数订货:0-否 1-是

integer

None.

min_purchase_quantity

起订量倍数

integer

None.

min_purchase_quantity_remark

起订量倍数备注

string

None.

is_sync_goods

是否同步到商品信息(1是)

integer

None.

is_area_visible

价格回复时设置是否仅==大区经理可见:0-不是 1-是

integer

None.

area_pm_wholesale_price

产品经理==进价

decimal number

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "post_id": 1,
  "reply_id": 1,
  "parent_id": 1,
  "content_type": 1,
  "reply_content": "sample string 2",
  "is_visible": 3,
  "pm_wholesale_price": 1.0,
  "dep_wholesale_price": 1.0,
  "is_show_full_order": 1,
  "is_full_order": 1,
  "min_purchase_quantity": 1,
  "min_purchase_quantity_remark": "sample string 4",
  "is_sync_goods": 1,
  "is_area_visible": 5,
  "area_pm_wholesale_price": 1.0,
  "user_id": "sample string 6",
  "token": "sample string 7"
}

application/xml, text/xml

Sample:
<ReplyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 7</token>
  <user_id>sample string 6</user_id>
  <area_pm_wholesale_price>1</area_pm_wholesale_price>
  <content_type>1</content_type>
  <dep_wholesale_price>1</dep_wholesale_price>
  <is_area_visible>5</is_area_visible>
  <is_full_order>1</is_full_order>
  <is_show_full_order>1</is_show_full_order>
  <is_sync_goods>1</is_sync_goods>
  <is_visible>3</is_visible>
  <min_purchase_quantity>1</min_purchase_quantity>
  <min_purchase_quantity_remark>sample string 4</min_purchase_quantity_remark>
  <parent_id>1</parent_id>
  <pm_wholesale_price>1</pm_wholesale_price>
  <post_id>1</post_id>
  <reply_content>sample string 2</reply_content>
  <reply_id>1</reply_id>
</ReplyRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReplyRequest'.

Response Information

Resource Description

回复帖子

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.