GET api/ProductAdmin/HotList?status={status}&pageIndex={pageIndex}&pageSize={pageSize}
“HotList”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| status | “status”的文档。 |
Define this parameter in the request URI. |
| pageIndex | “pageIndex”的文档。 |
Define this parameter in the request URI. |
| pageSize | “pageSize”的文档。 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Items": [
{
"Id": 1,
"Name": "sample string 2",
"Type": 3,
"ProductId": 4,
"PName": "sample string 5",
"Picture": "sample string 6",
"OrderBy": 7
},
{
"Id": 1,
"Name": "sample string 2",
"Type": 3,
"ProductId": 4,
"PName": "sample string 5",
"Picture": "sample string 6",
"OrderBy": 7
},
{
"Id": 1,
"Name": "sample string 2",
"Type": 3,
"ProductId": 4,
"PName": "sample string 5",
"Picture": "sample string 6",
"OrderBy": 7
}
],
"PageIndex": 1,
"PageCount": 2,
"Total": 3
}
application/xml, text/xml
Sample:
<HotProductListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TyretoolMail.Models.Admin">
<Items>
<HotProductModel>
<Id>1</Id>
<Name>sample string 2</Name>
<OrderBy>7</OrderBy>
<PName>sample string 5</PName>
<Picture>sample string 6</Picture>
<ProductId>4</ProductId>
<Type>3</Type>
</HotProductModel>
<HotProductModel>
<Id>1</Id>
<Name>sample string 2</Name>
<OrderBy>7</OrderBy>
<PName>sample string 5</PName>
<Picture>sample string 6</Picture>
<ProductId>4</ProductId>
<Type>3</Type>
</HotProductModel>
<HotProductModel>
<Id>1</Id>
<Name>sample string 2</Name>
<OrderBy>7</OrderBy>
<PName>sample string 5</PName>
<Picture>sample string 6</Picture>
<ProductId>4</ProductId>
<Type>3</Type>
</HotProductModel>
</Items>
<PageCount>2</PageCount>
<PageIndex>1</PageIndex>
<Total>3</Total>
</HotProductListModel>