Class: NucleusApi::AggregationAccountApi

Inherits:
Object
  • Object
show all
Defined in:
lib/nucleus_api/api/aggregation_account_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ AggregationAccountApi

Returns a new instance of AggregationAccountApi.



19
20
21
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 19

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



17
18
19
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 17

def api_client
  @api_client
end

Instance Method Details

#create_aggregation_account_balance_bulk_using_post(aggregation_account_balance, opts = {}) ⇒ Array<AggregationAccountBalance>

Create a bulk aggregation account balance Create a balance records under an aggregation accounts.

Parameters:

  • aggregation_account_balance

    aggregationAccountBalance

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



27
28
29
30
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 27

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#create_aggregation_account_balance_bulk_using_post_with_http_info(aggregation_account_balance, opts = {}) ⇒ Array<(Array<AggregationAccountBalance>, Fixnum, Hash)>

Create a bulk aggregation account balance Create a balance records under an aggregation accounts.

Parameters:

  • aggregation_account_balance

    aggregationAccountBalance

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Array<AggregationAccountBalance>, Fixnum, Hash)>)

    Array<AggregationAccountBalance> data, response status code and response headers



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 37

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_balance_bulk_using_post ...'
  end
  # verify the required parameter 'aggregation_account_balance' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_balance' when calling AggregationAccountApi.create_aggregation_account_balance_bulk_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/bulk_aggregation_account_balance'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<AggregationAccountBalance>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_balance_bulk_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_aggregation_account_balance_using_post(aggregation_account_balance, opts = {}) ⇒ AggregationAccountBalance

Create an aggregation account balance Create a balance record under an aggregation account.

Parameters:

  • aggregation_account_balance

    aggregationAccountBalance

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



81
82
83
84
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 81

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#create_aggregation_account_balance_using_post_with_http_info(aggregation_account_balance, opts = {}) ⇒ Array<(AggregationAccountBalance, Fixnum, Hash)>

Create an aggregation account balance Create a balance record under an aggregation account.

Parameters:

  • aggregation_account_balance

    aggregationAccountBalance

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccountBalance, Fixnum, Hash)>)

    AggregationAccountBalance data, response status code and response headers



91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 91

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_balance_using_post ...'
  end
  # verify the required parameter 'aggregation_account_balance' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_balance' when calling AggregationAccountApi.create_aggregation_account_balance_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_balance'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccountBalance')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_balance_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_aggregation_account_bulk_using_post(aggregation_account_list, opts = {}) ⇒ Array<AggregationAccount>

Create a bulk aggregation account Create a bulk aggregation account under a client.

Parameters:

  • aggregation_account_list

    aggregationAccountList

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



135
136
137
138
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 135

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#create_aggregation_account_bulk_using_post_with_http_info(aggregation_account_list, opts = {}) ⇒ Array<(Array<AggregationAccount>, Fixnum, Hash)>

Create a bulk aggregation account Create a bulk aggregation account under a client.

Parameters:

  • aggregation_account_list

    aggregationAccountList

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Array<AggregationAccount>, Fixnum, Hash)>)

    Array<AggregationAccount> data, response status code and response headers



145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 145

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_bulk_using_post ...'
  end
  # verify the required parameter 'aggregation_account_list' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_list' when calling AggregationAccountApi.create_aggregation_account_bulk_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/bulk_aggregation_account'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<AggregationAccount>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_bulk_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_aggregation_account_holding_bulk_using_post(aggregation_transaction, opts = {}) ⇒ Array<AggregationAccountHolding>

Create a bulk aggregation account holding Create a bulk aggregation account holding.

Parameters:

  • aggregation_transaction

    aggregationTransaction

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



189
190
191
192
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 189

def (aggregation_transaction, opts = {})
  data, _status_code, _headers = (aggregation_transaction, opts)
  data
end

#create_aggregation_account_holding_bulk_using_post_with_http_info(aggregation_transaction, opts = {}) ⇒ Array<(Array<AggregationAccountHolding>, Fixnum, Hash)>

Create a bulk aggregation account holding Create a bulk aggregation account holding.

Parameters:

  • aggregation_transaction

    aggregationTransaction

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Array<AggregationAccountHolding>, Fixnum, Hash)>)

    Array<AggregationAccountHolding> data, response status code and response headers



