POST api/BBS/ReplyPostItems

Request Information

URI Parameters

None.

Body Parameters

ReplyRequestItmes
NameDescriptionTypeAdditional information
post_id

integer

None.

reply_id

integer

None.

content_type

integer

None.

dataList

Collection of ReplyRequestItemsGoods

None.

Request Formats

application/json, text/json

Sample:
{
  "post_id": 1,
  "reply_id": 1,
  "content_type": 1,
  "dataList": [
    {
      "goods_id": 1,
      "goods_name": "sample string 1",
      "customer_id": 1,
      "customer_name": "sample string 2",
      "IsQcc": 1,
      "c_name": "sample string 3",
      "c_tel": "sample string 4",
      "price": 1.0,
      "remark": "sample string 5",
      "IsRecommend": 1
    },
    {
      "goods_id": 1,
      "goods_name": "sample string 1",
      "customer_id": 1,
      "customer_name": "sample string 2",
      "IsQcc": 1,
      "c_name": "sample string 3",
      "c_tel": "sample string 4",
      "price": 1.0,
      "remark": "sample string 5",
      "IsRecommend": 1
    }
  ]
}

application/xml, text/xml

Sample:
<ReplyRequestItmes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <content_type>1</content_type>
  <dataList>
    <ReplyRequestItemsGoods>
      <IsQcc>1</IsQcc>
      <IsRecommend>1</IsRecommend>
      <c_name>sample string 3</c_name>
      <c_tel>sample string 4</c_tel>
      <customer_id>1</customer_id>
      <customer_name>sample string 2</customer_name>
      <goods_id>1</goods_id>
      <goods_name>sample string 1</goods_name>
      <price>1</price>
      <remark>sample string 5</remark>
    </ReplyRequestItemsGoods>
    <ReplyRequestItemsGoods>
      <IsQcc>1</IsQcc>
      <IsRecommend>1</IsRecommend>
      <c_name>sample string 3</c_name>
      <c_tel>sample string 4</c_tel>
      <customer_id>1</customer_id>
      <customer_name>sample string 2</customer_name>
      <goods_id>1</goods_id>
      <goods_name>sample string 1</goods_name>
      <price>1</price>
      <remark>sample string 5</remark>
    </ReplyRequestItemsGoods>
  </dataList>
  <post_id>1</post_id>
  <reply_id>1</reply_id>
</ReplyRequestItmes>

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 'ReplyRequestItmes'.

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.