NAV

<back to all web services

FinancialTransactionsGet

The following routes are available for this service:
GET/financial-transactions/{BeeNumberCustomer}/{TransactionSequence}
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 FinancialTransactionsGet
            Implements IGet
            Public Overridable Property BeeNumberCustomer As Decimal
            Public Overridable Property TransactionSequence As Integer
        End Class

        Public Partial Class FinancialTransactionsGetResponse
            Inherits GetResponse(Of FinancialTransactionsGetViewModel)
        End Class

        Public Partial Class FinancialTransactionsGetViewModel
            Public Overridable Property BeeNumberCustomer As Decimal
            Public Overridable Property TransactionTime As Date
            Public Overridable Property TransactionId As String
            Public Overridable Property Campaign As String
            Public Overridable Property TransactionCode As String
            Public Overridable Property TransactionBIDSCode As String
            Public Overridable Property OrderNumber As String
            Public Overridable Property InvoiceNumber As String
            Public Overridable Property RetailSalesAmount As Nullable(Of Decimal)
            Public Overridable Property FederalTaxAmount1 As Nullable(Of Decimal)
            Public Overridable Property FederalTaxAmount2 As Nullable(Of Decimal)
            Public Overridable Property LocalTaxAmount As Nullable(Of Decimal)
            Public Overridable Property TransactionAmount As Nullable(Of Decimal)
            Public Overridable Property PaymentAmount As Nullable(Of Decimal)
            Public Overridable Property TransactionBalanceAmount As Nullable(Of Decimal)
            Public Overridable Property CustomerPrice As Nullable(Of Decimal)
            Public Overridable Property FreeAmount As Nullable(Of Decimal)
            Public Overridable Property BonusAmount As Nullable(Of Decimal)
            Public Overridable Property DiscountPercentage As Nullable(Of Decimal)
            Public Overridable Property CustomerCount As Nullable(Of Decimal)
            Public Overridable Property PRCPromotionCode As String
            Public Overridable Property AccountType As String
            Public Overridable Property State As String
            Public Overridable Property TaxArea As String
            Public Overridable Property TaxRate As Nullable(Of Decimal)
            Public Overridable Property TaxIndicator As String
            Public Overridable Property NetSalesAmount As Nullable(Of Decimal)
            Public Overridable Property CurrentBalance As Nullable(Of Decimal)
            Public Overridable Property OperatorId As String
        End Class

        Public Partial Class GetResponse(Of TEntity)
            Public Overridable Property Item As TEntity
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET FinancialTransactionsGet DTOs

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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /financial-transactions/{BeeNumberCustomer}/{TransactionSequence} HTTP/1.1 
Host: extensions.avon.ca 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	item: 
	{
		beeNumberCustomer: 0,
		transactionTime: 0001-01-01T00:00:00,
		transactionId: String,
		campaign: String,
		transactionCode: String,
		transactionBIDSCode: String,
		orderNumber: String,
		invoiceNumber: String,
		retailSalesAmount: 0,
		federalTaxAmount1: 0,
		federalTaxAmount2: 0,
		localTaxAmount: 0,
		transactionAmount: 0,
		paymentAmount: 0,
		transactionBalanceAmount: 0,
		customerPrice: 0,
		freeAmount: 0,
		bonusAmount: 0,
		discountPercentage: 0,
		customerCount: 0,
		prcPromotionCode: String,
		accountType: String,
		state: String,
		taxArea: String,
		taxRate: 0,
		taxIndicator: String,
		netSalesAmount: 0,
		currentBalance: 0,
		operatorId: String
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}