199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 199

def (aggregation_transaction, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_holding_bulk_using_post ...'
  end
  # verify the required parameter 'aggregation_transaction' is set
  if @api_client.config.client_side_validation && aggregation_transaction.nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_transaction' when calling AggregationAccountApi.create_aggregation_account_holding_bulk_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/bulk_aggregation_account_holding'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(aggregation_transaction)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<AggregationAccountHolding>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_holding_bulk_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_aggregation_account_holding_using_post(aggregation_account_holding, opts = {}) ⇒ AggregationAccountHolding

Create an aggregation account holding Create a holding record under an aggregation account.

Parameters:

  • aggregation_account_holding

    aggregationAccountHolding

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



243
244
245
246
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 243

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#create_aggregation_account_holding_using_post_with_http_info(aggregation_account_holding, opts = {}) ⇒ Array<(AggregationAccountHolding, Fixnum, Hash)>

Create an aggregation account holding Create a holding record under an aggregation account.

Parameters:

  • aggregation_account_holding

    aggregationAccountHolding

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccountHolding, Fixnum, Hash)>)

    AggregationAccountHolding data, response status code and response headers



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 253

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_holding_using_post ...'
  end
  # verify the required parameter 'aggregation_account_holding' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_holding' when calling AggregationAccountApi.create_aggregation_account_holding_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_holding'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccountHolding')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_holding_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_aggregation_account_transaction_bulk_using_post(aggregation_account_transactions, opts = {}) ⇒ Array<AggregationAccountTransaction>

Create a bulk aggregation account transaction Create a bulk transaction record under an aggregation account.

Parameters:

  • aggregation_account_transactions

    aggregationAccountTransactions

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<AggregationAccountTransaction>)


297
298
299
300
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 297

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#create_aggregation_account_transaction_bulk_using_post_with_http_info(aggregation_account_transactions, opts = {}) ⇒ Array<(Array<AggregationAccountTransaction>, Fixnum, Hash)>

Create a bulk aggregation account transaction Create a bulk transaction record under an aggregation account.

Parameters:

  • aggregation_account_transactions

    aggregationAccountTransactions

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Array<AggregationAccountTransaction>, Fixnum, Hash)>)

    Array<AggregationAccountTransaction> data, response status code and response headers



307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 307

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_transaction_bulk_using_post ...'
  end
  # verify the required parameter 'aggregation_account_transactions' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_transactions' when calling AggregationAccountApi.create_aggregation_account_transaction_bulk_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/bulk_aggregation_account_transaction'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<AggregationAccountTransaction>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_transaction_bulk_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_aggregation_account_transaction_using_post(aggregation_account_transaction, opts = {}) ⇒ AggregationAccountTransaction

Create an aggregation account transaction Create a transaction record under an aggregation account.

Parameters:

  • aggregation_account_transaction

    aggregationAccountTransaction

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (AggregationAccountTransaction)


351
352
353
354
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 351

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#create_aggregation_account_transaction_using_post_with_http_info(aggregation_account_transaction, opts = {}) ⇒ Array<(AggregationAccountTransaction, Fixnum, Hash)>

Create an aggregation account transaction Create a transaction record under an aggregation account.

Parameters:

  • aggregation_account_transaction

    aggregationAccountTransaction

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccountTransaction, Fixnum, Hash)>)

    AggregationAccountTransaction data, response status code and response headers



361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 361

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_transaction_using_post ...'
  end
  # verify the required parameter 'aggregation_account_transaction' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_transaction' when calling AggregationAccountApi.create_aggregation_account_transaction_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_transaction'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccountTransaction')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_transaction_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_aggregation_account_using_post(aggregation_account, opts = {}) ⇒ AggregationAccount

Create an aggregation account Create an aggregation account under a client.

Parameters:

  • aggregation_account

    aggregationAccount

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



405
406
407
408
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 405

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#create_aggregation_account_using_post_with_http_info(aggregation_account, opts = {}) ⇒ Array<(AggregationAccount, Fixnum, Hash)>

Create an aggregation account Create an aggregation account under a client.

Parameters:

  • aggregation_account

    aggregationAccount

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccount, Fixnum, Hash)>)

    AggregationAccount data, response status code and response headers



