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
Field | Type | Description |
---|---|---|
name | string | Name provided for the forecast |
bankId | integer | Unique identifier for the bank |
accountId | string | Unique 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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-Partner-id | string | ||
X-Api-Key | string | ||
Authorization | string | ||
X-Company-Id | string |