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": "3f30c134-347d-489d-9282-17df3de843d9",
"OrderCustomerId": "1fa4323f-b52f-46d5-90eb-a5e1caa88a6e",
"PurchaseOrderId": "410054d7-8ce6-4181-bb2e-5b88d853b4d9",
"Amount": 2.0,
"PaymentTime": "2025-10-26T13:12:13.5580467+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "925bd233-aedd-484f-9627-0e99345572a9",
"CreatedTime": "2025-10-26T13:12:13.5610675+07:00",
"IsDeleted": true
},
{
"Id": "3f30c134-347d-489d-9282-17df3de843d9",
"OrderCustomerId": "1fa4323f-b52f-46d5-90eb-a5e1caa88a6e",
"PurchaseOrderId": "410054d7-8ce6-4181-bb2e-5b88d853b4d9",
"Amount": 2.0,
"PaymentTime": "2025-10-26T13:12:13.5580467+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "925bd233-aedd-484f-9627-0e99345572a9",
"CreatedTime": "2025-10-26T13:12:13.5610675+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>925bd233-aedd-484f-9627-0e99345572a9</CreatedId>
<CreatedTime>2025-10-26T13:12:13.5610675+07:00</CreatedTime>
<Id>3f30c134-347d-489d-9282-17df3de843d9</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>1fa4323f-b52f-46d5-90eb-a5e1caa88a6e</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2025-10-26T13:12:13.5580467+07:00</PaymentTime>
<PurchaseOrderId>410054d7-8ce6-4181-bb2e-5b88d853b4d9</PurchaseOrderId>
</PaymentHistoryReponse>
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>925bd233-aedd-484f-9627-0e99345572a9</CreatedId>
<CreatedTime>2025-10-26T13:12:13.5610675+07:00</CreatedTime>
<Id>3f30c134-347d-489d-9282-17df3de843d9</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>1fa4323f-b52f-46d5-90eb-a5e1caa88a6e</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2025-10-26T13:12:13.5580467+07:00</PaymentTime>
<PurchaseOrderId>410054d7-8ce6-4181-bb2e-5b88d853b4d9</PurchaseOrderId>
</PaymentHistoryReponse>
</ArrayOfPaymentHistoryReponse>