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. |
Response Formats
application/json, text/json
Sample:
{
"Id": "e93d2b52-bb84-44c0-a76f-4769de5ddc85",
"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": [
"0186faf3-6a61-462b-a099-9abb6066ae00",
"95a92c27-52ca-4c9b-a90d-ae9860657434"
],
"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": "ee655c93-1ed7-455a-8ff6-e8180f6da595",
"Quantity": 5,
"Date": "2025-10-26T13:14:56.1088614+07:00",
"SupplierId": 6,
"PurchaseOrderId": "e26589a1-5afc-453a-9e2e-71b0b6512910",
"QuantityOrigin": 1
},
{
"Price": 1.0,
"Id": 2,
"Type": 3,
"ProductId": "ee655c93-1ed7-455a-8ff6-e8180f6da595",
"Quantity": 5,
"Date": "2025-10-26T13:14:56.1088614+07:00",
"SupplierId": 6,
"PurchaseOrderId": "e26589a1-5afc-453a-9e2e-71b0b6512910",
"QuantityOrigin": 1
}
]
}
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>0186faf3-6a61-462b-a099-9abb6066ae00</d2p1:guid>
<d2p1:guid>95a92c27-52ca-4c9b-a90d-ae9860657434</d2p1:guid>
</Files>
<HamLuong>sample string 11</HamLuong>
<HoatChat>sample string 12</HoatChat>
<Id>e93d2b52-bb84-44c0-a76f-4769de5ddc85</Id>
<Inventory>15</Inventory>
<InventoryMax>13</InventoryMax>
<InventoryMin>14</InventoryMin>
<InventoryQuantity>33</InventoryQuantity>
<IsHomepage>true</IsHomepage>
<LstPrice xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSO_Repository.Entities">
<d2p1:ProductPriceMapping>
<d2p1:Date>2025-10-26T13:14:56.1088614+07:00</d2p1:Date>
<d2p1:Id>2</d2p1:Id>
<d2p1:Price>1</d2p1:Price>
<d2p1:ProductId>ee655c93-1ed7-455a-8ff6-e8180f6da595</d2p1:ProductId>
<d2p1:PurchaseOrderId>e26589a1-5afc-453a-9e2e-71b0b6512910</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>2025-10-26T13:14:56.1088614+07:00</d2p1:Date>
<d2p1:Id>2</d2p1:Id>
<d2p1:Price>1</d2p1:Price>
<d2p1:ProductId>ee655c93-1ed7-455a-8ff6-e8180f6da595</d2p1:ProductId>
<d2p1:PurchaseOrderId>e26589a1-5afc-453a-9e2e-71b0b6512910</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>
<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>