WebAPI

<back to all web services

GetFinancialTransactions

/GetFinancialTransactions will retrive all of the financial activities that have been made on an account

The following routes are available for this service:
POST/GetFinancialTransactions
Parameters:
NameParameterData TypeRequiredDescription
AccountIdpathintegerYes
PageSizepathintegerYes
PageNumberpathintegerYes
StartDatepathstringNoYYYY-MM-DD
EndDatepathstringNoYYYY-MM-DD
SortingpathstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/GetFinancialTransactions HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: application/json
Content-Length: length

{"AccountId":0,"ExcludePassage":false,"PageSize":0,"PageNumber":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","Sorting":"String","SearchAmount":0,"SearchFJNo":0,"ExcludePayment":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"FinancialHistories":[{"Date":"\/Date(-62135596800000-0000)\/","FjNo":0,"Description":"String","Comments":"String","TransactionType":"String","TransactionCode":"String","Credit":0,"Debit":0,"Balance":0,"PayType":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]},"TotalNumber":0}