POST api/BBS/ReleasePost
发布帖子==发起帖子
Request Information
URI Parameters
None.
Body Parameters
ReleasePostRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| relation_post_id |
外部帖子id |
integer |
None. |
| create_type |
创建类型(0人工发起帖子 1系统自动发起帖子==客户帖子无货期自动发起) |
integer |
None. |
| strJson |
有拿货规律===人工介入帖子专用 |
string |
None. |
| post_title |
标题 |
string |
None. |
| customer_id |
公司Id |
integer |
None. |
| post_company |
公司名称 |
string |
None. |
| post_type |
类型:1-询价 2-直接下单 3-招标 |
integer |
None. |
| post_province_id |
省Id |
integer |
None. |
| post_city_id |
市Id |
integer |
None. |
| brand_id |
品牌Id |
integer |
None. |
| category_idList |
分类Id,多个逗号分隔 |
string |
None. |
| goods_idList |
商品Id,多个逗号分隔 |
string |
None. |
| goods_name |
商品名称,多个逗号分隔 |
string |
None. |
| is_urgent |
加急贴:0-不加急 1-加急 |
integer |
None. |
| delivery_period |
货期 |
string |
None. |
| post_price |
价格 |
string |
None. |
| num |
价格对应的数量 |
string |
None. |
| expected_price |
期望价格 |
string |
None. |
| competitor |
竞争对手 |
string |
None. |
| is_tax |
是否含税:0-不含税 1-含税 |
integer |
None. |
| shipping_fee |
运费 |
decimal number |
None. |
| com_img_path |
竞争对手图片,多张逗号分隔 |
string |
None. |
| technology |
技术 |
string |
None. |
| model_select |
选型 |
string |
None. |
| other |
其他 |
string |
None. |
| user_id |
当前登录者Id |
string |
None. |
| token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"relation_post_id": 1,
"create_type": 1,
"strJson": "sample string 1",
"post_title": "sample string 2",
"customer_id": 1,
"post_company": "sample string 3",
"post_type": 4,
"post_province_id": 5,
"post_city_id": 6,
"brand_id": 7,
"category_idList": "sample string 8",
"goods_idList": "sample string 9",
"goods_name": "sample string 10",
"is_urgent": 11,
"delivery_period": "sample string 12",
"post_price": "sample string 13",
"num": "sample string 14",
"expected_price": "sample string 15",
"competitor": "sample string 16",
"is_tax": 1,
"shipping_fee": 1.0,
"com_img_path": "sample string 17",
"technology": "sample string 18",
"model_select": "sample string 19",
"other": "sample string 20",
"user_id": "sample string 21",
"token": "sample string 22"
}
application/xml, text/xml
Sample:
<ReleasePostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 22</token> <user_id>sample string 21</user_id> <brand_id>7</brand_id> <category_idList>sample string 8</category_idList> <com_img_path>sample string 17</com_img_path> <competitor>sample string 16</competitor> <create_type>1</create_type> <customer_id>1</customer_id> <delivery_period>sample string 12</delivery_period> <expected_price>sample string 15</expected_price> <goods_idList>sample string 9</goods_idList> <goods_name>sample string 10</goods_name> <is_tax>1</is_tax> <is_urgent>11</is_urgent> <model_select>sample string 19</model_select> <num>sample string 14</num> <other>sample string 20</other> <post_city_id>6</post_city_id> <post_company>sample string 3</post_company> <post_price>sample string 13</post_price> <post_province_id>5</post_province_id> <post_title>sample string 2</post_title> <post_type>4</post_type> <relation_post_id>1</relation_post_id> <shipping_fee>1</shipping_fee> <strJson>sample string 1</strJson> <technology>sample string 18</technology> </ReleasePostRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
发布帖子==发起帖子
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |