Get Forecasted Transactions

GET {{base_url}}/forecasting/v2/transactions

All forecasted transactions linked to the provided forecast id will be returned.

Query Parameters

FieldTypeDescription
pageIdstringPage offset of results
fromdateTimeReturns forecasted transactions posted on or after from date
todateTimeReturns forecasted transactions posted on or before to date
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
forecastIdstringUnique identifier for the forecast

Attributes

FieldTypeDescription
idstringUnique identifier for the transaction
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
forecastIdstringUnique identifier for the forecast
valueDatedateTimeValue date for the transaction
currencystringTransaction currency
amountintegerTransaction amount
typestringTransaction type {DEBIT,CREDIT}
merchantstringName of the merchant
categorystringName of the category
reasonsstringReasons why a particular transaction has been added to the forecast
sourcestringSource of data import {MANUALIMPORT, MODEL}

Error Messages

ConditionResponse StatusResponse Body
Invalid partnerId403 Forbidden
Invalid companyId403 Forbidden
Invalid pageId400 Bad Request
Invalid accountId404 Not Found
Invalid forecastId404 Not Found

Request Params

KeyDatatypeRequiredDescription
pageIdnullPage offset of results
fromnullReturns forecasts posted on or after "from" date
tonullReturns forecasts posted on or before "to" date
bankIdnullUnique identifier for the bank
accountIdnullUnique identifier for the bank account
forecastIdnullUnique identifier for the forecast

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-partner-idstring
X-Api-Keystring
X-Company-Idstring
Authorizationstring

RESPONSES

status: OK

{"results":[{"id":"transactionId1234","forecastId":"forecastId1234","bankId":16,"accountId":"9aed0933-8e38-4571-93dd-8e775c8233e7","valueDate":"2020-09-18T03:59Z","amount":"1000.00","currency":"USD","type":"CREDIT","merchant":"LLoyds","category":"Tax","reasons":"","source":"MANUALIMPORT"},{"id":"transactionId2345","forecastId":"forecastId2345","bankId":16,"accountId":"9aed0933-8e38-4571-93dd-8e775c8233e7","valueDate":"2020-09-18T03:59Z","amount":"1000.00","currency":"USD","type":"CREDIT","merchant":"LLoyds","category":"Tax","reasons":"","source":"MANUALIMPORT"},{"id":"transactionId3456","forecastId":"forecastId3456","bankId":16,"accountId":"9aed0933-8e38-4571-93dd-8e775c8233e7","valueDate":"2020-09-18T03:59Z","amount":"1000.00","currency":"USD","type":"CREDIT","merchant":"LLoyds","category":"Tax","reasons":"","source":"MANUALIMPORT"}],"links":{}}