POST api/Example/ExampleList
示例产品列表
Request Information
URI Parameters
None.
Body Parameters
ExampleParameterName | Description | Type | Additional information |
---|---|---|---|
cid |
示例产品分类 |
string |
None. |
shopId |
获取某个店铺的示例产品列表 |
string |
None. |
page |
当前页数 |
integer |
None. |
pageSize |
每页读取数量 |
integer |
None. |
searchkey |
搜索文本 |
string |
None. |
sortname |
排序规则 j-价格排序,s-最新排序,m-默认排序 |
string |
None. |
sortorder |
排序顺序 0-倒序,1-顺序 |
integer |
None. |
hot |
热门示例产品 0-否 1-是 |
integer |
None. |
recommend |
推荐示例产品 0-否 1-是 |
integer |
None. |
newexample |
新品 0-否 1-是 |
integer |
None. |
explosive |
是否为爆款 0-否 1-是 |
integer |
None. |
minPrice |
筛选最小单价 |
decimal number |
None. |
maxPrice |
筛选最大单价 |
decimal number |
None. |
attributeName |
筛选属性集合字符串 |
string |
None. |
attributeValue |
筛选属性值集合字符串 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "cid": "sample string 1", "shopId": "sample string 2", "page": 3, "pageSize": 4, "searchkey": "sample string 5", "sortname": "sample string 6", "sortorder": 7, "hot": 8, "recommend": 9, "newexample": 10, "explosive": 11, "minPrice": 12.0, "maxPrice": 13.0, "attributeName": "sample string 14", "attributeValue": "sample string 15" }
application/xml, text/xml
Sample:
<ExampleParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.ExampleModels"> <attributeName>sample string 14</attributeName> <attributeValue>sample string 15</attributeValue> <cid>sample string 1</cid> <explosive>11</explosive> <hot>8</hot> <maxPrice>13</maxPrice> <minPrice>12</minPrice> <newexample>10</newexample> <page>3</page> <pageSize>4</pageSize> <recommend>9</recommend> <searchkey>sample string 5</searchkey> <shopId>sample string 2</shopId> <sortname>sample string 6</sortname> <sortorder>7</sortorder> </ExampleParameter>
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. |