class BudgeaClient::WealthApi

Attributes

api_client[RW]

Public Class Methods

new(api_client = ApiClient.default) click to toggle source
# File lib/budgea_client/api/wealth_api.rb, line 19
def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Public Instance Methods

finance_securities_get(opts = {}) click to toggle source

Get finance securities

@param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20019]

# File lib/budgea_client/api/wealth_api.rb, line 27
def finance_securities_get(opts = {})
  data, _status_code, _headers = finance_securities_get_with_http_info(opts)
  data
end
finance_securities_get_with_http_info(opts = {}) click to toggle source

Get finance securities

@param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 37
def finance_securities_get_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.finance_securities_get ...'
  end
  # resource path
  local_var_path = '/finance/securities'

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20019')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#finance_securities_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
finance_securities_id_security_history_get(id_security, opts = {}) click to toggle source

Get connection logs Get logs about connections.
@param id_security @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [nil]

# File lib/budgea_client/api/wealth_api.rb, line 83
def finance_securities_id_security_history_get(id_security, opts = {})
  finance_securities_id_security_history_get_with_http_info(id_security, opts)
  nil
end
finance_securities_id_security_history_get_with_http_info(id_security, opts = {}) click to toggle source

Get connection logs Get logs about connections.&lt;br&gt;&lt;br&gt; @param id_security @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 98
def finance_securities_id_security_history_get_with_http_info(id_security, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.finance_securities_id_security_history_get ...'
  end
  # verify the required parameter 'id_security' is set
  if @api_client.config.client_side_validation && id_security.nil?
    fail ArgumentError, "Missing the required parameter 'id_security' when calling WealthApi.finance_securities_id_security_history_get"
  end
  # resource path
  local_var_path = '/finance/securities/{id_security}/history'.sub('{' + 'id_security' + '}', id_security.to_s)

  # query parameters
  query_params = {}
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
  query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
  query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
  query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#finance_securities_id_security_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_accounts_id_account_investments_get(id_user, id_account, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [InlineResponse20024]

# File lib/budgea_client/api/wealth_api.rb, line 150
def users_id_user_accounts_id_account_investments_get(id_user, id_account, opts = {})
  data, _status_code, _headers = users_id_user_accounts_id_account_investments_get_with_http_info(id_user, id_account, opts)
  data
end
users_id_user_accounts_id_account_investments_get_with_http_info(id_user, id_account, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [Array<(InlineResponse20024, Fixnum, Hash)>] InlineResponse20024 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 164
def users_id_user_accounts_id_account_investments_get_with_http_info(id_user, id_account, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_accounts_id_account_investments_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_accounts_id_account_investments_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/accounts/{id_account}/investments'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s)

  # query parameters
  query_params = {}
  query_params[:'label'] = opts[:'label'] if !opts[:'label'].nil?
  query_params[:'code'] = opts[:'code'] if !opts[:'code'].nil?
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20024')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_accounts_id_account_investments_id_investment_history_get(id_user, id_account, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20025]

# File lib/budgea_client/api/wealth_api.rb, line 218
def users_id_user_accounts_id_account_investments_id_investment_history_get(id_user, id_account, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_account, id_investment, opts)
  data
end
users_id_user_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_account, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20025, Fixnum, Hash)>] InlineResponse20025 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 231
def users_id_user_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_account, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/accounts/{id_account}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20025')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_accounts_id_account_investments_id_investment_pockets_get(id_user, id_account, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 287
def users_id_user_accounts_id_account_investments_id_investment_pockets_get(id_user, id_account, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_accounts_id_account_investments_id_investment_pockets_get_with_http_info(id_user, id_account, id_investment, opts)
  data
end
users_id_user_accounts_id_account_investments_id_investment_pockets_get_with_http_info(id_user, id_account, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 300
def users_id_user_accounts_id_account_investments_id_investment_pockets_get_with_http_info(id_user, id_account, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/accounts/{id_account}/investments/{id_investment}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_id_investment_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_accounts_id_account_investments_id_investment_security_history_get(id_user, id_account, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.
@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [nil]

# File lib/budgea_client/api/wealth_api.rb, line 360
def users_id_user_accounts_id_account_investments_id_investment_security_history_get(id_user, id_account, id_investment, opts = {})
  users_id_user_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_account, id_investment, opts)
  nil
end
users_id_user_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_account, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.&lt;br&gt;&lt;br&gt; @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 377
def users_id_user_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_account, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_security_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_accounts_id_account_investments_id_investment_security_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/accounts/{id_account}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
  query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
  query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
  query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_id_investment_security_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_accounts_id_account_pockets_get(id_user, id_account, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 435
def users_id_user_accounts_id_account_pockets_get(id_user, id_account, opts = {})
  data, _status_code, _headers = users_id_user_accounts_id_account_pockets_get_with_http_info(id_user, id_account, opts)
  data
end
users_id_user_accounts_id_account_pockets_get_with_http_info(id_user, id_account, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_account @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 447
def users_id_user_accounts_id_account_pockets_get_with_http_info(id_user, id_account, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_accounts_id_account_pockets_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_accounts_id_account_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/accounts/{id_account}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_account' + '}', id_account.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_accounts_id_account_investments_get(id_user, id_connection, id_account, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [InlineResponse20024]

# File lib/budgea_client/api/wealth_api.rb, line 501
def users_id_user_connections_id_connection_accounts_id_account_investments_get(id_user, id_connection, id_account, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_investments_get_with_http_info(id_user, id_connection, id_account, opts)
  data
end
users_id_user_connections_id_connection_accounts_id_account_investments_get_with_http_info(id_user, id_connection, id_account, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [Array<(InlineResponse20024, Fixnum, Hash)>] InlineResponse20024 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 516
def users_id_user_connections_id_connection_accounts_id_account_investments_get_with_http_info(id_user, id_connection, id_account, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s)

  # query parameters
  query_params = {}
  query_params[:'label'] = opts[:'label'] if !opts[:'label'].nil?
  query_params[:'code'] = opts[:'code'] if !opts[:'code'].nil?
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20024')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get(id_user, id_connection, id_account, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20025]

# File lib/budgea_client/api/wealth_api.rb, line 575
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get(id_user, id_connection, id_account, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts)
  data
end
users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20025, Fixnum, Hash)>] InlineResponse20025 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 589
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20025')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get(id_user, id_connection, id_account, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 650
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get(id_user, id_connection, id_account, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get_with_http_info(id_user, id_connection, id_account, id_investment, opts)
  data
end
users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 664
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get(id_user, id_connection, id_account, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.
@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [nil]

# File lib/budgea_client/api/wealth_api.rb, line 729
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get(id_user, id_connection, id_account, id_investment, opts = {})
  users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts)
  nil
end
users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.&lt;br&gt;&lt;br&gt; @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 747
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
  query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
  query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
  query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_security_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_accounts_id_account_pockets_get(id_user, id_connection, id_account, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 810
def users_id_user_connections_id_connection_accounts_id_account_pockets_get(id_user, id_connection, id_account, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_pockets_get_with_http_info(id_user, id_connection, id_account, opts)
  data
end
users_id_user_connections_id_connection_accounts_id_account_pockets_get_with_http_info(id_user, id_connection, id_account, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_account @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 823
def users_id_user_connections_id_connection_accounts_id_account_pockets_get_with_http_info(id_user, id_connection, id_account, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_pockets_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_pockets_get"
  end
  # verify the required parameter 'id_account' is set
  if @api_client.config.client_side_validation && id_account.nil?
    fail ArgumentError, "Missing the required parameter 'id_account' when calling WealthApi.users_id_user_connections_id_connection_accounts_id_account_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/accounts/{id_account}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_account' + '}', id_account.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_investments_get(id_user, id_connection, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [InlineResponse20024]

# File lib/budgea_client/api/wealth_api.rb, line 880
def users_id_user_connections_id_connection_investments_get(id_user, id_connection, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_investments_get_with_http_info(id_user, id_connection, opts)
  data
end
users_id_user_connections_id_connection_investments_get_with_http_info(id_user, id_connection, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [Array<(InlineResponse20024, Fixnum, Hash)>] InlineResponse20024 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 894
def users_id_user_connections_id_connection_investments_get_with_http_info(id_user, id_connection, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_investments_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_investments_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/investments'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)

  # query parameters
  query_params = {}
  query_params[:'label'] = opts[:'label'] if !opts[:'label'].nil?
  query_params[:'code'] = opts[:'code'] if !opts[:'code'].nil?
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20024')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_investments_id_investment_history_get(id_user, id_connection, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20025]

# File lib/budgea_client/api/wealth_api.rb, line 948
def users_id_user_connections_id_connection_investments_id_investment_history_get(id_user, id_connection, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_investment, opts)
  data
end
users_id_user_connections_id_connection_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20025, Fixnum, Hash)>] InlineResponse20025 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 961
def users_id_user_connections_id_connection_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20025')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_investments_id_investment_pockets_get(id_user, id_connection, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 1017
def users_id_user_connections_id_connection_investments_id_investment_pockets_get(id_user, id_connection, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_investments_id_investment_pockets_get_with_http_info(id_user, id_connection, id_investment, opts)
  data
end
users_id_user_connections_id_connection_investments_id_investment_pockets_get_with_http_info(id_user, id_connection, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1030
def users_id_user_connections_id_connection_investments_id_investment_pockets_get_with_http_info(id_user, id_connection, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/investments/{id_investment}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_id_investment_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_investments_id_investment_security_history_get(id_user, id_connection, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.
@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [nil]

# File lib/budgea_client/api/wealth_api.rb, line 1090
def users_id_user_connections_id_connection_investments_id_investment_security_history_get(id_user, id_connection, id_investment, opts = {})
  users_id_user_connections_id_connection_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_investment, opts)
  nil
end
users_id_user_connections_id_connection_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.&lt;br&gt;&lt;br&gt; @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1107
def users_id_user_connections_id_connection_investments_id_investment_security_history_get_with_http_info(id_user, id_connection, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_security_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_connections_id_connection_investments_id_investment_security_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
  query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
  query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
  query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_id_investment_security_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_connections_id_connection_pockets_get(id_user, id_connection, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 1165
def users_id_user_connections_id_connection_pockets_get(id_user, id_connection, opts = {})
  data, _status_code, _headers = users_id_user_connections_id_connection_pockets_get_with_http_info(id_user, id_connection, opts)
  data
end
users_id_user_connections_id_connection_pockets_get_with_http_info(id_user, id_connection, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_connection @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1177
def users_id_user_connections_id_connection_pockets_get_with_http_info(id_user, id_connection, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_connections_id_connection_pockets_get"
  end
  # verify the required parameter 'id_connection' is set
  if @api_client.config.client_side_validation && id_connection.nil?
    fail ArgumentError, "Missing the required parameter 'id_connection' when calling WealthApi.users_id_user_connections_id_connection_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/connections/{id_connection}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_connection' + '}', id_connection.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_investments_get(id_user, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [InlineResponse20024]

# File lib/budgea_client/api/wealth_api.rb, line 1229
def users_id_user_investments_get(id_user, opts = {})
  data, _status_code, _headers = users_id_user_investments_get_with_http_info(id_user, opts)
  data
end
users_id_user_investments_get_with_http_info(id_user, opts = {}) click to toggle source

Get investments

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param [Hash] opts the optional parameters @option opts [String] :label filter investments using keywords in labels @option opts [String] :code filter investments by ISIN codes @option opts [String] :expand @return [Array<(InlineResponse20024, Fixnum, Hash)>] InlineResponse20024 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1242
def users_id_user_investments_get_with_http_info(id_user, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_investments_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/investments'.sub('{' + 'id_user' + '}', id_user.to_s)

  # query parameters
  query_params = {}
  query_params[:'label'] = opts[:'label'] if !opts[:'label'].nil?
  query_params[:'code'] = opts[:'code'] if !opts[:'code'].nil?
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20024')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_investments_id_investment_history_get(id_user, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20025]

# File lib/budgea_client/api/wealth_api.rb, line 1291
def users_id_user_investments_id_investment_history_get(id_user, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_investments_id_investment_history_get_with_http_info(id_user, id_investment, opts)
  data
end
users_id_user_investments_id_investment_history_get_with_http_info(id_user, id_investment, opts = {}) click to toggle source

Get investment values

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20025, Fixnum, Hash)>] InlineResponse20025 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1303
def users_id_user_investments_id_investment_history_get_with_http_info(id_user, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_id_investment_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_investments_id_investment_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_investments_id_investment_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/investments/{id_investment}/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20025')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_investments_id_investment_pockets_get(id_user, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 1354
def users_id_user_investments_id_investment_pockets_get(id_user, id_investment, opts = {})
  data, _status_code, _headers = users_id_user_investments_id_investment_pockets_get_with_http_info(id_user, id_investment, opts)
  data
end
users_id_user_investments_id_investment_pockets_get_with_http_info(id_user, id_investment, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_investment @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1366
def users_id_user_investments_id_investment_pockets_get_with_http_info(id_user, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_id_investment_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_investments_id_investment_pockets_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_investments_id_investment_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/investments/{id_investment}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_id_investment_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_investments_id_investment_security_history_get(id_user, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.
@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [nil]

# File lib/budgea_client/api/wealth_api.rb, line 1421
def users_id_user_investments_id_investment_security_history_get(id_user, id_investment, opts = {})
  users_id_user_investments_id_investment_security_history_get_with_http_info(id_user, id_investment, opts)
  nil
end
users_id_user_investments_id_investment_security_history_get_with_http_info(id_user, id_investment, opts = {}) click to toggle source

Get connection logs Get logs about connections.&lt;br&gt;&lt;br&gt; @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param id_investment @param [Hash] opts the optional parameters @option opts [Integer] :limit limit number of results @option opts [Integer] :offset offset of first result @option opts [Date] :min_date minimal date @option opts [Date] :max_date maximum date @option opts [String] :period period to group logs @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1437
def users_id_user_investments_id_investment_security_history_get_with_http_info(id_user, id_investment, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_id_investment_security_history_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_investments_id_investment_security_history_get"
  end
  # verify the required parameter 'id_investment' is set
  if @api_client.config.client_side_validation && id_investment.nil?
    fail ArgumentError, "Missing the required parameter 'id_investment' when calling WealthApi.users_id_user_investments_id_investment_security_history_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/investments/{id_investment}/security/history'.sub('{' + 'id_user' + '}', id_user.to_s).sub('{' + 'id_investment' + '}', id_investment.to_s)

  # query parameters
  query_params = {}
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
  query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
  query_params[:'max_date'] = opts[:'max_date'] if !opts[:'max_date'].nil?
  query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_id_investment_security_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
users_id_user_pockets_get(id_user, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param [Hash] opts the optional parameters @option opts [String] :expand @return [InlineResponse20026]

# File lib/budgea_client/api/wealth_api.rb, line 1490
def users_id_user_pockets_get(id_user, opts = {})
  data, _status_code, _headers = users_id_user_pockets_get_with_http_info(id_user, opts)
  data
end
users_id_user_pockets_get_with_http_info(id_user, opts = {}) click to toggle source

Get pockets

@param id_user Hint: you can use &#39;me&#39; or &#39;all&#39; @param [Hash] opts the optional parameters @option opts [String] :expand @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers

# File lib/budgea_client/api/wealth_api.rb, line 1501
def users_id_user_pockets_get_with_http_info(id_user, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_pockets_get ...'
  end
  # verify the required parameter 'id_user' is set
  if @api_client.config.client_side_validation && id_user.nil?
    fail ArgumentError, "Missing the required parameter 'id_user' when calling WealthApi.users_id_user_pockets_get"
  end
  # resource path
  local_var_path = '/users/{id_user}/pockets'.sub('{' + 'id_user' + '}', id_user.to_s)

  # query parameters
  query_params = {}
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['api_key']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'InlineResponse20026')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: WealthApi#users_id_user_pockets_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end