Get Forecasted Balance (by id)

GET {{base_url}}/forecasting/v2/balances/:balanceId

'Get Forecasted Balance' will return the forecasted balance for the provided forecast id

Path variables

FieldTypeDescription
balanceIdstringUnique identifier for the balance

Attributes

FieldTypeDescription
idstringUnique identifier for the balance
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
forecastIdstringUnique identifier for the forecast
datedatetimeBalance date
currencystringBalance currency
amountintegerBalance amount
typestringTransaction type {DEBIT,CREDIT}
sourcestringSource of data import {MANUALIMPORT, MODEL}

Error Messages

ConditionResponse StatusResponse Body
Invalid balanceId404 Not Found
Invalid partnerId403 Forbidden
Invalid companyId403 Forbidden

HEADERS

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

RESPONSES

status: OK

"{\n    \"id\": \"balanceId1234\",\n    \"bankId\": 16,\n    \"accountId\": \"accountId1234\",\n    \"forecastId\": \"forecastId1234\"\n    \"date\": \"2020-11-30T03:59Z\",\n    \"amount\": \"100000.00\",\n    \"currency\": \"GBP\",\n    \"type\": \"CREDIT\",\n    \"source\": \"MANUALIMPORT\"\n}\n"