POST Api/F/YH/SaleGoodsEdit?FactoryID={FactoryID}

批发商品编辑

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FactoryID

供应商系统编号

globally unique identifier

Required

Body Parameters

批发商品信息

SaleGoodsEditModel
NameDescriptionTypeAdditional 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": "d5b9e8ab-c2bf-4d1f-89ee-095fa6179bc4",
  "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>d5b9e8ab-c2bf-4d1f-89ee-095fa6179bc4</ID>
  <MinCount>4</MinCount>
  <Name>sample string 2</Name>
  <SaleType>3</SaleType>
  <State>true</State>
</SaleGoodsEditModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.