POST api/BBS/ReleaseItemsPost
Request Information
URI Parameters
None.
Body Parameters
ReleaseItemsPostRequestName | Description | Type | Additional information |
---|---|---|---|
type | integer |
None. |
|
post_title | string |
None. |
|
post_type | integer |
None. |
|
customer_id | integer |
None. |
|
post_company | string |
None. |
|
post_province_id | integer |
None. |
|
post_city_id | integer |
None. |
|
remark | string |
None. |
|
Item_dpte_id | integer |
None. |
|
Item_dept_Name | string |
None. |
|
datalist | Collection of ReleaseItemsPostDetailRequest |
None. |
|
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "type": 1, "post_title": "sample string 1", "post_type": 2, "customer_id": 1, "post_company": "sample string 3", "post_province_id": 4, "post_city_id": 5, "remark": "sample string 6", "Item_dpte_id": 1, "Item_dept_Name": "sample string 7", "datalist": [ { "brand_id": 1, "brand_name": "sample string 1", "category_id": 1, "goods_id": 1, "goods_name": "sample string 2", "IsDelisted": true, "num": 1, "price": 1.0, "is_tax": 1, "estimat_time": "sample string 4", "lead_emp_id": 1, "lead_emp_code": "sample string 5", "lead_emp_name": "sample string 6" }, { "brand_id": 1, "brand_name": "sample string 1", "category_id": 1, "goods_id": 1, "goods_name": "sample string 2", "IsDelisted": true, "num": 1, "price": 1.0, "is_tax": 1, "estimat_time": "sample string 4", "lead_emp_id": 1, "lead_emp_code": "sample string 5", "lead_emp_name": "sample string 6" } ], "user_id": "sample string 8", "token": "sample string 9" }
application/xml, text/xml
Sample:
<ReleaseItemsPostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 9</token> <user_id>sample string 8</user_id> <Item_dept_Name>sample string 7</Item_dept_Name> <Item_dpte_id>1</Item_dpte_id> <customer_id>1</customer_id> <datalist> <ReleaseItemsPostDetailRequest> <IsDelisted>true</IsDelisted> <brand_id>1</brand_id> <brand_name>sample string 1</brand_name> <category_id>1</category_id> <estimat_time>sample string 4</estimat_time> <goods_id>1</goods_id> <goods_name>sample string 2</goods_name> <is_tax>1</is_tax> <lead_emp_code>sample string 5</lead_emp_code> <lead_emp_id>1</lead_emp_id> <lead_emp_name>sample string 6</lead_emp_name> <num>1</num> <price>1</price> </ReleaseItemsPostDetailRequest> <ReleaseItemsPostDetailRequest> <IsDelisted>true</IsDelisted> <brand_id>1</brand_id> <brand_name>sample string 1</brand_name> <category_id>1</category_id> <estimat_time>sample string 4</estimat_time> <goods_id>1</goods_id> <goods_name>sample string 2</goods_name> <is_tax>1</is_tax> <lead_emp_code>sample string 5</lead_emp_code> <lead_emp_id>1</lead_emp_id> <lead_emp_name>sample string 6</lead_emp_name> <num>1</num> <price>1</price> </ReleaseItemsPostDetailRequest> </datalist> <post_city_id>5</post_city_id> <post_company>sample string 3</post_company> <post_province_id>4</post_province_id> <post_title>sample string 1</post_title> <post_type>2</post_type> <remark>sample string 6</remark> <type>1</type> </ReleaseItemsPostRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |