POST api/Report/GetAllProductStockOverall
Request Information
URI Parameters
None.
Body Parameters
GetProductStockHistoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| ProductVariantID | integer |
None. |
|
| OutletID | integer |
None. |
|
| ToDate | date |
None. |
|
| FromDate | date |
None. |
|
| PageSize | integer |
None. |
|
| PageNo | integer |
None. |
|
| IsGetAll | boolean |
None. |
|
| IsAllProduct | boolean |
None. |
|
| DepartmentID | integer |
None. |
|
| ClassificationID | integer |
None. |
|
| Search | string |
None. |
|
| CategoryID | integer |
None. |
|
| SubCategoryID | integer |
None. |
|
| ColumnName | string |
None. |
|
| IsOrderBySearch | boolean |
None. |
|
| IsColumnSearch | boolean |
None. |
|
| IsOrderByAccending | boolean |
None. |
|
| ResellerID | integer |
None. |
|
| IsReseller | boolean |
None. |
|
| RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"ProductVariantID": 2,
"OutletID": 3,
"ToDate": "2026-07-28T08:38:27.3299898+02:00",
"FromDate": "2026-07-28T08:38:27.3299898+02:00",
"PageSize": 6,
"PageNo": 7,
"IsGetAll": true,
"IsAllProduct": true,
"DepartmentID": 10,
"ClassificationID": 11,
"Search": "sample string 12",
"CategoryID": 13,
"SubCategoryID": 14,
"ColumnName": "sample string 15",
"IsOrderBySearch": true,
"IsColumnSearch": true,
"IsOrderByAccending": true,
"ResellerID": 1,
"IsReseller": true,
"RequestedUserID": 1
}
application/xml, text/xml
Sample:
<GetProductStockHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <CategoryID>13</CategoryID> <ClassificationID>11</ClassificationID> <ColumnName>sample string 15</ColumnName> <DepartmentID>10</DepartmentID> <FromDate>2026-07-28T08:38:27.3299898+02:00</FromDate> <IsAllProduct>true</IsAllProduct> <IsColumnSearch>true</IsColumnSearch> <IsGetAll>true</IsGetAll> <IsOrderByAccending>true</IsOrderByAccending> <IsOrderBySearch>true</IsOrderBySearch> <IsReseller>true</IsReseller> <OutletID>3</OutletID> <PageNo>7</PageNo> <PageSize>6</PageSize> <ProductID>1</ProductID> <ProductVariantID>2</ProductVariantID> <ResellerID>1</ResellerID> <Search>sample string 12</Search> <SubCategoryID>14</SubCategoryID> <ToDate>2026-07-28T08:38:27.3299898+02:00</ToDate> </GetProductStockHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAllProductsStockResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AllStockList | Collection of StockModel |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AllStockList": [
{
"ProductID": 1,
"ProductVariantID": 2,
"Product": "sample string 3",
"ProductVariant": "sample string 4",
"ProductImage": "sample string 5",
"RemainingStock": 6,
"ReservedQuantity": 7,
"bShowForReseller": true,
"HoldStock": 1,
"Tax": 1.0,
"LuxuaryTax": 1.0,
"ProductVariantBarcode": "sample string 8",
"IsTrackable": true,
"SalePrice": 1.0,
"PurchasePrice": 1.0,
"AvgPurchasePrice": 1.0,
"ProductModel": "sample string 9",
"ArticalNo": "sample string 10",
"Barcode": "sample string 11",
"CategoryID": 1,
"Category": "sample string 12"
},
{
"ProductID": 1,
"ProductVariantID": 2,
"Product": "sample string 3",
"ProductVariant": "sample string 4",
"ProductImage": "sample string 5",
"RemainingStock": 6,
"ReservedQuantity": 7,
"bShowForReseller": true,
"HoldStock": 1,
"Tax": 1.0,
"LuxuaryTax": 1.0,
"ProductVariantBarcode": "sample string 8",
"IsTrackable": true,
"SalePrice": 1.0,
"PurchasePrice": 1.0,
"AvgPurchasePrice": 1.0,
"ProductModel": "sample string 9",
"ArticalNo": "sample string 10",
"Barcode": "sample string 11",
"CategoryID": 1,
"Category": "sample string 12"
}
],
"ResponseCode": 1,
"ResponseText": "sample string 2"
}
application/xml, text/xml
Sample:
<GetAllProductsStockResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response">
<ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode>
<ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText>
<AllStockList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
<d2p1:StockModel>
<d2p1:ArticalNo>sample string 10</d2p1:ArticalNo>
<d2p1:AvgPurchasePrice>1</d2p1:AvgPurchasePrice>
<d2p1:Barcode>sample string 11</d2p1:Barcode>
<d2p1:Category>sample string 12</d2p1:Category>
<d2p1:CategoryID>1</d2p1:CategoryID>
<d2p1:HoldStock>1</d2p1:HoldStock>
<d2p1:IsTrackable>true</d2p1:IsTrackable>
<d2p1:LuxuaryTax>1</d2p1:LuxuaryTax>
<d2p1:Product>sample string 3</d2p1:Product>
<d2p1:ProductID>1</d2p1:ProductID>
<d2p1:ProductImage>sample string 5</d2p1:ProductImage>
<d2p1:ProductModel>sample string 9</d2p1:ProductModel>
<d2p1:ProductVariant>sample string 4</d2p1:ProductVariant>
<d2p1:ProductVariantBarcode>sample string 8</d2p1:ProductVariantBarcode>
<d2p1:ProductVariantID>2</d2p1:ProductVariantID>
<d2p1:PurchasePrice>1</d2p1:PurchasePrice>
<d2p1:RemainingStock>6</d2p1:RemainingStock>
<d2p1:ReservedQuantity>7</d2p1:ReservedQuantity>
<d2p1:SalePrice>1</d2p1:SalePrice>
<d2p1:Tax>1</d2p1:Tax>
<d2p1:bShowForReseller>true</d2p1:bShowForReseller>
</d2p1:StockModel>
<d2p1:StockModel>
<d2p1:ArticalNo>sample string 10</d2p1:ArticalNo>
<d2p1:AvgPurchasePrice>1</d2p1:AvgPurchasePrice>
<d2p1:Barcode>sample string 11</d2p1:Barcode>
<d2p1:Category>sample string 12</d2p1:Category>
<d2p1:CategoryID>1</d2p1:CategoryID>
<d2p1:HoldStock>1</d2p1:HoldStock>
<d2p1:IsTrackable>true</d2p1:IsTrackable>
<d2p1:LuxuaryTax>1</d2p1:LuxuaryTax>
<d2p1:Product>sample string 3</d2p1:Product>
<d2p1:ProductID>1</d2p1:ProductID>
<d2p1:ProductImage>sample string 5</d2p1:ProductImage>
<d2p1:ProductModel>sample string 9</d2p1:ProductModel>
<d2p1:ProductVariant>sample string 4</d2p1:ProductVariant>
<d2p1:ProductVariantBarcode>sample string 8</d2p1:ProductVariantBarcode>
<d2p1:ProductVariantID>2</d2p1:ProductVariantID>
<d2p1:PurchasePrice>1</d2p1:PurchasePrice>
<d2p1:RemainingStock>6</d2p1:RemainingStock>
<d2p1:ReservedQuantity>7</d2p1:ReservedQuantity>
<d2p1:SalePrice>1</d2p1:SalePrice>
<d2p1:Tax>1</d2p1:Tax>
<d2p1:bShowForReseller>true</d2p1:bShowForReseller>
</d2p1:StockModel>
</AllStockList>
</GetAllProductsStockResponse>