Create Forecast

POST {{base_url}}/forecasting/v2/forecasts

Create forecast

Before the user can adjust their forecast, a new forecast id can be generated so balances and transactions that are adjusted by the user can be linked to the id.

When this forecast is retrieved by calling Get all forecasts endpoint, the source will be MANUALIMPORT.

Attributes

FieldTypeDescription
namestringName provided for the forecast
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account

Request Body

{"values"=>[{"name"=>"Forecast-2020-Oct29", "bankId"=>16, "accountId"=>"accountId1234"}, {"name"=>"Forecast-2020-Oct30", "bankId"=>18, "accountId"=>"accountId2345"}]}

HEADERS

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