GET api/Product/GetDetail?productId={productId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
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": "0ddc0a02-2ab0-4547-bdf9-23fa5ff9cf4b",
"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": [
"16f16ad5-6fa8-470f-b8c5-5d1e3a92b028",
"9ad8a830-554e-4d3a-b4e7-31d5339a5570"
],
"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": "97b46c05-b432-43f0-a96a-a55f50950328",
"quantity": 5,
"date": "2026-11-27T01:55:47.3917959+07:00",
"supplierId": 6,
"purchaseOrderId": "8ea72a8d-8a63-40d1-9426-b88c878d4e24",
"quantityOrigin": 1
},
{
"price": 1.0,
"id": 2,
"type": 3,
"productId": "97b46c05-b432-43f0-a96a-a55f50950328",
"quantity": 5,
"date": "2026-11-27T01:55:47.3917959+07:00",
"supplierId": 6,
"purchaseOrderId": "8ea72a8d-8a63-40d1-9426-b88c878d4e24",
"quantityOrigin": 1
}
],
"supplierId": 1,
"supplierName": "sample string 41",
"isPaidSupplier": true,
"paidSupplierDate": "2026-11-27T01:55:47.3917959+07:00"
}
application/xml, text/xml
Sample:
<GetListProductResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Response.Product">
<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:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>16f16ad5-6fa8-470f-b8c5-5d1e3a92b028</d2p1:guid>
<d2p1:guid>9ad8a830-554e-4d3a-b4e7-31d5339a5570</d2p1:guid>
</Files>
<HamLuong>sample string 11</HamLuong>
<HoatChat>sample string 12</HoatChat>
<Id>0ddc0a02-2ab0-4547-bdf9-23fa5ff9cf4b</Id>
<Inventory>15</Inventory>
<InventoryMax>13</InventoryMax>
<InventoryMin>14</InventoryMin>
<InventoryQuantity>33</InventoryQuantity>
<IsHomepage>true</IsHomepage>
<IsPaidSupplier>true</IsPaidSupplier>
<LstPrice xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
<d2p1:ProductPriceMapping>
<d2p1:Date>2026-11-27T01:55:47.3917959+07:00</d2p1:Date>
<d2p1:Id>2</d2p1:Id>
<d2p1:Price>1</d2p1:Price>
<d2p1:ProductId>97b46c05-b432-43f0-a96a-a55f50950328</d2p1:ProductId>
<d2p1:PurchaseOrderId>8ea72a8d-8a63-40d1-9426-b88c878d4e24</d2p1:PurchaseOrderId>
<d2p1:Quantity>5</d2p1:Quantity>
<d2p1:QuantityOrigin>1</d2p1:QuantityOrigin>
<d2p1:SupplierId>6</d2p1:SupplierId>
<d2p1:Type>3</d2p1:Type>
</d2p1:ProductPriceMapping>
<d2p1:ProductPriceMapping>
<d2p1:Date>2026-11-27T01:55:47.3917959+07:00</d2p1:Date>
<d2p1:Id>2</d2p1:Id>
<d2p1:Price>1</d2p1:Price>
<d2p1:ProductId>97b46c05-b432-43f0-a96a-a55f50950328</d2p1:ProductId>
<d2p1:PurchaseOrderId>8ea72a8d-8a63-40d1-9426-b88c878d4e24</d2p1:PurchaseOrderId>
<d2p1:Quantity>5</d2p1:Quantity>
<d2p1:QuantityOrigin>1</d2p1:QuantityOrigin>
<d2p1:SupplierId>6</d2p1:SupplierId>
<d2p1:Type>3</d2p1:Type>
</d2p1: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:47.3917959+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>