NAV

<back to all web services

FinancialTransactionsStatementGetList

The following routes are available for this service:
GET/financial-transactions-statement
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports NAV.ServiceModel

Namespace Global

    Namespace NAV.ServiceModel

        Public Partial Class FinancialTransactionsStatementGetList
            Implements IGet
            Public Overridable Property BeeNumber As Nullable(Of Decimal)
            Public Overridable Property TransactionType As String
            Public Overridable Property StartTime As Date
            Public Overridable Property EndTime As Date
        End Class

        Public Partial Class FinancialTransactionsStatementGetListResponse
            Inherits GetListResponse(Of FinancialTransactionsStatementGetListViewModel)
        End Class

        Public Partial Class FinancialTransactionsStatementGetListViewModel
            Public Overridable Property TransactionDate As Date
            Public Overridable Property Description As String
            Public Overridable Property Amount As Decimal
            Public Overridable Property Balance As Decimal
            Public Overridable Property IsCredit As Boolean
        End Class

        Public Partial Class GetListResponse(Of TEntity)
            Public Sub New()
                Items = New List(Of TEntity)
            End Sub

            Public Overridable Property Items As List(Of TEntity)
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET FinancialTransactionsStatementGetList DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"items":[{"transactionDate":"0001-01-01T00:00:00.0000000","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"}}}