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": "9d1b9c44-48d5-4df6-9c02-4d2874c1d411",
"OrderCustomerId": "4c9d5f1e-bc43-4468-92c8-7edac17f39cf",
"PurchaseOrderId": "b197e95f-b07b-4143-a9aa-733ff61a458e",
"Amount": 2.0,
"PaymentTime": "2026-04-14T19:40:49.0022496+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "c09856cd-53c8-4cc4-ad75-59dea6c9369c",
"CreatedTime": "2026-04-14T19:40:49.0032785+07:00",
"IsDeleted": true
},
{
"Id": "9d1b9c44-48d5-4df6-9c02-4d2874c1d411",
"OrderCustomerId": "4c9d5f1e-bc43-4468-92c8-7edac17f39cf",
"PurchaseOrderId": "b197e95f-b07b-4143-a9aa-733ff61a458e",
"Amount": 2.0,
"PaymentTime": "2026-04-14T19:40:49.0022496+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "c09856cd-53c8-4cc4-ad75-59dea6c9369c",
"CreatedTime": "2026-04-14T19:40:49.0032785+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>c09856cd-53c8-4cc4-ad75-59dea6c9369c</CreatedId>
<CreatedTime>2026-04-14T19:40:49.0032785+07:00</CreatedTime>
<Id>9d1b9c44-48d5-4df6-9c02-4d2874c1d411</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>4c9d5f1e-bc43-4468-92c8-7edac17f39cf</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-04-14T19:40:49.0022496+07:00</PaymentTime>
<PurchaseOrderId>b197e95f-b07b-4143-a9aa-733ff61a458e</PurchaseOrderId>
</PaymentHistoryReponse>
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>c09856cd-53c8-4cc4-ad75-59dea6c9369c</CreatedId>
<CreatedTime>2026-04-14T19:40:49.0032785+07:00</CreatedTime>
<Id>9d1b9c44-48d5-4df6-9c02-4d2874c1d411</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>4c9d5f1e-bc43-4468-92c8-7edac17f39cf</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-04-14T19:40:49.0022496+07:00</PaymentTime>
<PurchaseOrderId>b197e95f-b07b-4143-a9aa-733ff61a458e</PurchaseOrderId>
</PaymentHistoryReponse>
</ArrayOfPaymentHistoryReponse>