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": "444a2901-1c4b-45bc-a205-4297d5e2d81b",
"OrderCustomerId": "c4a217a5-ef93-4ae6-abc0-b5115d148ae5",
"PurchaseOrderId": "3f3d768b-6b8b-486b-8a35-13e3f1765dfe",
"Amount": 2.0,
"PaymentTime": "2026-04-14T21:55:36.9646862+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "f1ea9a33-27c8-491f-bac1-04a78ef98bd0",
"CreatedTime": "2026-04-14T21:55:36.9656445+07:00",
"IsDeleted": true
},
{
"Id": "444a2901-1c4b-45bc-a205-4297d5e2d81b",
"OrderCustomerId": "c4a217a5-ef93-4ae6-abc0-b5115d148ae5",
"PurchaseOrderId": "3f3d768b-6b8b-486b-8a35-13e3f1765dfe",
"Amount": 2.0,
"PaymentTime": "2026-04-14T21:55:36.9646862+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "f1ea9a33-27c8-491f-bac1-04a78ef98bd0",
"CreatedTime": "2026-04-14T21:55:36.9656445+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>f1ea9a33-27c8-491f-bac1-04a78ef98bd0</CreatedId>
<CreatedTime>2026-04-14T21:55:36.9656445+07:00</CreatedTime>
<Id>444a2901-1c4b-45bc-a205-4297d5e2d81b</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>c4a217a5-ef93-4ae6-abc0-b5115d148ae5</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-04-14T21:55:36.9646862+07:00</PaymentTime>
<PurchaseOrderId>3f3d768b-6b8b-486b-8a35-13e3f1765dfe</PurchaseOrderId>
</PaymentHistoryReponse>
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>f1ea9a33-27c8-491f-bac1-04a78ef98bd0</CreatedId>
<CreatedTime>2026-04-14T21:55:36.9656445+07:00</CreatedTime>
<Id>444a2901-1c4b-45bc-a205-4297d5e2d81b</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>c4a217a5-ef93-4ae6-abc0-b5115d148ae5</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-04-14T21:55:36.9646862+07:00</PaymentTime>
<PurchaseOrderId>3f3d768b-6b8b-486b-8a35-13e3f1765dfe</PurchaseOrderId>
</PaymentHistoryReponse>
</ArrayOfPaymentHistoryReponse>