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": "f2dc2066-46b7-4afa-b983-209d3b6400cc",
"OrderCustomerId": "fcfe8e40-6a3f-4c2c-b0f6-a0d87c601da1",
"PurchaseOrderId": "d2d01c84-f3a2-49c9-95d6-0ca2c157c6ca",
"Amount": 2.0,
"PaymentTime": "2025-12-24T20:27:27.317554+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "750e78b2-1b92-4f13-a0eb-ca9a051a9136",
"CreatedTime": "2025-12-24T20:27:27.3185335+07:00",
"IsDeleted": true
},
{
"Id": "f2dc2066-46b7-4afa-b983-209d3b6400cc",
"OrderCustomerId": "fcfe8e40-6a3f-4c2c-b0f6-a0d87c601da1",
"PurchaseOrderId": "d2d01c84-f3a2-49c9-95d6-0ca2c157c6ca",
"Amount": 2.0,
"PaymentTime": "2025-12-24T20:27:27.317554+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "750e78b2-1b92-4f13-a0eb-ca9a051a9136",
"CreatedTime": "2025-12-24T20:27:27.3185335+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>750e78b2-1b92-4f13-a0eb-ca9a051a9136</CreatedId>
<CreatedTime>2025-12-24T20:27:27.3185335+07:00</CreatedTime>
<Id>f2dc2066-46b7-4afa-b983-209d3b6400cc</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>fcfe8e40-6a3f-4c2c-b0f6-a0d87c601da1</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2025-12-24T20:27:27.317554+07:00</PaymentTime>
<PurchaseOrderId>d2d01c84-f3a2-49c9-95d6-0ca2c157c6ca</PurchaseOrderId>
</PaymentHistoryReponse>
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>750e78b2-1b92-4f13-a0eb-ca9a051a9136</CreatedId>
<CreatedTime>2025-12-24T20:27:27.3185335+07:00</CreatedTime>
<Id>f2dc2066-46b7-4afa-b983-209d3b6400cc</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>fcfe8e40-6a3f-4c2c-b0f6-a0d87c601da1</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2025-12-24T20:27:27.317554+07:00</PaymentTime>
<PurchaseOrderId>d2d01c84-f3a2-49c9-95d6-0ca2c157c6ca</PurchaseOrderId>
</PaymentHistoryReponse>
</ArrayOfPaymentHistoryReponse>