POST api/ProductReporting/GetAllProductStockForSaleNew
Request Information
URI Parameters
None.
Body Parameters
GetProductStockHistoryRequestName | 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": "2025-01-22T20:54:41.9124099-06:00", "FromDate": "2025-01-22T20:54:41.9124099-06: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>2025-01-22T20:54:41.9124099-06: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>2025-01-22T20:54:41.9124099-06:00</ToDate> </GetProductStockHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAllProductVariantSaleResponseName | 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, "ReservedStock": 5, "HoldStock": 1, "Barcode": "sample string 6", "BLabel": "sample string 7", "ArticalNo": "sample string 8", "QualityLabel": "sample string 9", "Keenland": "sample string 10", "ManufacturerCode": "sample string 11" }, { "ID": 1, "ProductImage": "sample string 2", "ProductID": 1, "Product": "sample string 3", "PurchasePrice": 1.0, "SalePrice": 1.0, "RemainingStock": 4, "ReservedStock": 5, "HoldStock": 1, "Barcode": "sample string 6", "BLabel": "sample string 7", "ArticalNo": "sample string 8", "QualityLabel": "sample string 9", "Keenland": "sample string 10", "ManufacturerCode": "sample string 11" } ], "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 8</d2p1:ArticalNo> <d2p1:BLabel>sample string 7</d2p1:BLabel> <d2p1:Barcode>sample string 6</d2p1:Barcode> <d2p1:HoldStock>1</d2p1:HoldStock> <d2p1:ID>1</d2p1:ID> <d2p1:Keenland>sample string 10</d2p1:Keenland> <d2p1:ManufacturerCode>sample string 11</d2p1:ManufacturerCode> <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 9</d2p1:QualityLabel> <d2p1:RemainingStock>4</d2p1:RemainingStock> <d2p1:ReservedStock>5</d2p1:ReservedStock> <d2p1:SalePrice>1</d2p1:SalePrice> </d2p1:ProductVariantSaleModel> <d2p1:ProductVariantSaleModel> <d2p1:ArticalNo>sample string 8</d2p1:ArticalNo> <d2p1:BLabel>sample string 7</d2p1:BLabel> <d2p1:Barcode>sample string 6</d2p1:Barcode> <d2p1:HoldStock>1</d2p1:HoldStock> <d2p1:ID>1</d2p1:ID> <d2p1:Keenland>sample string 10</d2p1:Keenland> <d2p1:ManufacturerCode>sample string 11</d2p1:ManufacturerCode> <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 9</d2p1:QualityLabel> <d2p1:RemainingStock>4</d2p1:RemainingStock> <d2p1:ReservedStock>5</d2p1:ReservedStock> <d2p1:SalePrice>1</d2p1:SalePrice> </d2p1:ProductVariantSaleModel> </AllProductVariantSaleList> </GetAllProductVariantSaleResponse>