GET api/um/v1/paymenthistory/{accountNumber}/{startDate}
Returns collection of PaymentHistory object for requested account number.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
accountNumber | Account Number including tenant number separated by dash. |
Define this parameter in the request URI. |
startDate | Gets records on or after given date. Date format yyyy-MM-dd. |
Define this parameter in the request URI. |
Response Information
IEnumerable of PaymentHistory object.
Response body formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfPaymentHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewWorld.Logos.WebApi.Models.UM.Accounts"> <PaymentHistory> <AccountNumber>00000001-001</AccountNumber> <BillingDate>2025-05-12T02:09:00.0881305-05:00</BillingDate> <PaymentAmount>2</PaymentAmount> <PaymentDate>2025-05-12T02:09:00.0881305-05:00</PaymentDate> <ServiceFromDate>2025-05-12T02:09:00.0881305-05:00</ServiceFromDate> <ServiceToDate>2025-05-12T02:09:00.0881305-05:00</ServiceToDate> <TransactionDescription>sample string 5</TransactionDescription> <TransactionType>sample string 4</TransactionType> </PaymentHistory> <PaymentHistory> <AccountNumber>sample string 1</AccountNumber> <BillingDate>2025-05-12T02:09:00.0881305-05:00</BillingDate> <PaymentAmount>2</PaymentAmount> <PaymentDate>2025-05-12T02:09:00.0881305-05:00</PaymentDate> <ServiceFromDate>2025-05-12T02:09:00.0881305-05:00</ServiceFromDate> <ServiceToDate>2025-05-12T02:09:00.0881305-05:00</ServiceToDate> <TransactionDescription>sample string 5</TransactionDescription> <TransactionType>sample string 4</TransactionType> </PaymentHistory> <PaymentHistory> <AccountNumber>sample string 1</AccountNumber> <BillingDate>2025-05-12T02:09:00.0881305-05:00</BillingDate> <PaymentAmount>2</PaymentAmount> <PaymentDate>2025-05-12T02:09:00.0881305-05:00</PaymentDate> <ServiceFromDate>2025-05-12T02:09:00.0881305-05:00</ServiceFromDate> <ServiceToDate>2025-05-12T02:09:00.0881305-05:00</ServiceToDate> <TransactionDescription>sample string 5</TransactionDescription> <TransactionType>sample string 4</TransactionType> </PaymentHistory> </ArrayOfPaymentHistory>