POST Api/F/YH/SaleGoodsEdit?FactoryID={FactoryID}
批发商品编辑
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FactoryID |
供应商系统编号 |
globally unique identifier |
Required |
Body Parameters
批发商品信息
SaleGoodsEditModelName | Description | Type | Additional information |
---|---|---|---|
ID |
批发商品编号 |
globally unique identifier |
None. |
Name |
批发商品 |
string |
None. |
SaleType |
销售类型 |
integer |
None. |
MinCount |
最小起订数量 |
integer |
None. |
BuyCount |
购买数量 |
integer |
None. |
State |
状态 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "440f31d2-26d8-4a99-a105-51bb28a7acb9", "Name": "sample string 2", "SaleType": 3, "MinCount": 4, "BuyCount": 5, "State": true }
application/xml, text/xml
Sample:
<SaleGoodsEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.F.YH"> <BuyCount>5</BuyCount> <ID>440f31d2-26d8-4a99-a105-51bb28a7acb9</ID> <MinCount>4</MinCount> <Name>sample string 2</Name> <SaleType>3</SaleType> <State>true</State> </SaleGoodsEditModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.