List budgets history
Get budget history list.
GET /budgets/{id}/history
Required scope:
- budgets:r
Parameters
id * required string
|
Budget id. |
page optional integer
|
Page to display, used for pagination. Minimum:>= 0 Default value: 0 |
per_page optional integer
|
Number of resource objects to return. Minimum:>= 10 Maximum: =< 500 Default value: 200 |
from optional string
|
Used to define date range, in YYYY-MM-DD format. Format:date |
to * required string
|
Used to define date range, in YYYY-MM-DD format. Format:date |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/budgets/42/history?to=2017-07-31 \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"