POST api/GoodsStandard/SaveGoodsStandard

保存商品标准化信息

Request Information

URI Parameters

None.

Body Parameters

请求数据

SaveGoodsStandardRequest
NameDescriptionTypeAdditional information
goods_id

商品Id

integer

None.

strJson

字符串:type_id:标准分类Id type_item_id:标准分类项目id standard_info:标准内容 standard_img:标准图片 [{\"type_id\":\"10114\",\"type_item_id\":\"1\",\"standard_info\":\"111111\",\"standard_img\":\"111111\"}]

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "goods_id": 1,
  "strJson": "sample string 2",
  "user_id": "sample string 3",
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<SaveGoodsStandardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 4</token>
  <user_id>sample string 3</user_id>
  <goods_id>1</goods_id>
  <strJson>sample string 2</strJson>
</SaveGoodsStandardRequest>

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

Response Information

Resource Description

保存商品标准化信息

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.