POST api/EShop/GetProductListNew?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
分类列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
GetProductListNewVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductName |
名称 |
string |
None. |
| PageIndex |
索引 |
integer |
None. |
| PageSize |
范围 |
integer |
None. |
| ProductBelongKey |
产品分类 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductName": "sample string 1",
"PageIndex": 2,
"PageSize": 3,
"ProductBelongKey": "sample string 4"
}
application/xml, text/xml
Sample:
<GetProductListNewVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.EShop.ViewModel"> <PageIndex>2</PageIndex> <PageSize>3</PageSize> <ProductBelongKey>sample string 4</ProductBelongKey> <ProductName>sample string 1</ProductName> </GetProductListNewVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data /> <Message>sample string 1</Message> </ResultModelOfanyType>