POST api/Product/ListAllProductByIds

Request Information

URI Parameters

None.

Body Parameters

ListProductByCategoryRequest
NameDescriptionTypeAdditional information
CategoryId

integer

None.

lstProductId

Collection of globally unique identifier

None.

PurchaserOrderId

globally unique identifier

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "lstProductId": [
    "49a7ff63-ee23-4bfc-a9aa-9ae58cb09161",
    "41e1f4c9-0b9b-4a40-bf9e-916375fa638c"
  ],
  "PurchaserOrderId": "49132b1f-259e-4610-99b3-e898ca6f5c61",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ListProductByCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Product">
  <CategoryId>1</CategoryId>
  <IsDeleted>true</IsDeleted>
  <PurchaserOrderId>49132b1f-259e-4610-99b3-e898ca6f5c61</PurchaserOrderId>
  <lstProductId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>49a7ff63-ee23-4bfc-a9aa-9ae58cb09161</d2p1:guid>
    <d2p1:guid>41e1f4c9-0b9b-4a40-bf9e-916375fa638c</d2p1:guid>
  </lstProductId>
</ListProductByCategoryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of GetListProductResponse
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Color

string

None.

Abbreviations

string

None.

Barcode

string

None.

BodyUsedId

integer

None.

BodyUsedString

string

None.

CategoryId

integer

None.

CategoryString

string

None.

Code

string

None.

Description

string

None.

HamLuong

string

None.

HoatChat

string

None.

InventoryMax

integer

None.

InventoryMin

integer

None.

Inventory

integer

None.

QtyPurchaseOrder

integer

None.

QtyOrder

integer

None.

IsHomepage

boolean

None.

ProductUnitId

integer

None.

ProductUnitName

string

None.

ManufacturerId

integer

None.

ManufacturerString

string

None.

NoteOrder

string

None.

Packing

string

None.

PositionId

integer

None.

PositionString

string

None.

PriceCost

integer

None.

Price

integer

None.

QuocGiaId

integer

None.

QuocGiaString

string

None.

RegistrationNumber

string

None.

Title

string

None.

Weight

integer

None.

Type

ProductEnum

None.

TypeString

string

None.

InventoryQuantity

integer

None.

OrderQuantity

integer

None.

OutOfStockDays

integer

None.

Status

ProductStatusEnum

None.

StatusString

string

None.

Files

Collection of globally unique identifier

None.

Note

string

None.

Quantity

integer

None.

Discount

decimal number

None.

DiscountType

integer

None.

OrderTotal

decimal number

None.

DiscountTypeActive

boolean

None.

LstPrice

