POST api/Product/ListAll
Request Information
URI Parameters
None.
Body Parameters
GetListProductRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| Type | integer |
None. |
|
| CategoryId | integer |
None. |
|
| KeySearch | string |
None. |
|
| ManufacturerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PageSize": 1,
"PageIndex": 1,
"Type": 1,
"CategoryId": 1,
"KeySearch": "sample string 1",
"ManufacturerId": 1
}
application/xml, text/xml
Sample:
<GetListProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Product"> <CategoryId>1</CategoryId> <KeySearch>sample string 1</KeySearch> <ManufacturerId>1</ManufacturerId> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <Type>1</Type> </GetListProductRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProductsInfoCountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PriceTotal | decimal number |
None. |
|
| PriceCostTotal | decimal number |
None. |
|
| InventoryTotal | integer |
None. |
|
| ImportedQuantityTotal | integer |
None. |
|
| SoldQuantityTotal | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PriceTotal": 1.0,
"PriceCostTotal": 2.0,
"InventoryTotal": 3,
"ImportedQuantityTotal": 4,
"SoldQuantityTotal": 5
}
application/xml, text/xml
Sample:
<ProductsInfoCountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Response.Product"> <ImportedQuantityTotal>4</ImportedQuantityTotal> <InventoryTotal>3</InventoryTotal> <PriceCostTotal>2</PriceCostTotal> <PriceTotal>1</PriceTotal> <SoldQuantityTotal>5</SoldQuantityTotal> </ProductsInfoCountResponse>