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": "f3957d4d-6081-427f-92c5-189c8a6b5064",
"CreatedTime": "2026-04-14T19:39:14.7671642+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-14T19:39:14.7689437+07:00",
"Id": "d7f33793-a934-4f32-a88f-efd23cda84f2",
"ImporterId": "ac679b03-81f4-4d4b-a3e8-93cda9ff8b15",
"UpdatedId": "108d879d-c762-4258-a3b1-8e722db1248d",
"UpdatedTime": "2026-04-14T19:39:14.7698737+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>f3957d4d-6081-427f-92c5-189c8a6b5064</CreatedId> <CreatedTime>2026-04-14T19:39:14.7671642+07:00</CreatedTime> <Discount>6</Discount> <DiscountType>7</DiscountType> <Id>d7f33793-a934-4f32-a88f-efd23cda84f2</Id> <ImporterId>ac679b03-81f4-4d4b-a3e8-93cda9ff8b15</ImporterId> <Note>sample string 5</Note> <PayingAmount>12</PayingAmount> <PaymentType>20</PaymentType> <PurchaseOrderDateTime>2026-04-14T19:39:14.7689437+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>108d879d-c762-4258-a3b1-8e722db1248d</UpdatedId> <UpdatedTime>2026-04-14T19:39:14.7698737+07:00</UpdatedTime> </PurchaseOrderDto>