POST api/BBS/BatchReleaseManualPost

Request Information

URI Parameters

None.

Body Parameters

BatchReleasePostRequest
NameDescriptionTypeAdditional information
post_title

string

None.

customer_id

integer

None.

post_company

string

None.

post_type

integer

None.

post_province_id

integer

None.

post_city_id

integer

None.

is_urgent

integer

None.

relation_post_id

integer

None.

create_type

integer

None.

strJson

string

None.

delivery_period

string

None.

post_price

string

None.

num

string

None.

expected_price

string

None.

competitor

string

None.

is_tax

integer

None.

shipping_fee

decimal number

None.

com_img_path

string

None.

technology

string

None.

model_select

string

None.

other

string

None.

goods_idList

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "post_title": "sample string 1",
  "customer_id": 1,
  "post_company": "sample string 2",
  "post_type": 3,
  "post_province_id": 4,
  "post_city_id": 5,
  "is_urgent": 6,
  "relation_post_id": 1,
  "create_type": 1,
  "strJson": "sample string 7",
  "delivery_period": "sample string 8",
  "post_price": "sample string 9",
  "num": "sample string 10",
  "expected_price": "sample string 11",
  "competitor": "sample string 12",
  "is_tax": 1,
  "shipping_fee": 1.0,
  "com_img_path": "sample string 13",
  "technology": "sample string 14",
  "model_select": "sample string 15",
  "other": "sample string 16",
  "goods_idList": "sample string 17",
  "user_id": "sample string 18",
  "token": "sample string 19"
}

application/xml, text/xml

Sample:
<BatchReleasePostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 19</token>
  <user_id>sample string 18</user_id>
  <com_img_path>sample string 13</com_img_path>
  <competitor>sample string 12</competitor>
  <create_type>1</create_type>
  <customer_id>1</customer_id>
  <delivery_period>sample string 8</delivery_period>
  <expected_price>sample string 11</expected_price>
  <goods_idList>sample string 17</goods_idList>
  <is_tax>1</is_tax>
  <is_urgent>6</is_urgent>
  <model_select>sample string 15</model_select>
  <num>sample string 10</num>
  <other>sample string 16</other>
  <post_city_id>5</post_city_id>
  <post_company>sample string 2</post_company>
  <post_price>sample string 9</post_price>
  <post_province_id>4</post_province_id>
  <post_title>sample string 1</post_title>
  <post_type>3</post_type>
  <relation_post_id>1</relation_post_id>
  <shipping_fee>1</shipping_fee>
  <strJson>sample string 7</strJson>
  <technology>sample string 14</technology>
</BatchReleasePostRequest>

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

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.