Get Forecast (by id)

GET {{base_url}}/forecasting/v2/forecasts/:forecastId

A specific forecast can be retrieved by providing a forecast id.

The response will include a timestamp, source and name of the forecast.

Get all forecasts for the company. Each forecast has an id, timestamp, source and name.

Path variables

FieldTypeDescription
forecastIdstringUnique identifier for the forecast

Attributes

FieldTypeDescription
idstringUnique identifier for the forecast
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
datedatetimeDate when the forecast was generated
sourcestringSource of forecast {MODEL, MANUALIMPORT}
namestringName of Forecast

Error Messages

ConditionResponse StatusResponse Body
Invalid forecastId404 Not Found

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Partner-Idstring
X-APi-Keystring
Authorizationstring
X-Company-Idstring

RESPONSES

status: OK

{"id":"forecastId1234","bankId":16,"accountId":"9aed0933-8e38-4571-93dd-8e775c8233e7","name":"Forecast-Mar1","date":"2021-03-01T09:34:00.284Z","source":"MANUALIMPORT"}