POST api/Report/GetAllProductStockForSaleNew
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:40:09.9237579+02:00",
"FromDate": "2026-07-28T08:40:09.9237579+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:40:09.9237579+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:40:09.9237579+02:00</ToDate> </GetProductStockHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAllProductVariantSaleResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AllProductVariantSaleList | Collection of ProductVariantSaleModel |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AllProductVariantSaleList": [
{
"ID": 1,
"ProductImage": "sample string 2",
"ProductID": 1,
"Product": "sample string 3",
"PurchasePrice": 1.0,
"SalePrice": 1.0,
"RemainingStock": 4,
"HoldStock": 1,
"Barcode": "sample string 5",
"BLabel": "sample string 6",
"ArticalNo": "sample string 7",
"QualityLabel": "sample string 8"
},
{
"ID": 1,
"ProductImage": "sample string 2",
"ProductID": 1,
"Product": "sample string 3",
"PurchasePrice": 1.0,
"SalePrice": 1.0,
"RemainingStock": 4,
"HoldStock": 1,
"Barcode": "sample string 5",
"BLabel": "sample string 6",
"ArticalNo": "sample string 7",
"QualityLabel": "sample string 8"
}
],
"ResponseCode": 1,
"ResponseText": "sample string 2"
}
application/xml, text/xml
Sample:
<GetAllProductVariantSaleResponse 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>
<AllProductVariantSaleList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
<d2p1:ProductVariantSaleModel>
<d2p1:ArticalNo>sample string 7</d2p1:ArticalNo>
<d2p1:BLabel>sample string 6</d2p1:BLabel>
<d2p1:Barcode>sample string 5</d2p1:Barcode>
<d2p1:HoldStock>1</d2p1:HoldStock>
<d2p1:ID>1</d2p1:ID>
<d2p1:Product>sample string 3</d2p1:Product>
<d2p1:ProductID>1</d2p1:ProductID>
<d2p1:ProductImage>sample string 2</d2p1:ProductImage>
<d2p1:PurchasePrice>1</d2p1:PurchasePrice>
<d2p1:QualityLabel>sample string 8</d2p1:QualityLabel>
<d2p1:RemainingStock>4</d2p1:RemainingStock>
<d2p1:SalePrice>1</d2p1:SalePrice>
</d2p1:ProductVariantSaleModel>
<d2p1:ProductVariantSaleModel>
<d2p1:ArticalNo>sample string 7</d2p1:ArticalNo>
<d2p1:BLabel>sample string 6</d2p1:BLabel>
<d2p1:Barcode>sample string 5</d2p1:Barcode>
<d2p1:HoldStock>1</d2p1:HoldStock>
<d2p1:ID>1</d2p1:ID>
<d2p1:Product>sample string 3</d2p1:Product>
<d2p1:ProductID>1</d2p1:ProductID>
<d2p1:ProductImage>sample string 2</d2p1:ProductImage>
<d2p1:PurchasePrice>1</d2p1:PurchasePrice>
<d2p1:QualityLabel>sample string 8</d2p1:QualityLabel>
<d2p1:RemainingStock>4</d2p1:RemainingStock>
<d2p1:SalePrice>1</d2p1:SalePrice>
</d2p1:ProductVariantSaleModel>
</AllProductVariantSaleList>
</GetAllProductVariantSaleResponse>