GET api/GetPaymentHistory?customerno={customerno}&fromdate={fromdate}&thrudate={thrudate}&excludetype={excludetype}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerno | integer |
Required |
|
fromdate | date |
Required |
|
thrudate | date |
Required |
|
excludetype | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentDataName | Description | Type | Additional information |
---|---|---|---|
CustomerNo | integer |
None. |
|
TransactionID | decimal number |
None. |
|
TransactionDate | date |
None. |
|
AmountPayed | decimal number |
None. |
|
TypeOfTrasaction | string |
None. |
|
BankAccount | string |
None. |
|
AdditionalInfo | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CustomerNo": 1, "TransactionID": 2.1, "TransactionDate": "2025-04-04T05:33:55.6329157+03:00", "AmountPayed": 4.1, "TypeOfTrasaction": "sample string 5", "BankAccount": "sample string 6", "AdditionalInfo": "sample string 7" }, { "CustomerNo": 1, "TransactionID": 2.1, "TransactionDate": "2025-04-04T05:33:55.6329157+03:00", "AmountPayed": 4.1, "TypeOfTrasaction": "sample string 5", "BankAccount": "sample string 6", "AdditionalInfo": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfPaymentData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PaymentHistory.Models"> <PaymentData> <AdditionalInfo>sample string 7</AdditionalInfo> <AmountPayed>4.1</AmountPayed> <BankAccount>sample string 6</BankAccount> <CustomerNo>1</CustomerNo> <TransactionDate>2025-04-04T05:33:55.6329157+03:00</TransactionDate> <TransactionID>2.1</TransactionID> <TypeOfTrasaction>sample string 5</TypeOfTrasaction> </PaymentData> <PaymentData> <AdditionalInfo>sample string 7</AdditionalInfo> <AmountPayed>4.1</AmountPayed> <BankAccount>sample string 6</BankAccount> <CustomerNo>1</CustomerNo> <TransactionDate>2025-04-04T05:33:55.6329157+03:00</TransactionDate> <TransactionID>2.1</TransactionID> <TypeOfTrasaction>sample string 5</TypeOfTrasaction> </PaymentData> </ArrayOfPaymentData>