415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 415

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.create_aggregation_account_using_post ...'
  end
  # verify the required parameter 'aggregation_account' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account' when calling AggregationAccountApi.create_aggregation_account_using_post"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccount')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#create_aggregation_account_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#delete_aggregation_account_balance_using_delete(aggregation_account_balance_id, opts = {}) ⇒ nil

Delete an aggregation account balance Permanently delete a balance record for an aggregation account.

Parameters:

  • aggregation_account_balance_id

    UUID aggregation_account_balance_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


459
460
461
462
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 459

def (, opts = {})
  (, opts)
  nil
end

#delete_aggregation_account_balance_using_delete_with_http_info(aggregation_account_balance_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Delete an aggregation account balance Permanently delete a balance record for an aggregation account.

Parameters:

  • aggregation_account_balance_id

    UUID aggregation_account_balance_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 469

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.delete_aggregation_account_balance_using_delete ...'
  end
  # verify the required parameter 'aggregation_account_balance_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_balance_id' when calling AggregationAccountApi.delete_aggregation_account_balance_using_delete"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_balance/{aggregation_account_balance_id}'.sub('{' + 'aggregation_account_balance_id' + '}', .to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:DELETE, 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: AggregationAccountApi#delete_aggregation_account_balance_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#delete_aggregation_account_holding_using_delete(aggregation_account_holding_id, opts = {}) ⇒ nil

Delete an aggregation account holding Permanently delete a holding record for an aggregation account.

Parameters:

  • aggregation_account_holding_id

    UUID aggregation_account_holding_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


510
511
512
513
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 510

def (, opts = {})
  (, opts)
  nil
end

#delete_aggregation_account_holding_using_delete_with_http_info(aggregation_account_holding_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Delete an aggregation account holding Permanently delete a holding record for an aggregation account.

Parameters:

  • aggregation_account_holding_id

    UUID aggregation_account_holding_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 520

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.delete_aggregation_account_holding_using_delete ...'
  end
  # verify the required parameter 'aggregation_account_holding_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_holding_id' when calling AggregationAccountApi.delete_aggregation_account_holding_using_delete"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_holding/{aggregation_account_holding_id}'.sub('{' + 'aggregation_account_holding_id' + '}', .to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:DELETE, 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: AggregationAccountApi#delete_aggregation_account_holding_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#delete_aggregation_account_transaction_using_delete(aggregation_account_transaction_id, opts = {}) ⇒ nil

Delete an aggregation account transaction Permanently delete a transaction record for an aggregation account.

Parameters:

  • aggregation_account_transaction_id

    UUID aggregation_account_transaction_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


561
562
563
564
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 561

def (, opts = {})
  (, opts)
  nil
end

#delete_aggregation_account_transaction_using_delete_with_http_info(aggregation_account_transaction_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Delete an aggregation account transaction Permanently delete a transaction record for an aggregation account.

Parameters:

  • aggregation_account_transaction_id

    UUID aggregation_account_transaction_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 571

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.delete_aggregation_account_transaction_using_delete ...'
  end
  # verify the required parameter 'aggregation_account_transaction_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_transaction_id' when calling AggregationAccountApi.delete_aggregation_account_transaction_using_delete"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_transaction/{aggregation_account_transaction_id}'.sub('{' + 'aggregation_account_transaction_id' + '}', .to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:DELETE, 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: AggregationAccountApi#delete_aggregation_account_transaction_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#delete_aggregation_account_using_delete(aggregation_account_id, opts = {}) ⇒ nil

Delete an aggregation account Permanently delete an aggregation account under a client.

Parameters:

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (nil)


612
613
614
615
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 612

def (, opts = {})
  (, opts)
  nil
end

#delete_aggregation_account_using_delete_with_http_info(aggregation_account_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Delete an aggregation account Permanently delete an aggregation account under a client.

Parameters:

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 622

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.delete_aggregation_account_using_delete ...'
  end
  # verify the required parameter 'aggregation_account_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_id' when calling AggregationAccountApi.delete_aggregation_account_using_delete"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account/{aggregation_account_id}'.sub('{' + 'aggregation_account_id' + '}', .to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:DELETE, 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: AggregationAccountApi#delete_aggregation_account_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_aggregate_data_using_get(aggregation_account_id, opts = {}) ⇒ Object

