go-firefly3/docs/AutocompleteApi.md
2024-05-11 14:45:50 +03:00

26 KiB

{{classname}}

All URIs are relative to https://demo.firefly-iii.org/api

Method HTTP request Description
GetAccountsAC Get /v1/autocomplete/accounts Returns all accounts of the user returned in a basic auto-complete array.
GetBillsAC Get /v1/autocomplete/bills Returns all bills of the user returned in a basic auto-complete array.
GetBudgetsAC Get /v1/autocomplete/budgets Returns all budgets of the user returned in a basic auto-complete array.
GetCategoriesAC Get /v1/autocomplete/categories Returns all categories of the user returned in a basic auto-complete array.
GetCurrenciesAC Get /v1/autocomplete/currencies Returns all currencies of the user returned in a basic auto-complete array.
GetCurrenciesCodeAC Get /v1/autocomplete/currencies-with-code Returns all currencies of the user returned in a basic auto-complete array. This endpoint is DEPRECATED and I suggest you DO NOT use it.
GetObjectGroupsAC Get /v1/autocomplete/object-groups Returns all object groups of the user returned in a basic auto-complete array.
GetPiggiesAC Get /v1/autocomplete/piggy-banks Returns all piggy banks of the user returned in a basic auto-complete array.
GetPiggiesBalanceAC Get /v1/autocomplete/piggy-banks-with-balance Returns all piggy banks of the user returned in a basic auto-complete array complemented with balance information.
GetRecurringAC Get /v1/autocomplete/recurring Returns all recurring transactions of the user returned in a basic auto-complete array.
GetRuleGroupsAC Get /v1/autocomplete/rule-groups Returns all rule groups of the user returned in a basic auto-complete array.
GetRulesAC Get /v1/autocomplete/rules Returns all rules of the user returned in a basic auto-complete array.
GetTagAC Get /v1/autocomplete/tags Returns all tags of the user returned in a basic auto-complete array.
GetTransactionTypesAC Get /v1/autocomplete/transaction-types Returns all transaction types returned in a basic auto-complete array. English only.
GetTransactionsAC Get /v1/autocomplete/transactions Returns all transaction descriptions of the user returned in a basic auto-complete array.
GetTransactionsIDAC Get /v1/autocomplete/transactions-with-id Returns all transactions, complemented with their ID, of the user returned in a basic auto-complete array. This endpoint is DEPRECATED and I suggest you DO NOT use it.

GetAccountsAC

[]AutocompleteAccount GetAccountsAC(ctx, optional) Returns all accounts of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetAccountsACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetAccountsACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.
date optional.String If the account is an asset account or a liability, the autocomplete will also return the balance of the account on this date.
types **optional.Interface of []AccountTypeFilter** Optional filter on the account type(s) used in the autocomplete.

Return type

**[]AutocompleteAccount**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetBillsAC

[]AutocompleteBill GetBillsAC(ctx, optional) Returns all bills of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetBillsACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetBillsACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteBill**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetBudgetsAC

[]AutocompleteBudget GetBudgetsAC(ctx, optional) Returns all budgets of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetBudgetsACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetBudgetsACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteBudget**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetCategoriesAC

[]AutocompleteCategory GetCategoriesAC(ctx, optional) Returns all categories of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetCategoriesACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetCategoriesACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteCategory**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetCurrenciesAC

[]AutocompleteCurrency GetCurrenciesAC(ctx, optional) Returns all currencies of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetCurrenciesACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetCurrenciesACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteCurrency**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetCurrenciesCodeAC

[]AutocompleteCurrencyCode GetCurrenciesCodeAC(ctx, optional) Returns all currencies of the user returned in a basic auto-complete array. This endpoint is DEPRECATED and I suggest you DO NOT use it.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetCurrenciesCodeACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetCurrenciesCodeACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteCurrencyCode**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetObjectGroupsAC

[]AutocompleteObjectGroup GetObjectGroupsAC(ctx, optional) Returns all object groups of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetObjectGroupsACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetObjectGroupsACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteObjectGroup**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetPiggiesAC

[]AutocompletePiggy GetPiggiesAC(ctx, optional) Returns all piggy banks of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetPiggiesACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetPiggiesACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompletePiggy**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetPiggiesBalanceAC

[]AutocompletePiggyBalance GetPiggiesBalanceAC(ctx, optional) Returns all piggy banks of the user returned in a basic auto-complete array complemented with balance information.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetPiggiesBalanceACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetPiggiesBalanceACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompletePiggyBalance**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetRecurringAC

[]AutocompleteRecurrence GetRecurringAC(ctx, optional) Returns all recurring transactions of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetRecurringACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetRecurringACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteRecurrence**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetRuleGroupsAC

[]AutocompleteRuleGroup GetRuleGroupsAC(ctx, optional) Returns all rule groups of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetRuleGroupsACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetRuleGroupsACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteRuleGroup**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetRulesAC

[]AutocompleteRule GetRulesAC(ctx, optional) Returns all rules of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetRulesACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetRulesACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteRule**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetTagAC

[]AutocompleteTag GetTagAC(ctx, optional) Returns all tags of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetTagACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetTagACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteTag**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetTransactionTypesAC

[]AutocompleteTransactionType GetTransactionTypesAC(ctx, optional) Returns all transaction types returned in a basic auto-complete array. English only.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetTransactionTypesACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetTransactionTypesACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteTransactionType**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetTransactionsAC

[]AutocompleteTransaction GetTransactionsAC(ctx, optional) Returns all transaction descriptions of the user returned in a basic auto-complete array.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetTransactionsACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetTransactionsACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteTransaction**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetTransactionsIDAC

[]AutocompleteTransactionId GetTransactionsIDAC(ctx, optional) Returns all transactions, complemented with their ID, of the user returned in a basic auto-complete array. This endpoint is DEPRECATED and I suggest you DO NOT use it.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *AutocompleteApiGetTransactionsIDACOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AutocompleteApiGetTransactionsIDACOpts struct

Name Type Description Notes
xTraceId optional.Interface of string Unique identifier associated with this request.
query optional.String The autocomplete search query.
limit optional.Int32 The number of items returned.

Return type

**[]AutocompleteTransactionId**

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]