Events
List events in scenario.
Lists events belonging to a scenario by their ID.
get/scenarios/{id}/events
Path parameters
idinteger required
The unique identifier of the scenario.
Query parameters
start_datestring required
Return the events from and including this date.
end_datestring required
Return the events until and including this date.
Response
Success
Example response
[
{
"id": "42-1601942400",
"category": {
"id": 1438154,
"title": "Beer",
"colour": "#00ff00",
"parent_id": 42,
"is_bill": true,
"refund_behaviour": "credits_are_refunds",
"created_at": "2015-08-16T02:17:02Z",
"updated_at": "2015-08-16T02:17:02Z"
},
"scenario": {
"id": 42,
"title": "Wedding",
"interest_rate": 2.4,
"interest_rate_repeat_id": 4,
"type": "no-interest",
"minimum-value": 4000,
"maximum-value": 42,
"starting_balance": 2450,
"starting_balance_date": "2018-02-27",
"closing_balance": 5431.2,
"closing_balance_date": "2018-02-27",
"current_balance": 5431.2,
"current_balance_date": "2018-02-27",
"current_balance_in_base_currency": 8146.8,
"current_balance_exchange_rate": 1.5,
"safe_balance": 5431.2,
"safe_balance_in_base_currency": 8146.8,
"created_at": "2015-04-21T22:42:22Z",
"updated_at": "2015-04-21T22:42:22Z"
},
"amount": 250.5,
"amount_in_base_currency": 375.75,
"currency_code": "nzd",
"date": "2020-10-27",
"colour": "#F63737",
"note": "Buy more beer every Friday from the local brewery.",
"repeat_type": "weekly",
"repeat_interval": 1,
"series_id": 42,
"series_start_id": "42-1593993600",
"infinite_series": true
}
]