POST api/Product/CheckProductInventoryWrong
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. |
|
| HasInventory | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"pageSize": 1,
"pageIndex": 1,
"type": 1,
"categoryId": 1,
"keySearch": "sample string 1",
"manufacturerId": 1,
"hasInventory": true
}
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> <HasInventory>true</HasInventory> <KeySearch>sample string 1</KeySearch> <ManufacturerId>1</ManufacturerId> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <Type>1</Type> </GetListProductRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaginatorResponseOfGetListProductResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| TotalMoney | decimal number |
None. |
|
| PayingAmount | decimal number |
None. |
|
| TotalIncome | decimal number |
None. |
|
| TotalSpend | decimal number |
None. |
|
| TotalDebt | decimal number |
None. |
|
| TotalOrderAmount | decimal number |
None. |
|
| TotalPaid | decimal number |
None. |
|
| NhapHang_SoTienDaDua | decimal number |
None. |
|
| NhapHang_SoLuongSanPham | decimal number |
None. |
|
| NhapHang_TongTienSanPham | decimal number |
None. |
|
| NhapHang_HoanTien | decimal number |
None. |
|
| NhapHang_GhiChuTien | decimal number |
None. |
|
| SumTotalRevenue | decimal number |
None. |
|
| SumTotalExpense | decimal number |
None. |
|
| SumTotalRefund | decimal number |
None. |
|
| SumBudgetVariance | decimal number |
None. |
|
| Items | Collection of GetListProductResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"count": 1,
"totalMoney": 2.0,
"payingAmount": 3.0,
"totalIncome": 4.0,
"totalSpend": 5.0,
"totalDebt": 6.0,
"totalOrderAmount": 7.0,
"totalPaid": 8.0,
"nhapHang_SoTienDaDua": 9.0,
"nhapHang_SoLuongSanPham": 10.0,
"nhapHang_TongTienSanPham": 11.0,
"nhapHang_HoanTien": 12.0,
"nhapHang_GhiChuTien": 13.0,
"sumTotalRevenue": 14.0,
"sumTotalExpense": 15.0,
"sumTotalRefund": 16.0,
"sumBudgetVariance": 17.0,
"items": [
{
"id": "b190bb67-a6ef-4782-ba62-2ca6f132458c",
"color": "sample string 2",
"abbreviations": "sample string 3",
"barcode": "sample string 4",
"bodyUsedId": 5,
"bodyUsedString": "sample string 6",
"categoryId": 7,
"categoryString": "sample string 8",
"code": "sample string 9",
"description": "sample string 10",
"hamLuong": "sample string 11",
"hoatChat": "sample string 12",
"inventoryMax": 13,
"inventoryMin": 14,
"inventory": 15,
"qtyPurchaseOrder": 16,
"qtyOrder": 17,
"isHomepage": true,
"productUnitId": 19,
"productUnitName": "sample string 20",
"manufacturerId": 1,
"manufacturerString": "sample string 21",
"noteOrder": "sample string 22",
"packing": "sample string 23",
"positionId": 24,
"positionString": "sample string 25",
"priceCost": 26,
"price": 27,
"quocGiaId": 28,
"quocGiaString": "sample string 29",
"registrationNumber": "sample string 30",
"title": "sample string 31",
"weight": 32,
"type": 0,
"typeString": "Thuốc",
"inventoryQuantity": 33,
"orderQuantity": 34,
"outOfStockDays": 35,
"status": 0,
"statusString": "Cho phép kinh doanh",
"files": [
"6807e1ad-1d1c-4233-b3dc-f699062b3415",
"1db277b0-0044-44aa-b0a7-7439a2877641"
],
"note": "sample string 36",
"quantity": 37,
"discount": 38.0,
"discountType": 39,
"orderTotal": 40.0,
"discountTypeActive": false,
"lstPrice": [
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "f20511e7-0244-4a27-b38a-a496ef57218a",
"quantity": 5,
"date": "2026-11-27T01:55:42.7425449+07:00",
"supplierId": 6,
"purchaseOrderId": "29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e",
"quantityOrigin": 1
},
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "f20511e7-0244-4a27-b38a-a496ef57218a",
"quantity": 5,
"date": "2026-11-27T01:55:42.7425449+07:00",
"supplierId": 6,
"purchaseOrderId": "29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e",
"quantityOrigin": 1
}
],
"supplierId": 1,
"supplierName": "sample string 41",
"isPaidSupplier": true,
"paidSupplierDate": "2026-11-27T01:55:42.7425449+07:00"
},
{
"id": "b190bb67-a6ef-4782-ba62-2ca6f132458c",
"color": "sample string 2",
"abbreviations": "sample string 3",
"barcode": "sample string 4",
"bodyUsedId": 5,
"bodyUsedString": "sample string 6",
"categoryId": 7,
"categoryString": "sample string 8",
"code": "sample string 9",
"description": "sample string 10",
"hamLuong": "sample string 11",
"hoatChat": "sample string 12",
"inventoryMax": 13,
"inventoryMin": 14,
"inventory": 15,
"qtyPurchaseOrder": 16,
"qtyOrder": 17,
"isHomepage": true,
"productUnitId": 19,
"productUnitName": "sample string 20",
"manufacturerId": 1,
"manufacturerString": "sample string 21",
"noteOrder": "sample string 22",
"packing": "sample string 23",
"positionId": 24,
"positionString": "sample string 25",
"priceCost": 26,
"price": 27,
"quocGiaId": 28,
"quocGiaString": "sample string 29",
"registrationNumber": "sample string 30",
"title": "sample string 31",
"weight": 32,
"type": 0,
"typeString": "Thuốc",
"inventoryQuantity": 33,
"orderQuantity": 34,
"outOfStockDays": 35,
"status": 0,
"statusString": "Cho phép kinh doanh",
"files": [
"6807e1ad-1d1c-4233-b3dc-f699062b3415",
"1db277b0-0044-44aa-b0a7-7439a2877641"
],
"note": "sample string 36",
"quantity": 37,
"discount": 38.0,
"discountType": 39,
"orderTotal": 40.0,
"discountTypeActive": false,
"lstPrice": [
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "f20511e7-0244-4a27-b38a-a496ef57218a",
"quantity": 5,
"date": "2026-11-27T01:55:42.7425449+07:00",
"supplierId": 6,
"purchaseOrderId": "29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e",
"quantityOrigin": 1
},
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "f20511e7-0244-4a27-b38a-a496ef57218a",
"quantity": 5,
"date": "2026-11-27T01:55:42.7425449+07:00",
"supplierId": 6,
"purchaseOrderId": "29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e",
"quantityOrigin": 1
}
],
"supplierId": 1,
"supplierName": "sample string 41",
"isPaidSupplier": true,
"paidSupplierDate": "2026-11-27T01:55:42.7425449+07:00"
}
]
}
application/xml, text/xml
Sample:
<PaginatorResponseOfGetListProductResponseUQB_PquzW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Generics">
<Count>1</Count>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Common.Model.Response.Product">
<d2p1:GetListProductResponse>
<d2p1:Abbreviations>sample string 3</d2p1:Abbreviations>
<d2p1:Barcode>sample string 4</d2p1:Barcode>
<d2p1:BodyUsedId>5</d2p1:BodyUsedId>
<d2p1:BodyUsedString>sample string 6</d2p1:BodyUsedString>
<d2p1:CategoryId>7</d2p1:CategoryId>
<d2p1:CategoryString>sample string 8</d2p1:CategoryString>
<d2p1:Code>sample string 9</d2p1:Code>
<d2p1:Color>sample string 2</d2p1:Color>
<d2p1:Description>sample string 10</d2p1:Description>
<d2p1:Discount>38</d2p1:Discount>
<d2p1:DiscountType>39</d2p1:DiscountType>
<d2p1:Files xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>6807e1ad-1d1c-4233-b3dc-f699062b3415</d4p1:guid>
<d4p1:guid>1db277b0-0044-44aa-b0a7-7439a2877641</d4p1:guid>
</d2p1:Files>
<d2p1:HamLuong>sample string 11</d2p1:HamLuong>
<d2p1:HoatChat>sample string 12</d2p1:HoatChat>
<d2p1:Id>b190bb67-a6ef-4782-ba62-2ca6f132458c</d2p1:Id>
<d2p1:Inventory>15</d2p1:Inventory>
<d2p1:InventoryMax>13</d2p1:InventoryMax>
<d2p1:InventoryMin>14</d2p1:InventoryMin>
<d2p1:InventoryQuantity>33</d2p1:InventoryQuantity>
<d2p1:IsHomepage>true</d2p1:IsHomepage>
<d2p1:IsPaidSupplier>true</d2p1:IsPaidSupplier>
<d2p1:LstPrice xmlns:d4p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
<d4p1:ProductPriceMapping>
<d4p1:Date>2026-11-27T01:55:42.7425449+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>f20511e7-0244-4a27-b38a-a496ef57218a</d4p1:ProductId>
<d4p1:PurchaseOrderId>29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:QuantityOrigin>1</d4p1:QuantityOrigin>
<d4p1:SupplierId>6</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMapping>
<d4p1:ProductPriceMapping>
<d4p1:Date>2026-11-27T01:55:42.7425449+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>f20511e7-0244-4a27-b38a-a496ef57218a</d4p1:ProductId>
<d4p1:PurchaseOrderId>29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:QuantityOrigin>1</d4p1:QuantityOrigin>
<d4p1:SupplierId>6</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMapping>
</d2p1:LstPrice>
<d2p1:ManufacturerId>1</d2p1:ManufacturerId>
<d2p1:ManufacturerString>sample string 21</d2p1:ManufacturerString>
<d2p1:Note>sample string 36</d2p1:Note>
<d2p1:NoteOrder>sample string 22</d2p1:NoteOrder>
<d2p1:OrderQuantity>34</d2p1:OrderQuantity>
<d2p1:OrderTotal>40</d2p1:OrderTotal>
<d2p1:OutOfStockDays>35</d2p1:OutOfStockDays>
<d2p1:Packing>sample string 23</d2p1:Packing>
<d2p1:PaidSupplierDate>2026-11-27T01:55:42.7425449+07:00</d2p1:PaidSupplierDate>
<d2p1:PositionId>24</d2p1:PositionId>
<d2p1:PositionString>sample string 25</d2p1:PositionString>
<d2p1:Price>27</d2p1:Price>
<d2p1:PriceCost>26</d2p1:PriceCost>
<d2p1:ProductUnitId>19</d2p1:ProductUnitId>
<d2p1:ProductUnitName>sample string 20</d2p1:ProductUnitName>
<d2p1:QtyOrder>17</d2p1:QtyOrder>
<d2p1:QtyPurchaseOrder>16</d2p1:QtyPurchaseOrder>
<d2p1:Quantity>37</d2p1:Quantity>
<d2p1:QuocGiaId>28</d2p1:QuocGiaId>
<d2p1:QuocGiaString>sample string 29</d2p1:QuocGiaString>
<d2p1:RegistrationNumber>sample string 30</d2p1:RegistrationNumber>
<d2p1:Status>ACTIVE</d2p1:Status>
<d2p1:SupplierId>1</d2p1:SupplierId>
<d2p1:SupplierName>sample string 41</d2p1:SupplierName>
<d2p1:Title>sample string 31</d2p1:Title>
<d2p1:Type>Thuoc</d2p1:Type>
<d2p1:Weight>32</d2p1:Weight>
</d2p1:GetListProductResponse>
<d2p1:GetListProductResponse>
<d2p1:Abbreviations>sample string 3</d2p1:Abbreviations>
<d2p1:Barcode>sample string 4</d2p1:Barcode>
<d2p1:BodyUsedId>5</d2p1:BodyUsedId>
<d2p1:BodyUsedString>sample string 6</d2p1:BodyUsedString>
<d2p1:CategoryId>7</d2p1:CategoryId>
<d2p1:CategoryString>sample string 8</d2p1:CategoryString>
<d2p1:Code>sample string 9</d2p1:Code>
<d2p1:Color>sample string 2</d2p1:Color>
<d2p1:Description>sample string 10</d2p1:Description>
<d2p1:Discount>38</d2p1:Discount>
<d2p1:DiscountType>39</d2p1:DiscountType>
<d2p1:Files xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>6807e1ad-1d1c-4233-b3dc-f699062b3415</d4p1:guid>
<d4p1:guid>1db277b0-0044-44aa-b0a7-7439a2877641</d4p1:guid>
</d2p1:Files>
<d2p1:HamLuong>sample string 11</d2p1:HamLuong>
<d2p1:HoatChat>sample string 12</d2p1:HoatChat>
<d2p1:Id>b190bb67-a6ef-4782-ba62-2ca6f132458c</d2p1:Id>
<d2p1:Inventory>15</d2p1:Inventory>
<d2p1:InventoryMax>13</d2p1:InventoryMax>
<d2p1:InventoryMin>14</d2p1:InventoryMin>
<d2p1:InventoryQuantity>33</d2p1:InventoryQuantity>
<d2p1:IsHomepage>true</d2p1:IsHomepage>
<d2p1:IsPaidSupplier>true</d2p1:IsPaidSupplier>
<d2p1:LstPrice xmlns:d4p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
<d4p1:ProductPriceMapping>
<d4p1:Date>2026-11-27T01:55:42.7425449+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>f20511e7-0244-4a27-b38a-a496ef57218a</d4p1:ProductId>
<d4p1:PurchaseOrderId>29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:QuantityOrigin>1</d4p1:QuantityOrigin>
<d4p1:SupplierId>6</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMapping>
<d4p1:ProductPriceMapping>
<d4p1:Date>2026-11-27T01:55:42.7425449+07:00</d4p1:Date>
<d4p1:Id>2</d4p1:Id>
<d4p1:Price>1</d4p1:Price>
<d4p1:ProductId>f20511e7-0244-4a27-b38a-a496ef57218a</d4p1:ProductId>
<d4p1:PurchaseOrderId>29a5ba06-f7ed-4c92-bf9b-44b0f67b2f8e</d4p1:PurchaseOrderId>
<d4p1:Quantity>5</d4p1:Quantity>
<d4p1:QuantityOrigin>1</d4p1:QuantityOrigin>
<d4p1:SupplierId>6</d4p1:SupplierId>
<d4p1:Type>3</d4p1:Type>
</d4p1:ProductPriceMapping>
</d2p1:LstPrice>
<d2p1:ManufacturerId>1</d2p1:ManufacturerId>
<d2p1:ManufacturerString>sample string 21</d2p1:ManufacturerString>
<d2p1:Note>sample string 36</d2p1:Note>
<d2p1:NoteOrder>sample string 22</d2p1:NoteOrder>
<d2p1:OrderQuantity>34</d2p1:OrderQuantity>
<d2p1:OrderTotal>40</d2p1:OrderTotal>
<d2p1:OutOfStockDays>35</d2p1:OutOfStockDays>
<d2p1:Packing>sample string 23</d2p1:Packing>
<d2p1:PaidSupplierDate>2026-11-27T01:55:42.7425449+07:00</d2p1:PaidSupplierDate>
<d2p1:PositionId>24</d2p1:PositionId>
<d2p1:PositionString>sample string 25</d2p1:PositionString>
<d2p1:Price>27</d2p1:Price>
<d2p1:PriceCost>26</d2p1:PriceCost>
<d2p1:ProductUnitId>19</d2p1:ProductUnitId>
<d2p1:ProductUnitName>sample string 20</d2p1:ProductUnitName>
<d2p1:QtyOrder>17</d2p1:QtyOrder>
<d2p1:QtyPurchaseOrder>16</d2p1:QtyPurchaseOrder>
<d2p1:Quantity>37</d2p1:Quantity>
<d2p1:QuocGiaId>28</d2p1:QuocGiaId>
<d2p1:QuocGiaString>sample string 29</d2p1:QuocGiaString>
<d2p1:RegistrationNumber>sample string 30</d2p1:RegistrationNumber>
<d2p1:Status>ACTIVE</d2p1:Status>
<d2p1:SupplierId>1</d2p1:SupplierId>
<d2p1:SupplierName>sample string 41</d2p1:SupplierName>
<d2p1:Title>sample string 31</d2p1:Title>
<d2p1:Type>Thuoc</d2p1:Type>
<d2p1:Weight>32</d2p1:Weight>
</d2p1:GetListProductResponse>
</Items>
<NhapHang_GhiChuTien>13</NhapHang_GhiChuTien>
<NhapHang_HoanTien>12</NhapHang_HoanTien>
<NhapHang_SoLuongSanPham>10</NhapHang_SoLuongSanPham>
<NhapHang_SoTienDaDua>9</NhapHang_SoTienDaDua>
<NhapHang_TongTienSanPham>11</NhapHang_TongTienSanPham>
<PayingAmount>3</PayingAmount>
<SumBudgetVariance>17</SumBudgetVariance>
<SumTotalExpense>15</SumTotalExpense>
<SumTotalRefund>16</SumTotalRefund>
<SumTotalRevenue>14</SumTotalRevenue>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfGetListProductResponseUQB_PquzW>