GET api/Goods/GetGoodsList?Page={Page}&Rows={Rows}&CategoryId={CategoryId}&StoreID={StoreID}&Key={Key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Page | integer |
Required |
|
| Rows | integer |
Required |
|
| CategoryId | integer |
None. |
|
| StoreID | globally unique identifier |
None. |
|
| Key | string |
None. |
Body Parameters
None.
Response Information
Resource Description
APIResponseOfListOfGoodsInfoResponseEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| DataTotal | integer |
None. |
|
| Status | integer |
None. |
|
| Msg | string |
None. |
|
| ResultEntity | Collection of GoodsInfoResponseEntity |
None. |
Response Formats
application/json, text/json
Sample:
{
"DataTotal": 1,
"Status": 2,
"Msg": "sample string 3",
"ResultEntity": [
{
"ID": "50d63f53-e629-4c32-956f-c40aeabea8b7",
"Store_ID": "4d709a74-10c9-4730-ad07-6f7f0ed453e8",
"Store_Name": "sample string 3",
"GoodsName": "sample string 4",
"Picture": "sample string 5",
"Price": 6.0
},
{
"ID": "50d63f53-e629-4c32-956f-c40aeabea8b7",
"Store_ID": "4d709a74-10c9-4730-ad07-6f7f0ed453e8",
"Store_Name": "sample string 3",
"GoodsName": "sample string 4",
"Picture": "sample string 5",
"Price": 6.0
}
]
}
application/xml, text/xml
Sample:
<APIResponseOfArrayOfGoodsInfoResponseEntityR1EFgrj6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Utility.Model">
<DataTotal>1</DataTotal>
<Msg>sample string 3</Msg>
<ResultEntity xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModel.GoodsMapping">
<d2p1:GoodsInfoResponseEntity>
<d2p1:GoodsName>sample string 4</d2p1:GoodsName>
<d2p1:ID>50d63f53-e629-4c32-956f-c40aeabea8b7</d2p1:ID>
<d2p1:Picture>sample string 5</d2p1:Picture>
<d2p1:Price>6</d2p1:Price>
<d2p1:Store_ID>4d709a74-10c9-4730-ad07-6f7f0ed453e8</d2p1:Store_ID>
<d2p1:Store_Name>sample string 3</d2p1:Store_Name>
</d2p1:GoodsInfoResponseEntity>
<d2p1:GoodsInfoResponseEntity>
<d2p1:GoodsName>sample string 4</d2p1:GoodsName>
<d2p1:ID>50d63f53-e629-4c32-956f-c40aeabea8b7</d2p1:ID>
<d2p1:Picture>sample string 5</d2p1:Picture>
<d2p1:Price>6</d2p1:Price>
<d2p1:Store_ID>4d709a74-10c9-4730-ad07-6f7f0ed453e8</d2p1:Store_ID>
<d2p1:Store_Name>sample string 3</d2p1:Store_Name>
</d2p1:GoodsInfoResponseEntity>
</ResultEntity>
<Status>2</Status>
</APIResponseOfArrayOfGoodsInfoResponseEntityR1EFgrj6>