POST api/bbs/CreateChangeGoodsApply
发起申请
Request Information
URI Parameters
None.
Body Parameters
CreateChangeGoodsApplyInputName | Description | Type | Additional information |
---|---|---|---|
goods_id |
帖子发起中选择的商品id |
integer |
None. |
goods_name |
商品名称 |
string |
None. |
goods_num |
换货数量 |
integer |
None. |
wms_storage |
仓库 |
string |
None. |
change_type |
换货类型:1销售换货 2采购换货 |
integer |
None. |
order_sn |
订单号 |
string |
None. |
customer_name |
客户 |
string |
None. |
remark |
备注 |
string |
None. |
stock_num |
库存数量 |
integer |
None. |
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "goods_id": 1, "goods_name": "sample string 1", "goods_num": 1, "wms_storage": "sample string 2", "change_type": 1, "order_sn": "sample string 3", "customer_name": "sample string 4", "remark": "sample string 5", "stock_num": 1, "user_id": "sample string 6", "token": "sample string 7" }
application/xml, text/xml
Sample:
<CreateChangeGoodsApplyInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model.Dtos.Post"> <token xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">sample string 7</token> <user_id xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">sample string 6</user_id> <change_type>1</change_type> <customer_name>sample string 4</customer_name> <goods_id>1</goods_id> <goods_name>sample string 1</goods_name> <goods_num>1</goods_num> <order_sn>sample string 3</order_sn> <remark>sample string 5</remark> <stock_num>1</stock_num> <wms_storage>sample string 2</wms_storage> </CreateChangeGoodsApplyInput>
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. |