POST api/Product/ListProduct

Request Information

URI Parameters

None.

Body Parameters

GetListProductRequest
NameDescriptionTypeAdditional 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

PaginatorResponseOfGetListProductResponse
NameDescriptionTypeAdditional 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.

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,
  "Items": [
    {
      "Id": "70ff9908-5252-48cd-8af5-4b75fa177bbe",
      "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": [
        "2f53b04c-0682-460d-9c87-2b7437c68b11",
        "046f79d7-d39c-4ccf-8e71-000d859cee35"
      ],
      "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": "3a681c7c-e1d7-44d6-922e-942492f71964",
          "Quantity": 5,
          "Date": "2025-10-26T13:07:36.673478+07:00",
          "SupplierId": 6,
          "PurchaseOrderId": "026933e2-6898-4f8e-a3a2-2d77f485425b",
          "QuantityOrigin": 1
        },
        {
          "Price": 1.0,
          "Id": 2,
          "Type": 3,
          "ProductId": "3a681c7c-e1d7-44d6-922e-942492f71964",
          "Quantity": 5,
          "Date": "2025-10-26T13:07:36.673478+07:00",
          "SupplierId": 6,
          "PurchaseOrderId": "026933e2-6898-4f8e-a3a2-2d77f485425b",
          "QuantityOrigin": 1
        }
      ]
    },
    {
      "Id": "70ff9908-5252-48cd-8af5-4b75fa177bbe",
      "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": [
        "2f53b04c-0682-460d-9c87-2b7437c68b11",
        "046f79d7-d39c-4ccf-8e71-000d859cee35"
      ],
      "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": "3a681c7c-e1d7-44d6-922e-942492f71964",
          "Quantity": 5,
          "Date": "2025-10-26T13:07:36.673478+07:00",
          "SupplierId": 6,
          "PurchaseOrderId": "026933e2-6898-4f8e-a3a2-2d77f485425b",
          "QuantityOrigin": 1
        },
        {
          "Price": 1.0,
          "Id": 2,
          "Type": 3,
          "ProductId": "3a681c7c-e1d7-44d6-922e-942492f71964",
          "Quantity": 5,
          "Date": "2025-10-26T13:07:36.673478+07:00",
          "SupplierId": 6,
          "PurchaseOrderId": "026933e2-6898-4f8e-a3a2-2d77f485425b",
          "QuantityOrigin": 1
        }
      ]
    }
  ]
}

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>2f53b04c-0682-460d-9c87-2b7437c68b11</d4p1:guid>
        <d4p1:guid>046f79d7-d39c-4ccf-8e71-000d859cee35</d4p1:guid>
      </d2p1:Files>
      <d2p1:HamLuong>sample string 11</d2p1:HamLuong>
      <d2p1:HoatChat>sample string 12</d2p1:HoatChat>
      <d2p1:Id>70ff9908-5252-48cd-8af5-4b75fa177bbe</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:LstPrice xmlns:d4p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
        <d4p1:ProductPriceMapping>
          <d4p1:Date>2025-10-26T13:07:36.673478+07:00</d4p1:Date>
          <d4p1:Id>2</d4p1:Id>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductId>3a681c7c-e1d7-44d6-922e-942492f71964</d4p1:ProductId>
          <d4p1:PurchaseOrderId>026933e2-6898-4f8e-a3a2-2d77f485425b</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>2025-10-26T13:07:36.673478+07:00</d4p1:Date>
          <d4p1:Id>2</d4p1:Id>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductId>3a681c7c-e1d7-44d6-922e-942492f71964</d4p1:ProductId>
          <d4p1:PurchaseOrderId>026933e2-6898-4f8e-a3a2-2d77f485425b</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: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: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>2f53b04c-0682-460d-9c87-2b7437c68b11</d4p1:guid>
        <d4p1:guid>046f79d7-d39c-4ccf-8e71-000d859cee35</d4p1:guid>
      </d2p1:Files>
      <d2p1:HamLuong>sample string 11</d2p1:HamLuong>
      <d2p1:HoatChat>sample string 12</d2p1:HoatChat>
      <d2p1:Id>70ff9908-5252-48cd-8af5-4b75fa177bbe</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:LstPrice xmlns:d4p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
        <d4p1:ProductPriceMapping>
          <d4p1:Date>2025-10-26T13:07:36.673478+07:00</d4p1:Date>
          <d4p1:Id>2</d4p1:Id>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductId>3a681c7c-e1d7-44d6-922e-942492f71964</d4p1:ProductId>
          <d4p1:PurchaseOrderId>026933e2-6898-4f8e-a3a2-2d77f485425b</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>2025-10-26T13:07:36.673478+07:00</d4p1:Date>
          <d4p1:Id>2</d4p1:Id>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductId>3a681c7c-e1d7-44d6-922e-942492f71964</d4p1:ProductId>
          <d4p1:PurchaseOrderId>026933e2-6898-4f8e-a3a2-2d77f485425b</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: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:Title>sample string 31</d2p1:Title>
      <d2p1:Type>Thuoc</d2p1:Type>
      <d2p1:Weight>32</d2p1:Weight>
    </d2p1:GetListProductResponse>
  </Items>
  <PayingAmount>3</PayingAmount>
  <TotalDebt>6</TotalDebt>
  <TotalIncome>4</TotalIncome>
  <TotalMoney>2</TotalMoney>
  <TotalOrderAmount>7</TotalOrderAmount>
  <TotalPaid>8</TotalPaid>
  <TotalSpend>5</TotalSpend>
</PaginatorResponseOfGetListProductResponseUQB_PquzW>