diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-08-17 01:18:47 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-08-17 01:21:39 -0400 |
commit | a494b85f2ab08c98f57c59883c07bb92e2afd193 (patch) | |
tree | 2f5b8168225a48654013cc05310dbe0371d2e6b0 /ynab-api/docs/TransactionsApi.md | |
parent | c21d4e9ce167d8411cfb40d309987acc9f5bf2a3 (diff) | |
download | ynab-api-a494b85f2ab08c98f57c59883c07bb92e2afd193.tar.gz ynab-api-a494b85f2ab08c98f57c59883c07bb92e2afd193.zip |
add a separate model for update transactions
unlike creating transactions, they require a transaction id
Diffstat (limited to 'ynab-api/docs/TransactionsApi.md')
-rw-r--r-- | ynab-api/docs/TransactionsApi.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ynab-api/docs/TransactionsApi.md b/ynab-api/docs/TransactionsApi.md index 04b8bc3..64ecb4b 100644 --- a/ynab-api/docs/TransactionsApi.md +++ b/ynab-api/docs/TransactionsApi.md @@ -272,7 +272,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context containing the authentication | nil if no authentication **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) | **transaction_id** | **String**| The id of the transaction | - **data** | [**SaveTransactionWrapper**](SaveTransactionWrapper.md)| The transaction to update | + **data** | [**UpdateTransactionWrapper**](UpdateTransactionWrapper.md)| The transaction to update | ### Return type @@ -292,7 +292,7 @@ Name | Type | Description | Notes ## update_transactions -> ::models::SaveTransactionsResponse update_transactions(ctx, budget_id, data) +> ::models::UpdateTransactionsResponse update_transactions(ctx, budget_id, data) Update multiple transactions Updates multiple transactions, by 'id' or 'import_id'. @@ -304,11 +304,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context containing the authentication | nil if no authentication **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) | - **data** | [**SaveTransactionsWrapper**](SaveTransactionsWrapper.md)| The transactions to update. Optionally, transaction 'id' value(s) can be specified as null and an 'import_id' value can be provided which will allow transaction(s) to updated by their import_id. | + **data** | [**UpdateTransactionsWrapper**](UpdateTransactionsWrapper.md)| The transactions to update. Optionally, transaction 'id' value(s) can be specified as null and an 'import_id' value can be provided which will allow transaction(s) to updated by their import_id. | ### Return type -[**::models::SaveTransactionsResponse**](SaveTransactionsResponse.md) +[**::models::UpdateTransactionsResponse**](UpdateTransactionsResponse.md) ### Authorization |