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": "18a55b2d-eaaf-4895-b4b9-edd96a57ca96",
"orderCustomerId": "7b7f8a25-60b9-49f7-90ba-55a3201df2e6",
"purchaseOrderId": "fe9ad18b-6d0f-4fff-8084-41767f43b839",
"amount": 2.0,
"paymentTime": "2026-11-27T01:55:47.6752853+07:00",
"paymentMethod": 4,
"note": "sample string 5",
"createdId": "5d8b6ce3-ed9c-42b8-ab91-1784ed0fd272",
"createdTime": "2026-11-27T01:55:47.6752853+07:00",
"isDeleted": true
},
{
"id": "18a55b2d-eaaf-4895-b4b9-edd96a57ca96",
"orderCustomerId": "7b7f8a25-60b9-49f7-90ba-55a3201df2e6",
"purchaseOrderId": "fe9ad18b-6d0f-4fff-8084-41767f43b839",
"amount": 2.0,
"paymentTime": "2026-11-27T01:55:47.6752853+07:00",
"paymentMethod": 4,
"note": "sample string 5",
"createdId": "5d8b6ce3-ed9c-42b8-ab91-1784ed0fd272",
"createdTime": "2026-11-27T01:55:47.6752853+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>5d8b6ce3-ed9c-42b8-ab91-1784ed0fd272</CreatedId>
<CreatedTime>2026-11-27T01:55:47.6752853+07:00</CreatedTime>
<Id>18a55b2d-eaaf-4895-b4b9-edd96a57ca96</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>7b7f8a25-60b9-49f7-90ba-55a3201df2e6</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-11-27T01:55:47.6752853+07:00</PaymentTime>
<PurchaseOrderId>fe9ad18b-6d0f-4fff-8084-41767f43b839</PurchaseOrderId>
</PaymentHistoryReponse>
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>5d8b6ce3-ed9c-42b8-ab91-1784ed0fd272</CreatedId>
<CreatedTime>2026-11-27T01:55:47.6752853+07:00</CreatedTime>
<Id>18a55b2d-eaaf-4895-b4b9-edd96a57ca96</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>7b7f8a25-60b9-49f7-90ba-55a3201df2e6</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-11-27T01:55:47.6752853+07:00</PaymentTime>
<PurchaseOrderId>fe9ad18b-6d0f-4fff-8084-41767f43b839</PurchaseOrderId>
</PaymentHistoryReponse>
</ArrayOfPaymentHistoryReponse>