GET api/{area}/Product?shopId={shopId}&pid={pid}
获取产品分类
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopId | string |
Required |
|
| pid | string |
Required |
|
| area | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomProductTypebyidList| Name | Description | Type | Additional information |
|---|---|---|---|
| cid | string |
None. |
|
| name | string |
None. |
|
| on | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"cid": "sample string 1",
"name": "sample string 2",
"on": true
},
{
"cid": "sample string 1",
"name": "sample string 2",
"on": true
}
]
application/xml, text/xml
Sample:
<ArrayOfProductController.CustomProductTypebyidList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
<ProductController.CustomProductTypebyidList>
<cid>sample string 1</cid>
<name>sample string 2</name>
<on>true</on>
</ProductController.CustomProductTypebyidList>
<ProductController.CustomProductTypebyidList>
<cid>sample string 1</cid>
<name>sample string 2</name>
<on>true</on>
</ProductController.CustomProductTypebyidList>
</ArrayOfProductController.CustomProductTypebyidList>