Retrieve an aggregation account aggregate data Retrieve the information for a specific aggregation account associated with a client.

Parameters:

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Object)


664
665
666
667
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 664

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#get_aggregation_account_aggregate_data_using_get_with_http_info(aggregation_account_id, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Retrieve an aggregation account aggregate data Retrieve the information for a specific aggregation account associated with a client.

Parameters:

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 675

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_aggregate_data_using_get ...'
  end
  # verify the required parameter 'aggregation_account_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_id' when calling AggregationAccountApi.get_aggregation_account_aggregate_data_using_get"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account/{aggregation_account_id}/aggregate_data'.sub('{' + 'aggregation_account_id' + '}', .to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_aggregate_data_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_all_using_get(opts = {}) ⇒ PageAggregationAccount

List all aggregation accounts Get information for all aggregation accounts for all clients defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending (default to false)

  • :filter (String)

    filter

  • :order_by (String)

    order_by (default to update_date)

  • :page (Integer)

    page (default to 0)

  • :size (Integer)

    size (default to 25)

Returns:



722
723
724
725
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 722

def (opts = {})
  data, _status_code, _headers = (opts)
  data
end

#get_aggregation_account_all_using_get_with_http_info(opts = {}) ⇒ Array<(PageAggregationAccount, Fixnum, Hash)>

List all aggregation accounts Get information for all aggregation accounts for all clients defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending

  • :filter (String)

    filter

  • :order_by (String)

    order_by

  • :page (Integer)

    page

  • :size (Integer)

    size

Returns:

  • (Array<(PageAggregationAccount, Fixnum, Hash)>)

    PageAggregationAccount data, response status code and response headers



736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 736

def (opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_all_using_get ...'
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account'

  # query parameters
  query_params = {}
  query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
  query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
  query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'PageAggregationAccount')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_balance_all_using_get(opts = {}) ⇒ PageAggregationAccountBalance

List all aggregation account balances Get all of the balance records for all aggregation accounts defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending (default to false)

  • :currency_conversion (String)

    currency_conversion

  • :filter (String)

    filter

  • :order_by (String)

    order_by (default to update_date)

  • :page (Integer)

    page (default to 0)

  • :size (Integer)

    size (default to 25)

Returns:



784
785
786
787
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 784

def (opts = {})
  data, _status_code, _headers = (opts)
  data
end

#get_aggregation_account_balance_all_using_get_with_http_info(opts = {}) ⇒ Array<(PageAggregationAccountBalance, Fixnum, Hash)>

List all aggregation account balances Get all of the balance records for all aggregation accounts defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending

  • :currency_conversion (String)

    currency_conversion

  • :filter (String)

    filter

  • :order_by (String)

    order_by

  • :page (Integer)

    page

  • :size (Integer)

    size

Returns:



799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 799

def (opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_balance_all_using_get ...'
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_balance'

  # query parameters
  query_params = {}
  query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
  query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
  query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
  query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'PageAggregationAccountBalance')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_balance_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_balance_using_get(aggregation_account_balance_id, opts = {}) ⇒ AggregationAccountBalance

Retrieve an aggregation account balance Retrieve the information for a specific balance record for an aggregation account.

Parameters:

  • aggregation_account_balance_id

    UUID aggregation_account_balance_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:



844
845
846
847
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 844

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#get_aggregation_account_balance_using_get_with_http_info(aggregation_account_balance_id, opts = {}) ⇒ Array<(AggregationAccountBalance, Fixnum, Hash)>

Retrieve an aggregation account balance Retrieve the information for a specific balance record for an aggregation account.

Parameters:

  • aggregation_account_balance_id

    UUID aggregation_account_balance_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Array<(AggregationAccountBalance, Fixnum, Hash)>)

    AggregationAccountBalance data, response status code and response headers



855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 855

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_balance_using_get ...'
  end
  # verify the required parameter 'aggregation_account_balance_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_balance_id' when calling AggregationAccountApi.get_aggregation_account_balance_using_get"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_balance/{aggregation_account_balance_id}'.sub('{' + 'aggregation_account_balance_id' + '}', .to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'AggregationAccountBalance')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_holding_all_using_get(opts = {}) ⇒ PageAggregationAccountHolding

