GET api/PurchaseOrder/GetListPaymentHistory?purchaseOrderId={purchaseOrderId}&orderCustomerId={orderCustomerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseOrderId | globally unique identifier |
None. |
|
| orderCustomerId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentHistoryReponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OrderCustomerId | globally unique identifier |
None. |
|
| PurchaseOrderId | globally unique identifier |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentTime | date |
None. |
|
| PaymentMethod | integer |
None. |
|
| Note | string |
None. |
|
| CreatedId | globally unique identifier |
None. |
|
| CreatedTime | date |
None. |
|
| IsDeleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "626c132d-6c01-4e4e-bd6d-6b83523b7a42",
"OrderCustomerId": "4c30c6f1-21d1-43df-8e7e-277314726faf",
"PurchaseOrderId": "bb782c79-7db2-4e9b-8659-117dbcf95e77",
"Amount": 2.0,
"PaymentTime": "2026-04-21T17:29:05.0210448+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "1340209f-6cdc-49f7-ab74-9e7069ab6df7",
"CreatedTime": "2026-04-21T17:29:05.0210448+07:00",
"IsDeleted": true
},
{
"Id": "626c132d-6c01-4e4e-bd6d-6b83523b7a42",
"OrderCustomerId": "4c30c6f1-21d1-43df-8e7e-277314726faf",
"PurchaseOrderId": "bb782c79-7db2-4e9b-8659-117dbcf95e77",
"Amount": 2.0,
"PaymentTime": "2026-04-21T17:29:05.0210448+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "1340209f-6cdc-49f7-ab74-9e7069ab6df7",
"CreatedTime": "2026-04-21T17:29:05.0210448+07:00",
"IsDeleted": true
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentHistoryReponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Response.PurchaseOrder">
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>1340209f-6cdc-49f7-ab74-9e7069ab6df7</CreatedId>
<CreatedTime>2026-04-21T17:29:05.0210448+07:00</CreatedTime>
<Id>626c132d-6c01-4e4e-bd6d-6b83523b7a42</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>4c30c6f1-21d1-43df-8e7e-277314726faf</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-04-21T17:29:05.0210448+07:00</PaymentTime>
<PurchaseOrderId>bb782c79-7db2-4e9b-8659-117dbcf95e77</PurchaseOrderId>
</PaymentHistoryReponse>
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>1340209f-6cdc-49f7-ab74-9e7069ab6df7</CreatedId>
<CreatedTime>2026-04-21T17:29:05.0210448+07:00</CreatedTime>
<Id>626c132d-6c01-4e4e-bd6d-6b83523b7a42</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>4c30c6f1-21d1-43df-8e7e-277314726faf</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-04-21T17:29:05.0210448+07:00</PaymentTime>
<PurchaseOrderId>bb782c79-7db2-4e9b-8659-117dbcf95e77</PurchaseOrderId>
</PaymentHistoryReponse>
</ArrayOfPaymentHistoryReponse>