| GET | /v1.1/transactions/listpaymentactivity | ||
|---|---|---|---|
| GET | /v1.2/transactions/listpaymentactivity |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ListPaymentActivity extends ListPaymentActivity implements IReturnLegacyException
{
}
public static class PaymentActivity
{
public Integer TransactionId = null;
public String TransactionType = null;
public Date TransactionDate = null;
public BigDecimal Amount = null;
public String Notes = null;
public BigDecimal FeeAmount = null;
public String Reason = null;
public String PayerName = null;
public String PayerAddress = null;
public String PayerEmail = null;
public String GroupName = null;
public Integer getTransactionId() { return TransactionId; }
public PaymentActivity setTransactionId(Integer value) { this.TransactionId = value; return this; }
public String getTransactionType() { return TransactionType; }
public PaymentActivity setTransactionType(String value) { this.TransactionType = value; return this; }
public Date getTransactionDate() { return TransactionDate; }
public PaymentActivity setTransactionDate(Date value) { this.TransactionDate = value; return this; }
public BigDecimal getAmount() { return Amount; }
public PaymentActivity setAmount(BigDecimal value) { this.Amount = value; return this; }
public String getNotes() { return Notes; }
public PaymentActivity setNotes(String value) { this.Notes = value; return this; }
public BigDecimal getFeeAmount() { return FeeAmount; }
public PaymentActivity setFeeAmount(BigDecimal value) { this.FeeAmount = value; return this; }
public String getReason() { return Reason; }
public PaymentActivity setReason(String value) { this.Reason = value; return this; }
public String getPayerName() { return PayerName; }
public PaymentActivity setPayerName(String value) { this.PayerName = value; return this; }
public String getPayerAddress() { return PayerAddress; }
public PaymentActivity setPayerAddress(String value) { this.PayerAddress = value; return this; }
public String getPayerEmail() { return PayerEmail; }
public PaymentActivity setPayerEmail(String value) { this.PayerEmail = value; return this; }
public String getGroupName() { return GroupName; }
public PaymentActivity setGroupName(String value) { this.GroupName = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1.1/transactions/listpaymentactivity HTTP/1.1 Host: devapi.billhighway.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"TransactionId":0,"TransactionType":"String","TransactionDate":"0001-01-01T00:00:00.0000000","Amount":0,"Notes":"String","FeeAmount":0,"Reason":"String","PayerName":"String","PayerAddress":"String","PayerEmail":"String","GroupName":"String"}