POST api/Product/GetProductClass
获取产品分类
Request Information
URI Parameters
None.
Body Parameters
ProductRelatedParameterName | Description | Type | Additional information |
---|---|---|---|
parentId |
分类父级Id |
integer |
None. |
proId |
产品Id |
integer |
None. |
shopId |
店铺Id,获取某店铺下的分类 |
string |
None. |
userId |
登录的会员Id |
string |
None. |
token |
登录验证token |
string |
None. |
page |
当前页数 |
integer |
None. |
pageSize |
每页数量 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "parentId": 1, "proId": 2, "shopId": "sample string 3", "userId": "sample string 4", "token": "sample string 5", "page": 6, "pageSize": 7 }
application/xml, text/xml
Sample:
<ProductRelatedParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.ProductModels"> <page>6</page> <pageSize>7</pageSize> <parentId>1</parentId> <proId>2</proId> <shopId>sample string 3</shopId> <token>sample string 5</token> <userId>sample string 4</userId> </ProductRelatedParameter>
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. |