List all aggregation account holdings Get all of the holding records for all aggregation accounts defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending (default to false)

  • :currency_conversion (String)

    currency_conversion

  • :filter (String)

    filter

  • :order_by (String)

    order_by (default to update_date)

  • :page (Integer)

    page (default to 0)

  • :size (Integer)

    size (default to 25)

Returns:



903
904
905
906
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 903

def (opts = {})
  data, _status_code, _headers = (opts)
  data
end

#get_aggregation_account_holding_all_using_get_with_http_info(opts = {}) ⇒ Array<(PageAggregationAccountHolding, Fixnum, Hash)>

List all aggregation account holdings Get all of the holding records for all aggregation accounts defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending

  • :currency_conversion (String)

    currency_conversion

  • :filter (String)

    filter

  • :order_by (String)

    order_by

  • :page (Integer)

    page

  • :size (Integer)

    size

Returns:



918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 918

def (opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_holding_all_using_get ...'
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_holding'

  # query parameters
  query_params = {}
  query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
  query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
  query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
  query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'PageAggregationAccountHolding')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_holding_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_holding_using_get(aggregation_account_holding_id, opts = {}) ⇒ AggregationAccountHolding

Retrieve an aggregation account holding Retrieve the information for a specific holding record for an aggregation account.

Parameters:

  • aggregation_account_holding_id

    UUID aggregation_account_holding_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:



963
964
965
966
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 963

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#get_aggregation_account_holding_using_get_with_http_info(aggregation_account_holding_id, opts = {}) ⇒ Array<(AggregationAccountHolding, Fixnum, Hash)>

Retrieve an aggregation account holding Retrieve the information for a specific holding record for an aggregation account.

Parameters:

  • aggregation_account_holding_id

    UUID aggregation_account_holding_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Array<(AggregationAccountHolding, Fixnum, Hash)>)

    AggregationAccountHolding data, response status code and response headers



974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 974

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_holding_using_get ...'
  end
  # verify the required parameter 'aggregation_account_holding_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_holding_id' when calling AggregationAccountApi.get_aggregation_account_holding_using_get"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_holding/{aggregation_account_holding_id}'.sub('{' + 'aggregation_account_holding_id' + '}', .to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'AggregationAccountHolding')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_holding_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_overview_by_business_id_using_get(business_id, opts = {}) ⇒ Object

Retrieve an aggregation account aggregate data Retrieve the information for a specific aggregation account with aggregate data for a business.

Parameters:

  • business_id

    UUID business_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Object)


1018
1019
1020
1021
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1018

def (business_id, opts = {})
  data, _status_code, _headers = (business_id, opts)
  data
end

#get_aggregation_account_overview_by_business_id_using_get_with_http_info(business_id, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Retrieve an aggregation account aggregate data Retrieve the information for a specific aggregation account with aggregate data for a business.

Parameters:

  • business_id

    UUID business_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1029

