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": "e29d4299-d040-4e7e-9073-1ab689a6790c",
"OrderCustomerId": "da397b83-954f-4599-aa76-6b09100e4ba8",
"PurchaseOrderId": "9a93a5ce-9faf-4688-b823-926124c0606c",
"Amount": 2.0,
"PaymentTime": "2026-11-17T15:50:47.959154+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "d6257467-13aa-491b-8689-f62b35d06132",
"CreatedTime": "2026-11-17T15:50:47.960134+07:00",
"IsDeleted": true
},
{
"Id": "e29d4299-d040-4e7e-9073-1ab689a6790c",
"OrderCustomerId": "da397b83-954f-4599-aa76-6b09100e4ba8",
"PurchaseOrderId": "9a93a5ce-9faf-4688-b823-926124c0606c",
"Amount": 2.0,
"PaymentTime": "2026-11-17T15:50:47.959154+07:00",
"PaymentMethod": 4,
"Note": "sample string 5",
"CreatedId": "d6257467-13aa-491b-8689-f62b35d06132",
"CreatedTime": "2026-11-17T15:50:47.960134+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>d6257467-13aa-491b-8689-f62b35d06132</CreatedId>
<CreatedTime>2026-11-17T15:50:47.960134+07:00</CreatedTime>
<Id>e29d4299-d040-4e7e-9073-1ab689a6790c</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>da397b83-954f-4599-aa76-6b09100e4ba8</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-11-17T15:50:47.959154+07:00</PaymentTime>
<PurchaseOrderId>9a93a5ce-9faf-4688-b823-926124c0606c</PurchaseOrderId>
</PaymentHistoryReponse>
<PaymentHistoryReponse>
<Amount>2</Amount>
<CreatedId>d6257467-13aa-491b-8689-f62b35d06132</CreatedId>
<CreatedTime>2026-11-17T15:50:47.960134+07:00</CreatedTime>
<Id>e29d4299-d040-4e7e-9073-1ab689a6790c</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 5</Note>
<OrderCustomerId>da397b83-954f-4599-aa76-6b09100e4ba8</OrderCustomerId>
<PaymentMethod>4</PaymentMethod>
<PaymentTime>2026-11-17T15:50:47.959154+07:00</PaymentTime>
<PurchaseOrderId>9a93a5ce-9faf-4688-b823-926124c0606c</PurchaseOrderId>
</PaymentHistoryReponse>
</ArrayOfPaymentHistoryReponse>