GET api/PurchaseOrder/GetDetail/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PurchaseOrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| CreatedId | globally unique identifier |
None. |
|
| CreatedTime | date |
None. |
|
| Status | PurchaseOrderStatusEnum |
None. |
|
| StatusStr | string |
None. |
|
| TotalOrder | decimal number |
None. |
|
| Note | string |
None. |
|
| Discount | decimal number |
None. |
|
| DiscountType | integer |
None. |
|
| SupplierId | integer |
None. |
|
| TotalQuantity | integer |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| SupplierName | string |
None. |
|
| PayingAmount | decimal number |
None. |
|
| RemainingDebt | decimal number |
None. |
|
| PurchaseOrderDateTime | date |
None. |
|
| Id | globally unique identifier |
None. |
|
| ImporterId | globally unique identifier |
None. |
|
| UpdatedId | globally unique identifier |
None. |
|
| UpdatedTime | date |
None. |
|
| TotalProduct | integer |
None. |
|
| PaymentType | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"CreatedId": "c2039b56-df75-4f4d-84cf-439d0597c3cb",
"CreatedTime": "2026-04-14T21:52:04.7449905+07:00",
"Status": 0,
"StatusStr": "Phiếu tạm",
"TotalOrder": 4.0,
"Note": "sample string 5",
"Discount": 6.0,
"DiscountType": 7,
"SupplierId": 8,
"TotalQuantity": 9,
"TotalDiscount": 10.0,
"SupplierName": "sample string 11",
"PayingAmount": 12.0,
"RemainingDebt": 13.0,
"PurchaseOrderDateTime": "2026-04-14T21:52:04.7449905+07:00",
"Id": "4b5c7975-1944-4e01-9683-04e9b407bea2",
"ImporterId": "a599d3f7-246e-42d7-badd-19a8d89c5263",
"UpdatedId": "58904613-a1ab-46c0-82ec-b4f2c3366d39",
"UpdatedTime": "2026-04-14T21:52:04.7449905+07:00",
"TotalProduct": 19,
"PaymentType": 20
}
application/xml, text/xml
Sample:
<PurchaseOrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Dto.PurchaseOrder"> <Code>sample string 1</Code> <CreatedId>c2039b56-df75-4f4d-84cf-439d0597c3cb</CreatedId> <CreatedTime>2026-04-14T21:52:04.7449905+07:00</CreatedTime> <Discount>6</Discount> <DiscountType>7</DiscountType> <Id>4b5c7975-1944-4e01-9683-04e9b407bea2</Id> <ImporterId>a599d3f7-246e-42d7-badd-19a8d89c5263</ImporterId> <Note>sample string 5</Note> <PayingAmount>12</PayingAmount> <PaymentType>20</PaymentType> <PurchaseOrderDateTime>2026-04-14T21:52:04.7449905+07:00</PurchaseOrderDateTime> <RemainingDebt>13</RemainingDebt> <Status>DRAFT</Status> <SupplierId>8</SupplierId> <SupplierName>sample string 11</SupplierName> <TotalDiscount>10</TotalDiscount> <TotalOrder>4</TotalOrder> <TotalProduct>19</TotalProduct> <TotalQuantity>9</TotalQuantity> <UpdatedId>58904613-a1ab-46c0-82ec-b4f2c3366d39</UpdatedId> <UpdatedTime>2026-04-14T21:52:04.7449905+07:00</UpdatedTime> </PurchaseOrderDto>