def (business_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_overview_by_business_id_using_get ...'
  end
  # verify the required parameter 'business_id' is set
  if @api_client.config.client_side_validation && business_id.nil?
    fail ArgumentError, "Missing the required parameter 'business_id' when calling AggregationAccountApi.get_aggregation_account_overview_by_business_id_using_get"
  end
  # resource path
  local_var_path = '/nucleus/v1/business/{business_id}/aggregation_account_overview'.sub('{' + 'business_id' + '}', business_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_overview_by_business_id_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_overview_using_get(client_id, opts = {}) ⇒ Object

Retrieve an aggregation account aggregate data Retrieve the information for a specific aggregation account with aggregate data for a client.

Parameters:

  • client_id

    UUID client_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Object)


1073
1074
1075
1076
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1073

def (client_id, opts = {})
  data, _status_code, _headers = (client_id, opts)
  data
end

#get_aggregation_account_overview_using_get_with_http_info(client_id, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Retrieve an aggregation account aggregate data Retrieve the information for a specific aggregation account with aggregate data for a client.

Parameters:

  • client_id

    UUID client_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1084

def (client_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_overview_using_get ...'
  end
  # verify the required parameter 'client_id' is set
  if @api_client.config.client_side_validation && client_id.nil?
    fail ArgumentError, "Missing the required parameter 'client_id' when calling AggregationAccountApi.get_aggregation_account_overview_using_get"
  end
  # resource path
  local_var_path = '/nucleus/v1/client/{client_id}/aggregation_account_overview'.sub('{' + 'client_id' + '}', client_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_overview_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_transaction_all_using_get(opts = {}) ⇒ PageAggregationAccountTransaction

List all aggregation account transactions Get all of the transaction records for all aggregation accounts defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending (default to false)

  • :currency_conversion (String)

    currency_conversion

  • :filter (String)

    filter

  • :order_by (String)

    order_by (default to update_date)

  • :page (Integer)

    page (default to 0)

  • :size (Integer)

    size (default to 25)

Returns:



1132
1133
1134
1135
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1132

def (opts = {})
  data, _status_code, _headers = (opts)
  data
end

#get_aggregation_account_transaction_all_using_get_with_http_info(opts = {}) ⇒ Array<(PageAggregationAccountTransaction, Fixnum, Hash)>

List all aggregation account transactions Get all of the transaction records for all aggregation accounts defined for your firm.

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ascending (BOOLEAN)

    ascending

  • :currency_conversion (String)

    currency_conversion

  • :filter (String)

    filter

  • :order_by (String)

    order_by

  • :page (Integer)

    page

  • :size (Integer)

    size

Returns:



1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1147

def (opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_transaction_all_using_get ...'
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_transaction'

  # query parameters
  query_params = {}
  query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil?
  query_params[:'currency_conversion'] = opts[:'currency_conversion'] if !opts[:'currency_conversion'].nil?
  query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
  query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'PageAggregationAccountTransaction')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_transaction_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_transaction_using_get(aggregation_account_transaction_id, opts = {}) ⇒ AggregationAccountTransaction

Retrieve an aggregation account transaction Retrieve the information for a specific transaction record for an aggregation account.

Parameters:

  • aggregation_account_transaction_id

    UUID aggregation_account_transaction_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (AggregationAccountTransaction)


1192
1193
1194
1195
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1192

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#get_aggregation_account_transaction_using_get_with_http_info(aggregation_account_transaction_id, opts = {}) ⇒ Array<(AggregationAccountTransaction, Fixnum, Hash)>

Retrieve an aggregation account transaction Retrieve the information for a specific transaction record for an aggregation account.

Parameters:

  • aggregation_account_transaction_id

    UUID aggregation_account_transaction_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :currency_conversion (String)

    USD

Returns:

  • (Array<(AggregationAccountTransaction, Fixnum, Hash)>)

    AggregationAccountTransaction data, response status code and response headers



1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1203

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_transaction_using_get ...'
  end
  # verify the required parameter 'aggregation_account_transaction_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_transaction_id' when calling AggregationAccountApi.get_aggregation_account_transaction_using_get"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_transaction/{aggregation_account_transaction_id}'.sub('{' + 'aggregation_account_transaction_id' + '}', .to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'AggregationAccountTransaction')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_transaction_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_aggregation_account_using_get(aggregation_account_id, opts = {}) ⇒ AggregationAccount

Retrieve an aggregation account Retrieve the information for a specific aggregation account associated with a client.

Parameters:

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



1246
1247
1248
1249
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1246

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#get_aggregation_account_using_get_with_http_info(aggregation_account_id, opts = {}) ⇒ Array<(AggregationAccount, Fixnum, Hash)>

Retrieve an aggregation account Retrieve the information for a specific aggregation account associated with a client.

Parameters:

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccount, Fixnum, Hash)>)

    AggregationAccount data, response status code and response headers



1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1256

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.get_aggregation_account_using_get ...'
  end
  # verify the required parameter 'aggregation_account_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_id' when calling AggregationAccountApi.get_aggregation_account_using_get"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account/{aggregation_account_id}'.sub('{' + 'aggregation_account_id' + '}', .to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['*/*'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  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 => 'AggregationAccount')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#get_aggregation_account_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#update_aggregation_account_balance_using_put(aggregation_account_balance, aggregation_account_balance_id, opts = {}) ⇒ AggregationAccountBalance

Update an aggregation account balance Update a balance record for an aggregation account.

Parameters:

  • aggregation_account_balance

    aggregation_account_balance

  • aggregation_account_balance_id

    UUID aggregation_account_balance_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



1299
1300
1301
1302
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1299

def (, , opts = {})
  data, _status_code, _headers = (, , opts)
  data
end

#update_aggregation_account_balance_using_put_with_http_info(aggregation_account_balance, aggregation_account_balance_id, opts = {}) ⇒ Array<(AggregationAccountBalance, Fixnum, Hash)>

Update an aggregation account balance Update a balance record for an aggregation account.

Parameters:

  • aggregation_account_balance

    aggregation_account_balance

  • aggregation_account_balance_id

    UUID aggregation_account_balance_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccountBalance, Fixnum, Hash)>)

    AggregationAccountBalance data, response status code and response headers



