\MonthsApi
All URIs are relative to https://api.youneedabudget.com/v1
Method | HTTP request | Description |
---|---|---|
get_budget_month | get /budgets/{budget_id}/months/{month} | Single budget month |
get_budget_months | get /budgets/{budget_id}/months | List budget months |
get_budget_month
crate::models::MonthDetailResponse get_budget_month(budget_id, month) Single budget month
Returns a single budget month
Parameters
Name | Type | Description | Required | Notes |
---|---|---|---|---|
budget_id | String | The id of the budget (\"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget) | [required] | |
month | String | The budget month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) | [required] |
Return type
crate::models::MonthDetailResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_budget_months
crate::models::MonthSummariesResponse get_budget_months(budget_id, last_knowledge_of_server) List budget months
Returns all budget months
Parameters
Name | Type | Description | Required | Notes |
---|---|---|---|---|
budget_id | String | The id of the budget (\"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget) | [required] | |
last_knowledge_of_server | Option<i64> | The starting server knowledge. If provided, only entities that have changed since last_knowledge_of_server will be included. |
Return type
crate::models::MonthSummariesResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]