POST api/Goods/GetGoodsList

获取商品信息

Request Information

URI Parameters

None.

Body Parameters

请求数据

GoodsRequest
NameDescriptionTypeAdditional information
brand_id

品牌Id

integer

None.

category_idList

分类Id

string

None.

goods_names

商品名称

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "brand_id": 1,
  "category_idList": "sample string 1",
  "goods_names": "sample string 2",
  "user_id": "sample string 3",
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<GoodsRequest 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>
  <brand_id>1</brand_id>
  <category_idList>sample string 1</category_idList>
  <goods_names>sample string 2</goods_names>
</GoodsRequest>

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

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.