| GET | /financial-transactions-statement |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class FinancialTransactionsStatementGetList : IGet
{
var beeNumber:BigDecimal? = null
var transactionType:String? = null
var startTime:Date? = null
var endTime:Date? = null
}
open class FinancialTransactionsStatementGetListResponse : GetListResponse<FinancialTransactionsStatementGetListViewModel>()
{
}
open class GetListResponse<TEntity>
{
var items:ArrayList<TEntity> = ArrayList<TEntity>()
var responseStatus:ResponseStatus? = null
}
open class FinancialTransactionsStatementGetListViewModel
{
var transactionDate:Date? = null
var description:String? = null
var amount:BigDecimal? = null
var balance:BigDecimal? = null
var isCredit:Boolean? = null
}
Kotlin FinancialTransactionsStatementGetList DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /financial-transactions-statement HTTP/1.1 Host: extensions.avon.ca Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
items:
[
{
transactionDate: 0001-01-01T00:00:00,
description: String,
amount: 0,
balance: 0,
isCredit: False
}
],
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}