Collection of ProductPriceMapping

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "ffb067c1-5ebe-4188-8130-b90f0984772b",
    "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": [
      "f4cc0d6b-54e7-41a1-b202-a1430867dac4",
      "2fd109c6-928c-485e-b933-4b9561d4581b"
    ],
    "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": "1cf24c5c-d99d-496d-be07-23be86b466fc",
        "Quantity": 5,
        "Date": "2025-10-26T13:11:33.0404507+07:00",
        "SupplierId": 6,
        "PurchaseOrderId": "adb4cfff-195c-47e9-b3e0-527ef5731e30",
        "QuantityOrigin": 1
      },
      {
        "Price": 1.0,
        "Id": 2,
        "Type": 3,
        "ProductId": "1cf24c5c-d99d-496d-be07-23be86b466fc",
        "Quantity": 5,
        "Date": "2025-10-26T13:11:33.0404507+07:00",
        "SupplierId": 6,
        "PurchaseOrderId": "adb4cfff-195c-47e9-b3e0-527ef5731e30",
        "QuantityOrigin": 1
      }
    ]
  },
  {
    "Id": "ffb067c1-5ebe-4188-8130-b90f0984772b",
    "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": [
      "f4cc0d6b-54e7-41a1-b202-a1430867dac4",
      "2fd109c6-928c-485e-b933-4b9561d4581b"
    ],
    "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": "1cf24c5c-d99d-496d-be07-23be86b466fc",
        "Quantity": 5,
        "Date": "2025-10-26T13:11:33.0404507+07:00",
        "SupplierId": 6,
        "PurchaseOrderId": "adb4cfff-195c-47e9-b3e0-527ef5731e30",
        "QuantityOrigin": 1
      },
      {
        "Price": 1.0,
        "Id": 2,
        "Type": 3,
        "ProductId": "1cf24c5c-d99d-496d-be07-23be86b466fc",
        "Quantity": 5,
        "Date": "2025-10-26T13:11:33.0404507+07:00",
        "SupplierId": 6,
        "PurchaseOrderId": "adb4cfff-195c-47e9-b3e0-527ef5731e30",
        "QuantityOrigin": 1
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetListProductResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Response.Product">
  <GetListProductResponse>
    <Abbreviations>sample string 3</Abbreviations>
    <Barcode>sample string 4</Barcode>
    <BodyUsedId>5</BodyUsedId>
    <BodyUsedString>sample string 6</BodyUsedString>
    <CategoryId>7</CategoryId>
    <CategoryString>sample string 8</CategoryString>
    <Code>sample string 9</Code>
    <Color>sample string 2</Color>
    <Description>sample string 10</Description>
    <Discount>38</Discount>
    <DiscountType>39</DiscountType>
    <Files xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>f4cc0d6b-54e7-41a1-b202-a1430867dac4</d3p1:guid>
      <d3p1:guid>2fd109c6-928c-485e-b933-4b9561d4581b</d3p1:guid>
    </Files>
    <HamLuong>sample string 11</HamLuong>
    <HoatChat>sample string 12</HoatChat>
    <Id>ffb067c1-5ebe-4188-8130-b90f0984772b</Id>
    <Inventory>15</Inventory>
    <InventoryMax>13</InventoryMax>
    <InventoryMin>14</InventoryMin>
    <InventoryQuantity>33</InventoryQuantity>
    <IsHomepage>true</IsHomepage>
    <LstPrice xmlns:d3p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
      <d3p1:ProductPriceMapping>
        <d3p1:Date>2025-10-26T13:11:33.0404507+07:00</d3p1:Date>
        <d3p1:Id>2</d3p1:Id>
        <d3p1:Price>1</d3p1:Price>
        <d3p1:ProductId>1cf24c5c-d99d-496d-be07-23be86b466fc</d3p1:ProductId>
        <d3p1:PurchaseOrderId>adb4cfff-195c-47e9-b3e0-527ef5731e30</d3p1:PurchaseOrderId>
        <d3p1:Quantity>5</d3p1:Quantity>
        <d3p1:QuantityOrigin>1</d3p1:QuantityOrigin>
        <d3p1:SupplierId>6</d3p1:SupplierId>
        <d3p1:Type>3</d3p1:Type>
      </d3p1:ProductPriceMapping>
      <d3p1:ProductPriceMapping>
        <d3p1:Date>2025-10-26T13:11:33.0404507+07:00</d3p1:Date>
        <d3p1:Id>2</d3p1:Id>
        <d3p1:Price>1</d3p1:Price>
        <d3p1:ProductId>1cf24c5c-d99d-496d-be07-23be86b466fc</d3p1:ProductId>
        <d3p1:PurchaseOrderId>adb4cfff-195c-47e9-b3e0-527ef5731e30</d3p1:PurchaseOrderId>
        <d3p1:Quantity>5</d3p1:Quantity>
        <d3p1:QuantityOrigin>1</d3p1:QuantityOrigin>
        <d3p1:SupplierId>6</d3p1:SupplierId>
        <d3p1:Type>3</d3p1:Type>
      </d3p1:ProductPriceMapping>
    </LstPrice>
    <ManufacturerId>1</ManufacturerId>
    <ManufacturerString>sample string 21</ManufacturerString>
    <Note>sample string 36</Note>
    <NoteOrder>sample string 22</NoteOrder>
    <OrderQuantity>34</OrderQuantity>
    <OrderTotal>40</OrderTotal>
    <OutOfStockDays>35</OutOfStockDays>
    <Packing>sample string 23</Packing>
    <PositionId>24</PositionId>
    <PositionString>sample string 25</PositionString>
    <Price>27</Price>
    <PriceCost>26</PriceCost>
    <ProductUnitId>19</ProductUnitId>
    <ProductUnitName>sample string 20</ProductUnitName>
    <QtyOrder>17</QtyOrder>
    <QtyPurchaseOrder>16</QtyPurchaseOrder>
    <Quantity>37</Quantity>
    <QuocGiaId>28</QuocGiaId>
    <QuocGiaString>sample string 29</QuocGiaString>
    <RegistrationNumber>sample string 30</RegistrationNumber>
    <Status>ACTIVE</Status>
    <Title>sample string 31</Title>
    <Type>Thuoc</Type>
    <Weight>32</Weight>
  </GetListProductResponse>
  <GetListProductResponse>
    <Abbreviations>sample string 3</Abbreviations>
    <Barcode>sample string 4</Barcode>
    <BodyUsedId>5</BodyUsedId>
    <BodyUsedString>sample string 6</BodyUsedString>
    <CategoryId>7</CategoryId>
    <CategoryString>sample string 8</CategoryString>
    <Code>sample string 9</Code>
    <Color>sample string 2</Color>
    <Description>sample string 10</Description>
    <Discount>38</Discount>
    <DiscountType>39</DiscountType>
    <Files xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>f4cc0d6b-54e7-41a1-b202-a1430867dac4</d3p1:guid>
      <d3p1:guid>2fd109c6-928c-485e-b933-4b9561d4581b</d3p1:guid>
    </Files>
    <HamLuong>sample string 11</HamLuong>
    <HoatChat>sample string 12</HoatChat>
    <Id>ffb067c1-5ebe-4188-8130-b90f0984772b</Id>
    <Inventory>15</Inventory>
    <InventoryMax>13</InventoryMax>
    <InventoryMin>14</InventoryMin>
    <InventoryQuantity>33</InventoryQuantity>
    <IsHomepage>true</IsHomepage>
    <LstPrice xmlns:d3p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
      <d3p1:ProductPriceMapping>
        <d3p1:Date>2025-10-26T13:11:33.0404507+07:00</d3p1:Date>
        <d3p1:Id>2</d3p1:Id>
        <d3p1:Price>1</d3p1:Price>
        <d3p1:ProductId>1cf24c5c-d99d-496d-be07-23be86b466fc</d3p1:ProductId>
        <d3p1:PurchaseOrderId>adb4cfff-195c-47e9-b3e0-527ef5731e30</d3p1:PurchaseOrderId>
        <d3p1:Quantity>5</d3p1:Quantity>
        <d3p1:QuantityOrigin>1</d3p1:QuantityOrigin>
        <d3p1:SupplierId>6</d3p1:SupplierId>
        <d3p1:Type>3</d3p1:Type>
      </d3p1:ProductPriceMapping>
      <d3p1:ProductPriceMapping>
        <d3p1:Date>2025-10-26T13:11:33.0404507+07:00</d3p1:Date>
        <d3p1:Id>2</d3p1:Id>
        <d3p1:Price>1</d3p1:Price>
        <d3p1:ProductId>1cf24c5c-d99d-496d-be07-23be86b466fc</d3p1:ProductId>
        <d3p1:PurchaseOrderId>adb4cfff-195c-47e9-b3e0-527ef5731e30</d3p1:PurchaseOrderId>
        <d3p1:Quantity>5</d3p1:Quantity>
        <d3p1:QuantityOrigin>1</d3p1:QuantityOrigin>
        <d3p1:SupplierId>6</d3p1:SupplierId>
        <d3p1:Type>3</d3p1:Type>
      </d3p1:ProductPriceMapping>
    </LstPrice>
    <ManufacturerId>1</ManufacturerId>
    <ManufacturerString>sample string 21</ManufacturerString>
    <Note>sample string 36</Note>
    <NoteOrder>sample string 22</NoteOrder>
    <OrderQuantity>34</OrderQuantity>
    <OrderTotal>40</OrderTotal>
    <OutOfStockDays>35</OutOfStockDays>
    <Packing>sample string 23</Packing>
    <PositionId>24</PositionId>
    <PositionString>sample string 25</PositionString>
    <Price>27</Price>
    <PriceCost>26</PriceCost>
    <ProductUnitId>19</ProductUnitId>
    <ProductUnitName>sample string 20</ProductUnitName>
    <QtyOrder>17</QtyOrder>
    <QtyPurchaseOrder>16</QtyPurchaseOrder>
    <Quantity>37</Quantity>
    <QuocGiaId>28</QuocGiaId>
    <QuocGiaString>sample string 29</QuocGiaString>
    <RegistrationNumber>sample string 30</RegistrationNumber>
    <Status>ACTIVE</Status>
    <Title>sample string 31</Title>
    <Type>Thuoc</Type>
    <Weight>32</Weight>
  </GetListProductResponse>
</ArrayOfGetListProductResponse>