1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1310

def (, , opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.update_aggregation_account_balance_using_put ...'
  end
  # verify the required parameter 'aggregation_account_balance' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_balance' when calling AggregationAccountApi.update_aggregation_account_balance_using_put"
  end
  # verify the required parameter 'aggregation_account_balance_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_balance_id' when calling AggregationAccountApi.update_aggregation_account_balance_using_put"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_balance/{aggregation_account_balance_id}'.sub('{' + 'aggregation_account_balance_id' + '}', .to_s)

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccountBalance')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#update_aggregation_account_balance_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#update_aggregation_account_bulk_using_put(aggregation_account_list, opts = {}) ⇒ Array<AggregationAccount>

Update a bulk aggregation account Update a bulk aggregation account under a client.

Parameters:

  • aggregation_account_list

    aggregationAccountList

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



1358
1359
1360
1361
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1358

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#update_aggregation_account_bulk_using_put_with_http_info(aggregation_account_list, opts = {}) ⇒ Array<(Array<AggregationAccount>, Fixnum, Hash)>

Update a bulk aggregation account Update a bulk aggregation account under a client.

Parameters:

  • aggregation_account_list

    aggregationAccountList

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Array<AggregationAccount>, Fixnum, Hash)>)

    Array<AggregationAccount> data, response status code and response headers



1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1368

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.update_aggregation_account_bulk_using_put ...'
  end
  # verify the required parameter 'aggregation_account_list' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_list' when calling AggregationAccountApi.update_aggregation_account_bulk_using_put"
  end
  # resource path
  local_var_path = '/nucleus/v1/bulk_aggregation_account'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<AggregationAccount>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#update_aggregation_account_bulk_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#update_aggregation_account_holding_bulk_using_put(aggregation_account_holding, opts = {}) ⇒ Array<AggregationAccountHolding>

Update an bulk aggregation account holding Update a bulk holding record for an aggregation account.

Parameters:

  • aggregation_account_holding

    aggregationAccountHolding

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



1412
1413
1414
1415
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1412

def (, opts = {})
  data, _status_code, _headers = (, opts)
  data
end

#update_aggregation_account_holding_bulk_using_put_with_http_info(aggregation_account_holding, opts = {}) ⇒ Array<(Array<AggregationAccountHolding>, Fixnum, Hash)>

Update an bulk aggregation account holding Update a bulk holding record for an aggregation account.

Parameters:

  • aggregation_account_holding

    aggregationAccountHolding

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Array<AggregationAccountHolding>, Fixnum, Hash)>)

    Array<AggregationAccountHolding> data, response status code and response headers



1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1422

def (, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.update_aggregation_account_holding_bulk_using_put ...'
  end
  # verify the required parameter 'aggregation_account_holding' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_holding' when calling AggregationAccountApi.update_aggregation_account_holding_bulk_using_put"
  end
  # resource path
  local_var_path = '/nucleus/v1/bulk_aggregation_account_holding'

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<AggregationAccountHolding>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#update_aggregation_account_holding_bulk_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#update_aggregation_account_holding_using_put(aggregation_account_holding, aggregation_account_holding_id, opts = {}) ⇒ AggregationAccountHolding

Update an aggregation account holding Update a holding record for an aggregation account.

Parameters:

  • aggregation_account_holding

    aggregation_account_holding

  • aggregation_account_holding_id

    UUID aggregation_account_holding_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



1467
1468
1469
1470
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1467

def (, , opts = {})
  data, _status_code, _headers = (, , opts)
  data
end

#update_aggregation_account_holding_using_put_with_http_info(aggregation_account_holding, aggregation_account_holding_id, opts = {}) ⇒ Array<(AggregationAccountHolding, Fixnum, Hash)>

Update an aggregation account holding Update a holding record for an aggregation account.

Parameters:

  • aggregation_account_holding

    aggregation_account_holding

  • aggregation_account_holding_id

    UUID aggregation_account_holding_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccountHolding, Fixnum, Hash)>)

    AggregationAccountHolding data, response status code and response headers



