POST api/Product/ListAllProductByIds
Request Information
URI Parameters
None.
Body Parameters
ListProductByCategoryRequest| Name | Description | Type | Additional 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": [
"f058bf1e-aff5-4dff-9ef2-c79854e8efef",
"6be33af1-5340-469c-98aa-1e8a0d802ac9"
],
"purchaserOrderId": "b54ae63f-3720-449e-a0e4-b94bd7ab8b51",
"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>b54ae63f-3720-449e-a0e4-b94bd7ab8b51</PurchaserOrderId>
<lstProductId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f058bf1e-aff5-4dff-9ef2-c79854e8efef</d2p1:guid>
<d2p1:guid>6be33af1-5340-469c-98aa-1e8a0d802ac9</d2p1:guid>
</lstProductId>
</ListProductByCategoryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of GetListProductResponse| Name | Description | Type | Additional 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. |
|
| SupplierId | integer |
None. |
|
| SupplierName | string |
None. |
|
| IsPaidSupplier | boolean |
None. |
|
| PaidSupplierDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "f53d712c-43a4-470e-9048-1cfe423b1c40",
"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": [
"38e75468-8c10-40d9-bbc8-1ab1cd673277",
"75706c7d-eee7-41c9-9597-10c071b67040"
],
"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": "8b82dabd-e5a7-43fd-b52e-1b433a99206c",
"quantity": 5,
"date": "2026-11-27T01:55:44.9622256+07:00",
"supplierId": 6,
"purchaseOrderId": "a9d746e3-429b-4016-a563-317c7235ff5e",
"quantityOrigin": 1
},
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "8b82dabd-e5a7-43fd-b52e-1b433a99206c",
"quantity": 5,
"date": "2026-11-27T01:55:44.9622256+07:00",
"supplierId": 6,
"purchaseOrderId": "a9d746e3-429b-4016-a563-317c7235ff5e",
"quantityOrigin": 1
}
],
"supplierId": 1,
"supplierName": "sample string 41",
"isPaidSupplier": true,
"paidSupplierDate": "2026-11-27T01:55:44.9622256+07:00"
},
{
"id": "f53d712c-43a4-470e-9048-1cfe423b1c40",
"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": [
"38e75468-8c10-40d9-bbc8-1ab1cd673277",
"75706c7d-eee7-41c9-9597-10c071b67040"
],
"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": "8b82dabd-e5a7-43fd-b52e-1b433a99206c",
"quantity": 5,
"date": "2026-11-27T01:55:44.9622256+07:00",
"supplierId": 6,
"purchaseOrderId": "a9d746e3-429b-4016-a563-317c7235ff5e",
"quantityOrigin": 1
},
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "8b82dabd-e5a7-43fd-b52e-1b433a99206c",
"quantity": 5,
"date": "2026-11-27T01:55:44.9622256+07:00",
"supplierId": 6,
"purchaseOrderId": "a9d746e3-429b-4016-a563-317c7235ff5e",
"quantityOrigin": 1
}
],
"supplierId": 1,
"supplierName": "sample string 41",
"isPaidSupplier": true,
"paidSupplierDate": "2026-11-27T01:55:44.9622256+07:00"
}
]
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>38e75468-8c10-40d9-bbc8-1ab1cd673277</d3p1:guid>
<d3p1:guid>75706c7d-eee7-41c9-9597-10c071b67040</d3p1:guid>
</Files>
<HamLuong>sample string 11</HamLuong>
<HoatChat>sample string 12</HoatChat>
<Id>f53d712c-43a4-470e-9048-1cfe423b1c40</Id>
<Inventory>15</Inventory>
<InventoryMax>13</InventoryMax>
<InventoryMin>14</InventoryMin>
<InventoryQuantity>33</InventoryQuantity>
<IsHomepage>true</IsHomepage>
<IsPaidSupplier>true</IsPaidSupplier>
<LstPrice xmlns:d3p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
<d3p1:ProductPriceMapping>
<d3p1:Date>2026-11-27T01:55:44.9622256+07:00</d3p1:Date>
<d3p1:Id>2</d3p1:Id>
<d3p1:Price>1</d3p1:Price>
<d3p1:ProductId>8b82dabd-e5a7-43fd-b52e-1b433a99206c</d3p1:ProductId>
<d3p1:PurchaseOrderId>a9d746e3-429b-4016-a563-317c7235ff5e</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>2026-11-27T01:55:44.9622256+07:00</d3p1:Date>
<d3p1:Id>2</d3p1:Id>
<d3p1:Price>1</d3p1:Price>
<d3p1:ProductId>8b82dabd-e5a7-43fd-b52e-1b433a99206c</d3p1:ProductId>
<d3p1:PurchaseOrderId>a9d746e3-429b-4016-a563-317c7235ff5e</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>
<PaidSupplierDate>2026-11-27T01:55:44.9622256+07:00</PaidSupplierDate>
<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>
<SupplierId>1</SupplierId>
<SupplierName>sample string 41</SupplierName>
<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>38e75468-8c10-40d9-bbc8-1ab1cd673277</d3p1:guid>
<d3p1:guid>75706c7d-eee7-41c9-9597-10c071b67040</d3p1:guid>
</Files>
<HamLuong>sample string 11</HamLuong>
<HoatChat>sample string 12</HoatChat>
<Id>f53d712c-43a4-470e-9048-1cfe423b1c40</Id>
<Inventory>15</Inventory>
<InventoryMax>13</InventoryMax>
<InventoryMin>14</InventoryMin>
<InventoryQuantity>33</InventoryQuantity>
<IsHomepage>true</IsHomepage>
<IsPaidSupplier>true</IsPaidSupplier>
<LstPrice xmlns:d3p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
<d3p1:ProductPriceMapping>
<d3p1:Date>2026-11-27T01:55:44.9622256+07:00</d3p1:Date>
<d3p1:Id>2</d3p1:Id>
<d3p1:Price>1</d3p1:Price>
<d3p1:ProductId>8b82dabd-e5a7-43fd-b52e-1b433a99206c</d3p1:ProductId>
<d3p1:PurchaseOrderId>a9d746e3-429b-4016-a563-317c7235ff5e</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>2026-11-27T01:55:44.9622256+07:00</d3p1:Date>
<d3p1:Id>2</d3p1:Id>
<d3p1:Price>1</d3p1:Price>
<d3p1:ProductId>8b82dabd-e5a7-43fd-b52e-1b433a99206c</d3p1:ProductId>
<d3p1:PurchaseOrderId>a9d746e3-429b-4016-a563-317c7235ff5e</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>
<PaidSupplierDate>2026-11-27T01:55:44.9622256+07:00</PaidSupplierDate>
<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>
<SupplierId>1</SupplierId>
<SupplierName>sample string 41</SupplierName>
<Title>sample string 31</Title>
<Type>Thuoc</Type>
<Weight>32</Weight>
</GetListProductResponse>
</ArrayOfGetListProductResponse>