MonthService
public class MonthService
Provides access to month operations
-
getMonths(budgetId:AsynchronouslastKnowledgeOfServer: ) Returns a list of budget months.
Declaration
Swift
public func getMonths( budgetId: String, lastKnowledgeOfServer: ServerKnowledge? = nil ) async throws -> [MonthSummary]Parameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
lastKnowledgeOfServerIf provided, only entities that have changed since
lastKnowledgeOfServerwill be included.Return Value
A list of months
-
getMonth(budgetId:Asynchronousmonth: ) Returns a specific month for a budget.
Declaration
Swift
public func getMonth(budgetId: String, month: String) async throws -> MonthDetailParameters
budgetIdThe id of the budget (last_used can also be used to specify the last used budget)
monthThe budget month in ISO format (e.g. 2016-12-01) (current can also be used to specify the current calendar month (UTC))
Return Value
A single month
View on GitHub
MonthService Class Reference