1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1478

def (, , opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.update_aggregation_account_holding_using_put ...'
  end
  # verify the required parameter 'aggregation_account_holding' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_holding' when calling AggregationAccountApi.update_aggregation_account_holding_using_put"
  end
  # verify the required parameter 'aggregation_account_holding_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_holding_id' when calling AggregationAccountApi.update_aggregation_account_holding_using_put"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_holding/{aggregation_account_holding_id}'.sub('{' + 'aggregation_account_holding_id' + '}', .to_s)

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccountHolding')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#update_aggregation_account_holding_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#update_aggregation_account_transaction_using_put(aggregation_account_transaction, aggregation_account_transaction_id, opts = {}) ⇒ AggregationAccountTransaction

Update an aggregation account transaction Update a transaction record for an aggregation account.

Parameters:

  • aggregation_account_transaction

    aggregation_account_transaction

  • aggregation_account_transaction_id

    UUID aggregation_account_transaction_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (AggregationAccountTransaction)


1527
1528
1529
1530
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1527

def (, , opts = {})
  data, _status_code, _headers = (, , opts)
  data
end

#update_aggregation_account_transaction_using_put_with_http_info(aggregation_account_transaction, aggregation_account_transaction_id, opts = {}) ⇒ Array<(AggregationAccountTransaction, Fixnum, Hash)>

Update an aggregation account transaction Update a transaction record for an aggregation account.

Parameters:

  • aggregation_account_transaction

    aggregation_account_transaction

  • aggregation_account_transaction_id

    UUID aggregation_account_transaction_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccountTransaction, Fixnum, Hash)>)

    AggregationAccountTransaction data, response status code and response headers



1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1538

def (, , opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.update_aggregation_account_transaction_using_put ...'
  end
  # verify the required parameter 'aggregation_account_transaction' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_transaction' when calling AggregationAccountApi.update_aggregation_account_transaction_using_put"
  end
  # verify the required parameter 'aggregation_account_transaction_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_transaction_id' when calling AggregationAccountApi.update_aggregation_account_transaction_using_put"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account_transaction/{aggregation_account_transaction_id}'.sub('{' + 'aggregation_account_transaction_id' + '}', .to_s)

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccountTransaction')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#update_aggregation_account_transaction_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#update_aggregation_account_using_put(aggregation_account, aggregation_account_id, opts = {}) ⇒ AggregationAccount

Update an aggregation account Update the information for an aggregation account.

Parameters:

  • aggregation_account

    aggregation_account

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



1587
1588
1589
1590
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1587

def (, , opts = {})
  data, _status_code, _headers = (, , opts)
  data
end

#update_aggregation_account_using_put_with_http_info(aggregation_account, aggregation_account_id, opts = {}) ⇒ Array<(AggregationAccount, Fixnum, Hash)>

Update an aggregation account Update the information for an aggregation account.

Parameters:

  • aggregation_account

    aggregation_account

  • aggregation_account_id

    UUID aggregation_account_id

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AggregationAccount, Fixnum, Hash)>)

    AggregationAccount data, response status code and response headers



1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'lib/nucleus_api/api/aggregation_account_api.rb', line 1598

def (, , opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: AggregationAccountApi.update_aggregation_account_using_put ...'
  end
  # verify the required parameter 'aggregation_account' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account' when calling AggregationAccountApi.update_aggregation_account_using_put"
  end
  # verify the required parameter 'aggregation_account_id' is set
  if @api_client.config.client_side_validation && .nil?
    fail ArgumentError, "Missing the required parameter 'aggregation_account_id' when calling AggregationAccountApi.update_aggregation_account_using_put"
  end
  # resource path
  local_var_path = '/nucleus/v1/aggregation_account/{aggregation_account_id}'.sub('{' + 'aggregation_account_id' + '}', .to_s)

  # query parameters
  query_params = {}

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

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body()
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AggregationAccount')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: AggregationAccountApi#update_aggregation_account_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end