mx-platform-ruby 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -13
- data/README.md +7 -7
- data/docs/HoldingResponse.md +1 -1
- data/docs/MxPlatformApi.md +96 -90
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +159 -131
- data/lib/mx-platform-ruby/models/account_number_response.rb +4 -0
- data/lib/mx-platform-ruby/models/account_owner_response.rb +4 -0
- data/lib/mx-platform-ruby/models/account_response.rb +3 -0
- data/lib/mx-platform-ruby/models/category_response.rb +2 -0
- data/lib/mx-platform-ruby/models/challenge_response.rb +1 -0
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +1 -0
- data/lib/mx-platform-ruby/models/credential_request.rb +0 -1
- data/lib/mx-platform-ruby/models/credential_response.rb +2 -0
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +1 -0
- data/lib/mx-platform-ruby/models/holding_response.rb +4 -0
- data/lib/mx-platform-ruby/models/member_response.rb +2 -0
- data/lib/mx-platform-ruby/models/member_status_response.rb +1 -0
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +2 -0
- data/lib/mx-platform-ruby/models/merchant_response.rb +1 -0
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +1 -0
- data/lib/mx-platform-ruby/models/statement_response.rb +4 -0
- data/lib/mx-platform-ruby/models/tag_response.rb +2 -0
- data/lib/mx-platform-ruby/models/tagging_response.rb +4 -0
- data/lib/mx-platform-ruby/models/transaction_response.rb +6 -0
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +3 -0
- data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +0 -2
- data/lib/mx-platform-ruby/models/user_response.rb +1 -0
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/openapi/templates/README.mustache +7 -7
- data/spec/api/mx_platform_api_spec.rb +19 -15
- metadata +2 -2
data/docs/MxPlatformApi.md
CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *https://api.mx.com*
|
|
9
9
|
| [**create_category**](MxPlatformApi.md#create_category) | **POST** /users/{user_guid}/categories | Create category |
|
10
10
|
| [**create_managed_account**](MxPlatformApi.md#create_managed_account) | **POST** /users/{user_guid}/managed_members/{member_guid}/accounts | Create managed account |
|
11
11
|
| [**create_managed_member**](MxPlatformApi.md#create_managed_member) | **POST** /users/{user_guid}/managed_members | Create managed member |
|
12
|
-
| [**create_managed_transaction**](MxPlatformApi.md#create_managed_transaction) | **POST** /users/{user_guid}/managed_members/{member_guid}/transactions | Create managed transaction |
|
12
|
+
| [**create_managed_transaction**](MxPlatformApi.md#create_managed_transaction) | **POST** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions | Create managed transaction |
|
13
13
|
| [**create_member**](MxPlatformApi.md#create_member) | **POST** /users/{user_guid}/members | Create member |
|
14
14
|
| [**create_tag**](MxPlatformApi.md#create_tag) | **POST** /users/{user_guid}/tags | Create tag |
|
15
15
|
| [**create_tagging**](MxPlatformApi.md#create_tagging) | **POST** /users/{user_guid}/taggings | Create tagging |
|
@@ -18,7 +18,7 @@ All URIs are relative to *https://api.mx.com*
|
|
18
18
|
| [**delete_category**](MxPlatformApi.md#delete_category) | **DELETE** /users/{user_guid}/categories/{category_guid} | Delete category |
|
19
19
|
| [**delete_managed_account**](MxPlatformApi.md#delete_managed_account) | **DELETE** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid} | Delete managed account |
|
20
20
|
| [**delete_managed_member**](MxPlatformApi.md#delete_managed_member) | **DELETE** /users/{user_guid}/managed_members/{member_guid} | Delete managed member |
|
21
|
-
| [**delete_managed_transaction**](MxPlatformApi.md#delete_managed_transaction) | **DELETE** /users/{user_guid}/managed_members/{member_guid}/transactions/{transaction_guid} | Delete managed transaction |
|
21
|
+
| [**delete_managed_transaction**](MxPlatformApi.md#delete_managed_transaction) | **DELETE** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid} | Delete managed transaction |
|
22
22
|
| [**delete_member**](MxPlatformApi.md#delete_member) | **DELETE** /users/{user_guid}/members/{member_guid} | Delete member |
|
23
23
|
| [**delete_tag**](MxPlatformApi.md#delete_tag) | **DELETE** /users/{user_guid}/tags/{tag_guid} | Delete tag |
|
24
24
|
| [**delete_tagging**](MxPlatformApi.md#delete_tagging) | **DELETE** /users/{user_guid}/taggings/{tagging_guid} | Delete tagging |
|
@@ -44,7 +44,7 @@ All URIs are relative to *https://api.mx.com*
|
|
44
44
|
| [**list_managed_accounts**](MxPlatformApi.md#list_managed_accounts) | **GET** /users/{user_guid}/managed_members/{member_guid}/accounts | List managed accounts |
|
45
45
|
| [**list_managed_institutions**](MxPlatformApi.md#list_managed_institutions) | **GET** /managed_institutions | List managed institutions |
|
46
46
|
| [**list_managed_members**](MxPlatformApi.md#list_managed_members) | **GET** /users/{user_guid}/managed_members | List managed members |
|
47
|
-
| [**list_managed_transactions**](MxPlatformApi.md#list_managed_transactions) | **GET** /users/{user_guid}/managed_members/{member_guid}/transactions | List managed transactions |
|
47
|
+
| [**list_managed_transactions**](MxPlatformApi.md#list_managed_transactions) | **GET** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions | List managed transactions |
|
48
48
|
| [**list_member_challenges**](MxPlatformApi.md#list_member_challenges) | **GET** /users/{user_guid}/members/{member_guid}/challenges | List member challenges |
|
49
49
|
| [**list_member_credentials**](MxPlatformApi.md#list_member_credentials) | **GET** /users/{user_guid}/members/{member_guid}/credentials | List member credentials |
|
50
50
|
| [**list_members**](MxPlatformApi.md#list_members) | **GET** /users/{user_guid}/members | List members |
|
@@ -66,7 +66,7 @@ All URIs are relative to *https://api.mx.com*
|
|
66
66
|
| [**read_institution**](MxPlatformApi.md#read_institution) | **GET** /institutions/{institution_code} | Read institution |
|
67
67
|
| [**read_managed_account**](MxPlatformApi.md#read_managed_account) | **GET** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid} | Read managed account |
|
68
68
|
| [**read_managed_member**](MxPlatformApi.md#read_managed_member) | **GET** /users/{user_guid}/managed_members/{member_guid} | Read managed member |
|
69
|
-
| [**read_managed_transaction**](MxPlatformApi.md#read_managed_transaction) | **GET** /users/{user_guid}/managed_members/{member_guid}/transactions/{transaction_guid} | Read managed transaction |
|
69
|
+
| [**read_managed_transaction**](MxPlatformApi.md#read_managed_transaction) | **GET** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid} | Read managed transaction |
|
70
70
|
| [**read_member**](MxPlatformApi.md#read_member) | **GET** /users/{user_guid}/members/{member_guid} | Read member |
|
71
71
|
| [**read_member_status**](MxPlatformApi.md#read_member_status) | **GET** /users/{user_guid}/members/{member_guid}/status | Read member status |
|
72
72
|
| [**read_merchant**](MxPlatformApi.md#read_merchant) | **GET** /merchants/{merchant_guid} | Read merchant |
|
@@ -85,7 +85,7 @@ All URIs are relative to *https://api.mx.com*
|
|
85
85
|
| [**update_category**](MxPlatformApi.md#update_category) | **PUT** /users/{user_guid}/categories/{category_guid} | Update category |
|
86
86
|
| [**update_managed_account**](MxPlatformApi.md#update_managed_account) | **PUT** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid} | Update managed account |
|
87
87
|
| [**update_managed_member**](MxPlatformApi.md#update_managed_member) | **PUT** /users/{user_guid}/managed_members/{member_guid} | Update managed member |
|
88
|
-
| [**update_managed_transaction**](MxPlatformApi.md#update_managed_transaction) | **PUT** /users/{user_guid}/managed_members/{member_guid}/transactions/{transaction_guid} | Update managed transaction |
|
88
|
+
| [**update_managed_transaction**](MxPlatformApi.md#update_managed_transaction) | **PUT** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid} | Update managed transaction |
|
89
89
|
| [**update_member**](MxPlatformApi.md#update_member) | **PUT** /users/{user_guid}/members/{member_guid} | Update member |
|
90
90
|
| [**update_tag**](MxPlatformApi.md#update_tag) | **PUT** /users/{user_guid}/tags/{tag_guid} | Update tag |
|
91
91
|
| [**update_tagging**](MxPlatformApi.md#update_tagging) | **PUT** /users/{user_guid}/taggings/{tagging_guid} | Update tagging |
|
@@ -313,7 +313,7 @@ end
|
|
313
313
|
|
314
314
|
## create_managed_account
|
315
315
|
|
316
|
-
> <AccountResponseBody> create_managed_account(
|
316
|
+
> <AccountResponseBody> create_managed_account(member_guid, user_guid, managed_account_create_request_body)
|
317
317
|
|
318
318
|
Create managed account
|
319
319
|
|
@@ -332,13 +332,13 @@ MxPlatformRuby.configure do |config|
|
|
332
332
|
end
|
333
333
|
|
334
334
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
335
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
336
335
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
336
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
337
337
|
managed_account_create_request_body = MxPlatformRuby::ManagedAccountCreateRequestBody.new # ManagedAccountCreateRequestBody | Managed account to be created.
|
338
338
|
|
339
339
|
begin
|
340
340
|
# Create managed account
|
341
|
-
result = api_instance.create_managed_account(
|
341
|
+
result = api_instance.create_managed_account(member_guid, user_guid, managed_account_create_request_body)
|
342
342
|
p result
|
343
343
|
rescue MxPlatformRuby::ApiError => e
|
344
344
|
puts "Error when calling MxPlatformApi->create_managed_account: #{e}"
|
@@ -349,12 +349,12 @@ end
|
|
349
349
|
|
350
350
|
This returns an Array which contains the response data, status code and headers.
|
351
351
|
|
352
|
-
> <Array(<AccountResponseBody>, Integer, Hash)> create_managed_account_with_http_info(
|
352
|
+
> <Array(<AccountResponseBody>, Integer, Hash)> create_managed_account_with_http_info(member_guid, user_guid, managed_account_create_request_body)
|
353
353
|
|
354
354
|
```ruby
|
355
355
|
begin
|
356
356
|
# Create managed account
|
357
|
-
data, status_code, headers = api_instance.create_managed_account_with_http_info(
|
357
|
+
data, status_code, headers = api_instance.create_managed_account_with_http_info(member_guid, user_guid, managed_account_create_request_body)
|
358
358
|
p status_code # => 2xx
|
359
359
|
p headers # => { ... }
|
360
360
|
p data # => <AccountResponseBody>
|
@@ -367,8 +367,8 @@ end
|
|
367
367
|
|
368
368
|
| Name | Type | Description | Notes |
|
369
369
|
| ---- | ---- | ----------- | ----- |
|
370
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
371
370
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
371
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
372
372
|
| **managed_account_create_request_body** | [**ManagedAccountCreateRequestBody**](ManagedAccountCreateRequestBody.md) | Managed account to be created. | |
|
373
373
|
|
374
374
|
### Return type
|
@@ -459,7 +459,7 @@ end
|
|
459
459
|
|
460
460
|
## create_managed_transaction
|
461
461
|
|
462
|
-
> <TransactionResponseBody> create_managed_transaction(
|
462
|
+
> <TransactionResponseBody> create_managed_transaction(account_guid, member_guid, user_guid, managed_transaction_create_request_body)
|
463
463
|
|
464
464
|
Create managed transaction
|
465
465
|
|
@@ -478,13 +478,14 @@ MxPlatformRuby.configure do |config|
|
|
478
478
|
end
|
479
479
|
|
480
480
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
481
|
-
|
481
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
482
482
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
483
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
483
484
|
managed_transaction_create_request_body = MxPlatformRuby::ManagedTransactionCreateRequestBody.new # ManagedTransactionCreateRequestBody | Managed transaction to be created.
|
484
485
|
|
485
486
|
begin
|
486
487
|
# Create managed transaction
|
487
|
-
result = api_instance.create_managed_transaction(
|
488
|
+
result = api_instance.create_managed_transaction(account_guid, member_guid, user_guid, managed_transaction_create_request_body)
|
488
489
|
p result
|
489
490
|
rescue MxPlatformRuby::ApiError => e
|
490
491
|
puts "Error when calling MxPlatformApi->create_managed_transaction: #{e}"
|
@@ -495,12 +496,12 @@ end
|
|
495
496
|
|
496
497
|
This returns an Array which contains the response data, status code and headers.
|
497
498
|
|
498
|
-
> <Array(<TransactionResponseBody>, Integer, Hash)> create_managed_transaction_with_http_info(
|
499
|
+
> <Array(<TransactionResponseBody>, Integer, Hash)> create_managed_transaction_with_http_info(account_guid, member_guid, user_guid, managed_transaction_create_request_body)
|
499
500
|
|
500
501
|
```ruby
|
501
502
|
begin
|
502
503
|
# Create managed transaction
|
503
|
-
data, status_code, headers = api_instance.create_managed_transaction_with_http_info(
|
504
|
+
data, status_code, headers = api_instance.create_managed_transaction_with_http_info(account_guid, member_guid, user_guid, managed_transaction_create_request_body)
|
504
505
|
p status_code # => 2xx
|
505
506
|
p headers # => { ... }
|
506
507
|
p data # => <TransactionResponseBody>
|
@@ -513,8 +514,9 @@ end
|
|
513
514
|
|
514
515
|
| Name | Type | Description | Notes |
|
515
516
|
| ---- | ---- | ----------- | ----- |
|
516
|
-
| **
|
517
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
517
518
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
519
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
518
520
|
| **managed_transaction_create_request_body** | [**ManagedTransactionCreateRequestBody**](ManagedTransactionCreateRequestBody.md) | Managed transaction to be created. | |
|
519
521
|
|
520
522
|
### Return type
|
@@ -962,7 +964,7 @@ nil (empty response body)
|
|
962
964
|
|
963
965
|
## delete_managed_account
|
964
966
|
|
965
|
-
> delete_managed_account(member_guid, user_guid
|
967
|
+
> delete_managed_account(account_guid, member_guid, user_guid)
|
966
968
|
|
967
969
|
Delete managed account
|
968
970
|
|
@@ -981,13 +983,13 @@ MxPlatformRuby.configure do |config|
|
|
981
983
|
end
|
982
984
|
|
983
985
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
986
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
984
987
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
985
988
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
986
|
-
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
987
989
|
|
988
990
|
begin
|
989
991
|
# Delete managed account
|
990
|
-
api_instance.delete_managed_account(member_guid, user_guid
|
992
|
+
api_instance.delete_managed_account(account_guid, member_guid, user_guid)
|
991
993
|
rescue MxPlatformRuby::ApiError => e
|
992
994
|
puts "Error when calling MxPlatformApi->delete_managed_account: #{e}"
|
993
995
|
end
|
@@ -997,12 +999,12 @@ end
|
|
997
999
|
|
998
1000
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
999
1001
|
|
1000
|
-
> <Array(nil, Integer, Hash)> delete_managed_account_with_http_info(member_guid, user_guid
|
1002
|
+
> <Array(nil, Integer, Hash)> delete_managed_account_with_http_info(account_guid, member_guid, user_guid)
|
1001
1003
|
|
1002
1004
|
```ruby
|
1003
1005
|
begin
|
1004
1006
|
# Delete managed account
|
1005
|
-
data, status_code, headers = api_instance.delete_managed_account_with_http_info(member_guid, user_guid
|
1007
|
+
data, status_code, headers = api_instance.delete_managed_account_with_http_info(account_guid, member_guid, user_guid)
|
1006
1008
|
p status_code # => 2xx
|
1007
1009
|
p headers # => { ... }
|
1008
1010
|
p data # => nil
|
@@ -1015,9 +1017,9 @@ end
|
|
1015
1017
|
|
1016
1018
|
| Name | Type | Description | Notes |
|
1017
1019
|
| ---- | ---- | ----------- | ----- |
|
1020
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
1018
1021
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
1019
1022
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
1020
|
-
| **account_guid** | **String** | The unique id for an `account`. | |
|
1021
1023
|
|
1022
1024
|
### Return type
|
1023
1025
|
|
@@ -1106,7 +1108,7 @@ nil (empty response body)
|
|
1106
1108
|
|
1107
1109
|
## delete_managed_transaction
|
1108
1110
|
|
1109
|
-
> delete_managed_transaction(member_guid,
|
1111
|
+
> delete_managed_transaction(account_guid, member_guid, transaction_guid, user_guid)
|
1110
1112
|
|
1111
1113
|
Delete managed transaction
|
1112
1114
|
|
@@ -1125,13 +1127,14 @@ MxPlatformRuby.configure do |config|
|
|
1125
1127
|
end
|
1126
1128
|
|
1127
1129
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
1130
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
1128
1131
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
1129
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
1130
1132
|
transaction_guid = 'TRN-810828b0-5210-4878-9bd3-f4ce514f90c4' # String | The unique id for a `transaction`.
|
1133
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
1131
1134
|
|
1132
1135
|
begin
|
1133
1136
|
# Delete managed transaction
|
1134
|
-
api_instance.delete_managed_transaction(member_guid,
|
1137
|
+
api_instance.delete_managed_transaction(account_guid, member_guid, transaction_guid, user_guid)
|
1135
1138
|
rescue MxPlatformRuby::ApiError => e
|
1136
1139
|
puts "Error when calling MxPlatformApi->delete_managed_transaction: #{e}"
|
1137
1140
|
end
|
@@ -1141,12 +1144,12 @@ end
|
|
1141
1144
|
|
1142
1145
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1143
1146
|
|
1144
|
-
> <Array(nil, Integer, Hash)> delete_managed_transaction_with_http_info(member_guid,
|
1147
|
+
> <Array(nil, Integer, Hash)> delete_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid)
|
1145
1148
|
|
1146
1149
|
```ruby
|
1147
1150
|
begin
|
1148
1151
|
# Delete managed transaction
|
1149
|
-
data, status_code, headers = api_instance.delete_managed_transaction_with_http_info(member_guid,
|
1152
|
+
data, status_code, headers = api_instance.delete_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid)
|
1150
1153
|
p status_code # => 2xx
|
1151
1154
|
p headers # => { ... }
|
1152
1155
|
p data # => nil
|
@@ -1159,9 +1162,10 @@ end
|
|
1159
1162
|
|
1160
1163
|
| Name | Type | Description | Notes |
|
1161
1164
|
| ---- | ---- | ----------- | ----- |
|
1165
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
1162
1166
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
1163
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
1164
1167
|
| **transaction_guid** | **String** | The unique id for a `transaction`. | |
|
1168
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
1165
1169
|
|
1166
1170
|
### Return type
|
1167
1171
|
|
@@ -2830,7 +2834,7 @@ end
|
|
2830
2834
|
|
2831
2835
|
## list_managed_accounts
|
2832
2836
|
|
2833
|
-
> <AccountsResponseBody> list_managed_accounts(
|
2837
|
+
> <AccountsResponseBody> list_managed_accounts(member_guid, user_guid, opts)
|
2834
2838
|
|
2835
2839
|
List managed accounts
|
2836
2840
|
|
@@ -2849,8 +2853,8 @@ MxPlatformRuby.configure do |config|
|
|
2849
2853
|
end
|
2850
2854
|
|
2851
2855
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
2852
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
2853
2856
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
2857
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
2854
2858
|
opts = {
|
2855
2859
|
page: 1, # Integer | Specify current page.
|
2856
2860
|
records_per_page: 10 # Integer | Specify records per page.
|
@@ -2858,7 +2862,7 @@ opts = {
|
|
2858
2862
|
|
2859
2863
|
begin
|
2860
2864
|
# List managed accounts
|
2861
|
-
result = api_instance.list_managed_accounts(
|
2865
|
+
result = api_instance.list_managed_accounts(member_guid, user_guid, opts)
|
2862
2866
|
p result
|
2863
2867
|
rescue MxPlatformRuby::ApiError => e
|
2864
2868
|
puts "Error when calling MxPlatformApi->list_managed_accounts: #{e}"
|
@@ -2869,12 +2873,12 @@ end
|
|
2869
2873
|
|
2870
2874
|
This returns an Array which contains the response data, status code and headers.
|
2871
2875
|
|
2872
|
-
> <Array(<AccountsResponseBody>, Integer, Hash)> list_managed_accounts_with_http_info(
|
2876
|
+
> <Array(<AccountsResponseBody>, Integer, Hash)> list_managed_accounts_with_http_info(member_guid, user_guid, opts)
|
2873
2877
|
|
2874
2878
|
```ruby
|
2875
2879
|
begin
|
2876
2880
|
# List managed accounts
|
2877
|
-
data, status_code, headers = api_instance.list_managed_accounts_with_http_info(
|
2881
|
+
data, status_code, headers = api_instance.list_managed_accounts_with_http_info(member_guid, user_guid, opts)
|
2878
2882
|
p status_code # => 2xx
|
2879
2883
|
p headers # => { ... }
|
2880
2884
|
p data # => <AccountsResponseBody>
|
@@ -2887,8 +2891,8 @@ end
|
|
2887
2891
|
|
2888
2892
|
| Name | Type | Description | Notes |
|
2889
2893
|
| ---- | ---- | ----------- | ----- |
|
2890
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
2891
2894
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
2895
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
2892
2896
|
| **page** | **Integer** | Specify current page. | [optional] |
|
2893
2897
|
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
|
2894
2898
|
|
@@ -3058,7 +3062,7 @@ end
|
|
3058
3062
|
|
3059
3063
|
## list_managed_transactions
|
3060
3064
|
|
3061
|
-
> <TransactionsResponseBody> list_managed_transactions(
|
3065
|
+
> <TransactionsResponseBody> list_managed_transactions(account_guid, member_guid, user_guid, opts)
|
3062
3066
|
|
3063
3067
|
List managed transactions
|
3064
3068
|
|
@@ -3077,8 +3081,9 @@ MxPlatformRuby.configure do |config|
|
|
3077
3081
|
end
|
3078
3082
|
|
3079
3083
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
3080
|
-
|
3084
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
3081
3085
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
3086
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
3082
3087
|
opts = {
|
3083
3088
|
page: 1, # Integer | Specify current page.
|
3084
3089
|
records_per_page: 10 # Integer | Specify records per page.
|
@@ -3086,7 +3091,7 @@ opts = {
|
|
3086
3091
|
|
3087
3092
|
begin
|
3088
3093
|
# List managed transactions
|
3089
|
-
result = api_instance.list_managed_transactions(
|
3094
|
+
result = api_instance.list_managed_transactions(account_guid, member_guid, user_guid, opts)
|
3090
3095
|
p result
|
3091
3096
|
rescue MxPlatformRuby::ApiError => e
|
3092
3097
|
puts "Error when calling MxPlatformApi->list_managed_transactions: #{e}"
|
@@ -3097,12 +3102,12 @@ end
|
|
3097
3102
|
|
3098
3103
|
This returns an Array which contains the response data, status code and headers.
|
3099
3104
|
|
3100
|
-
> <Array(<TransactionsResponseBody>, Integer, Hash)> list_managed_transactions_with_http_info(
|
3105
|
+
> <Array(<TransactionsResponseBody>, Integer, Hash)> list_managed_transactions_with_http_info(account_guid, member_guid, user_guid, opts)
|
3101
3106
|
|
3102
3107
|
```ruby
|
3103
3108
|
begin
|
3104
3109
|
# List managed transactions
|
3105
|
-
data, status_code, headers = api_instance.list_managed_transactions_with_http_info(
|
3110
|
+
data, status_code, headers = api_instance.list_managed_transactions_with_http_info(account_guid, member_guid, user_guid, opts)
|
3106
3111
|
p status_code # => 2xx
|
3107
3112
|
p headers # => { ... }
|
3108
3113
|
p data # => <TransactionsResponseBody>
|
@@ -3115,8 +3120,9 @@ end
|
|
3115
3120
|
|
3116
3121
|
| Name | Type | Description | Notes |
|
3117
3122
|
| ---- | ---- | ----------- | ----- |
|
3118
|
-
| **
|
3123
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
3119
3124
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
3125
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
3120
3126
|
| **page** | **Integer** | Specify current page. | [optional] |
|
3121
3127
|
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
|
3122
3128
|
|
@@ -4368,7 +4374,7 @@ end
|
|
4368
4374
|
|
4369
4375
|
## read_default_category
|
4370
4376
|
|
4371
|
-
> <CategoryResponseBody> read_default_category(category_guid
|
4377
|
+
> <CategoryResponseBody> read_default_category(category_guid)
|
4372
4378
|
|
4373
4379
|
Read a default category
|
4374
4380
|
|
@@ -4388,11 +4394,10 @@ end
|
|
4388
4394
|
|
4389
4395
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
4390
4396
|
category_guid = 'CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874' # String | The unique id for a `category`.
|
4391
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
4392
4397
|
|
4393
4398
|
begin
|
4394
4399
|
# Read a default category
|
4395
|
-
result = api_instance.read_default_category(category_guid
|
4400
|
+
result = api_instance.read_default_category(category_guid)
|
4396
4401
|
p result
|
4397
4402
|
rescue MxPlatformRuby::ApiError => e
|
4398
4403
|
puts "Error when calling MxPlatformApi->read_default_category: #{e}"
|
@@ -4403,12 +4408,12 @@ end
|
|
4403
4408
|
|
4404
4409
|
This returns an Array which contains the response data, status code and headers.
|
4405
4410
|
|
4406
|
-
> <Array(<CategoryResponseBody>, Integer, Hash)> read_default_category_with_http_info(category_guid
|
4411
|
+
> <Array(<CategoryResponseBody>, Integer, Hash)> read_default_category_with_http_info(category_guid)
|
4407
4412
|
|
4408
4413
|
```ruby
|
4409
4414
|
begin
|
4410
4415
|
# Read a default category
|
4411
|
-
data, status_code, headers = api_instance.read_default_category_with_http_info(category_guid
|
4416
|
+
data, status_code, headers = api_instance.read_default_category_with_http_info(category_guid)
|
4412
4417
|
p status_code # => 2xx
|
4413
4418
|
p headers # => { ... }
|
4414
4419
|
p data # => <CategoryResponseBody>
|
@@ -4422,7 +4427,6 @@ end
|
|
4422
4427
|
| Name | Type | Description | Notes |
|
4423
4428
|
| ---- | ---- | ----------- | ----- |
|
4424
4429
|
| **category_guid** | **String** | The unique id for a `category`. | |
|
4425
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
4426
4430
|
|
4427
4431
|
### Return type
|
4428
4432
|
|
@@ -4582,7 +4586,7 @@ end
|
|
4582
4586
|
|
4583
4587
|
## read_managed_account
|
4584
4588
|
|
4585
|
-
> <AccountResponseBody> read_managed_account(member_guid, user_guid
|
4589
|
+
> <AccountResponseBody> read_managed_account(account_guid, member_guid, user_guid)
|
4586
4590
|
|
4587
4591
|
Read managed account
|
4588
4592
|
|
@@ -4601,13 +4605,13 @@ MxPlatformRuby.configure do |config|
|
|
4601
4605
|
end
|
4602
4606
|
|
4603
4607
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
4608
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
4604
4609
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
4605
4610
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
4606
|
-
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
4607
4611
|
|
4608
4612
|
begin
|
4609
4613
|
# Read managed account
|
4610
|
-
result = api_instance.read_managed_account(member_guid, user_guid
|
4614
|
+
result = api_instance.read_managed_account(account_guid, member_guid, user_guid)
|
4611
4615
|
p result
|
4612
4616
|
rescue MxPlatformRuby::ApiError => e
|
4613
4617
|
puts "Error when calling MxPlatformApi->read_managed_account: #{e}"
|
@@ -4618,12 +4622,12 @@ end
|
|
4618
4622
|
|
4619
4623
|
This returns an Array which contains the response data, status code and headers.
|
4620
4624
|
|
4621
|
-
> <Array(<AccountResponseBody>, Integer, Hash)> read_managed_account_with_http_info(member_guid, user_guid
|
4625
|
+
> <Array(<AccountResponseBody>, Integer, Hash)> read_managed_account_with_http_info(account_guid, member_guid, user_guid)
|
4622
4626
|
|
4623
4627
|
```ruby
|
4624
4628
|
begin
|
4625
4629
|
# Read managed account
|
4626
|
-
data, status_code, headers = api_instance.read_managed_account_with_http_info(member_guid, user_guid
|
4630
|
+
data, status_code, headers = api_instance.read_managed_account_with_http_info(account_guid, member_guid, user_guid)
|
4627
4631
|
p status_code # => 2xx
|
4628
4632
|
p headers # => { ... }
|
4629
4633
|
p data # => <AccountResponseBody>
|
@@ -4636,9 +4640,9 @@ end
|
|
4636
4640
|
|
4637
4641
|
| Name | Type | Description | Notes |
|
4638
4642
|
| ---- | ---- | ----------- | ----- |
|
4643
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
4639
4644
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
4640
4645
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
4641
|
-
| **account_guid** | **String** | The unique id for an `account`. | |
|
4642
4646
|
|
4643
4647
|
### Return type
|
4644
4648
|
|
@@ -4728,7 +4732,7 @@ end
|
|
4728
4732
|
|
4729
4733
|
## read_managed_transaction
|
4730
4734
|
|
4731
|
-
> <TransactionResponseBody> read_managed_transaction(member_guid,
|
4735
|
+
> <TransactionResponseBody> read_managed_transaction(account_guid, member_guid, transaction_guid, user_guid)
|
4732
4736
|
|
4733
4737
|
Read managed transaction
|
4734
4738
|
|
@@ -4747,13 +4751,14 @@ MxPlatformRuby.configure do |config|
|
|
4747
4751
|
end
|
4748
4752
|
|
4749
4753
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
4754
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
4750
4755
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
4751
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
4752
4756
|
transaction_guid = 'TRN-810828b0-5210-4878-9bd3-f4ce514f90c4' # String | The unique id for a `transaction`.
|
4757
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
4753
4758
|
|
4754
4759
|
begin
|
4755
4760
|
# Read managed transaction
|
4756
|
-
result = api_instance.read_managed_transaction(member_guid,
|
4761
|
+
result = api_instance.read_managed_transaction(account_guid, member_guid, transaction_guid, user_guid)
|
4757
4762
|
p result
|
4758
4763
|
rescue MxPlatformRuby::ApiError => e
|
4759
4764
|
puts "Error when calling MxPlatformApi->read_managed_transaction: #{e}"
|
@@ -4764,12 +4769,12 @@ end
|
|
4764
4769
|
|
4765
4770
|
This returns an Array which contains the response data, status code and headers.
|
4766
4771
|
|
4767
|
-
> <Array(<TransactionResponseBody>, Integer, Hash)> read_managed_transaction_with_http_info(member_guid,
|
4772
|
+
> <Array(<TransactionResponseBody>, Integer, Hash)> read_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid)
|
4768
4773
|
|
4769
4774
|
```ruby
|
4770
4775
|
begin
|
4771
4776
|
# Read managed transaction
|
4772
|
-
data, status_code, headers = api_instance.read_managed_transaction_with_http_info(member_guid,
|
4777
|
+
data, status_code, headers = api_instance.read_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid)
|
4773
4778
|
p status_code # => 2xx
|
4774
4779
|
p headers # => { ... }
|
4775
4780
|
p data # => <TransactionResponseBody>
|
@@ -4782,9 +4787,10 @@ end
|
|
4782
4787
|
|
4783
4788
|
| Name | Type | Description | Notes |
|
4784
4789
|
| ---- | ---- | ----------- | ----- |
|
4790
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
4785
4791
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
4786
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
4787
4792
|
| **transaction_guid** | **String** | The unique id for a `transaction`. | |
|
4793
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
4788
4794
|
|
4789
4795
|
### Return type
|
4790
4796
|
|
@@ -5518,7 +5524,7 @@ end
|
|
5518
5524
|
|
5519
5525
|
## request_connect_widget_url
|
5520
5526
|
|
5521
|
-
> <ConnectWidgetResponseBody> request_connect_widget_url(user_guid,
|
5527
|
+
> <ConnectWidgetResponseBody> request_connect_widget_url(user_guid, connect_widget_request_body)
|
5522
5528
|
|
5523
5529
|
Request connect widget url
|
5524
5530
|
|
@@ -5538,13 +5544,11 @@ end
|
|
5538
5544
|
|
5539
5545
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
5540
5546
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
5541
|
-
|
5542
|
-
connect_widget_request_body: MxPlatformRuby::ConnectWidgetRequestBody.new # ConnectWidgetRequestBody | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5543
|
-
}
|
5547
|
+
connect_widget_request_body = MxPlatformRuby::ConnectWidgetRequestBody.new # ConnectWidgetRequestBody | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5544
5548
|
|
5545
5549
|
begin
|
5546
5550
|
# Request connect widget url
|
5547
|
-
result = api_instance.request_connect_widget_url(user_guid,
|
5551
|
+
result = api_instance.request_connect_widget_url(user_guid, connect_widget_request_body)
|
5548
5552
|
p result
|
5549
5553
|
rescue MxPlatformRuby::ApiError => e
|
5550
5554
|
puts "Error when calling MxPlatformApi->request_connect_widget_url: #{e}"
|
@@ -5555,12 +5559,12 @@ end
|
|
5555
5559
|
|
5556
5560
|
This returns an Array which contains the response data, status code and headers.
|
5557
5561
|
|
5558
|
-
> <Array(<ConnectWidgetResponseBody>, Integer, Hash)> request_connect_widget_url_with_http_info(user_guid,
|
5562
|
+
> <Array(<ConnectWidgetResponseBody>, Integer, Hash)> request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body)
|
5559
5563
|
|
5560
5564
|
```ruby
|
5561
5565
|
begin
|
5562
5566
|
# Request connect widget url
|
5563
|
-
data, status_code, headers = api_instance.request_connect_widget_url_with_http_info(user_guid,
|
5567
|
+
data, status_code, headers = api_instance.request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body)
|
5564
5568
|
p status_code # => 2xx
|
5565
5569
|
p headers # => { ... }
|
5566
5570
|
p data # => <ConnectWidgetResponseBody>
|
@@ -5574,7 +5578,7 @@ end
|
|
5574
5578
|
| Name | Type | Description | Notes |
|
5575
5579
|
| ---- | ---- | ----------- | ----- |
|
5576
5580
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
5577
|
-
| **connect_widget_request_body** | [**ConnectWidgetRequestBody**](ConnectWidgetRequestBody.md) | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials) |
|
5581
|
+
| **connect_widget_request_body** | [**ConnectWidgetRequestBody**](ConnectWidgetRequestBody.md) | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials) | |
|
5578
5582
|
|
5579
5583
|
### Return type
|
5580
5584
|
|
@@ -5615,8 +5619,8 @@ member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique i
|
|
5615
5619
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
5616
5620
|
opts = {
|
5617
5621
|
referral_source: 'APP', # String | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
5618
|
-
|
5619
|
-
|
5622
|
+
skip_aggregation: false, # Boolean | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
|
5623
|
+
ui_message_webview_url_scheme: 'mx' # String | A scheme for routing the user back to the application state they were previously in.
|
5620
5624
|
}
|
5621
5625
|
|
5622
5626
|
begin
|
@@ -5653,8 +5657,8 @@ end
|
|
5653
5657
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
5654
5658
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
5655
5659
|
| **referral_source** | **String** | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`. | [optional] |
|
5656
|
-
| **ui_message_webview_url_scheme** | **String** | A scheme for routing the user back to the application state they were previously in. | [optional] |
|
5657
5660
|
| **skip_aggregation** | **Boolean** | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page. | [optional] |
|
5661
|
+
| **ui_message_webview_url_scheme** | **String** | A scheme for routing the user back to the application state they were previously in. | [optional] |
|
5658
5662
|
|
5659
5663
|
### Return type
|
5660
5664
|
|
@@ -5822,7 +5826,7 @@ end
|
|
5822
5826
|
|
5823
5827
|
## update_account_by_member
|
5824
5828
|
|
5825
|
-
> <AccountResponseBody> update_account_by_member(
|
5829
|
+
> <AccountResponseBody> update_account_by_member(account_guid, member_guid, user_guid, account_update_request_body)
|
5826
5830
|
|
5827
5831
|
Update account by member
|
5828
5832
|
|
@@ -5841,14 +5845,14 @@ MxPlatformRuby.configure do |config|
|
|
5841
5845
|
end
|
5842
5846
|
|
5843
5847
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
5844
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
5845
|
-
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
5846
5848
|
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
5849
|
+
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
5850
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
5847
5851
|
account_update_request_body = MxPlatformRuby::AccountUpdateRequestBody.new # AccountUpdateRequestBody | Account object to be created with optional parameters (is_hidden)
|
5848
5852
|
|
5849
5853
|
begin
|
5850
5854
|
# Update account by member
|
5851
|
-
result = api_instance.update_account_by_member(
|
5855
|
+
result = api_instance.update_account_by_member(account_guid, member_guid, user_guid, account_update_request_body)
|
5852
5856
|
p result
|
5853
5857
|
rescue MxPlatformRuby::ApiError => e
|
5854
5858
|
puts "Error when calling MxPlatformApi->update_account_by_member: #{e}"
|
@@ -5859,12 +5863,12 @@ end
|
|
5859
5863
|
|
5860
5864
|
This returns an Array which contains the response data, status code and headers.
|
5861
5865
|
|
5862
|
-
> <Array(<AccountResponseBody>, Integer, Hash)> update_account_by_member_with_http_info(
|
5866
|
+
> <Array(<AccountResponseBody>, Integer, Hash)> update_account_by_member_with_http_info(account_guid, member_guid, user_guid, account_update_request_body)
|
5863
5867
|
|
5864
5868
|
```ruby
|
5865
5869
|
begin
|
5866
5870
|
# Update account by member
|
5867
|
-
data, status_code, headers = api_instance.update_account_by_member_with_http_info(
|
5871
|
+
data, status_code, headers = api_instance.update_account_by_member_with_http_info(account_guid, member_guid, user_guid, account_update_request_body)
|
5868
5872
|
p status_code # => 2xx
|
5869
5873
|
p headers # => { ... }
|
5870
5874
|
p data # => <AccountResponseBody>
|
@@ -5877,9 +5881,9 @@ end
|
|
5877
5881
|
|
5878
5882
|
| Name | Type | Description | Notes |
|
5879
5883
|
| ---- | ---- | ----------- | ----- |
|
5880
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
5881
|
-
| **member_guid** | **String** | The unique id for a `member`. | |
|
5882
5884
|
| **account_guid** | **String** | The unique id for an `account`. | |
|
5885
|
+
| **member_guid** | **String** | The unique id for a `member`. | |
|
5886
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
5883
5887
|
| **account_update_request_body** | [**AccountUpdateRequestBody**](AccountUpdateRequestBody.md) | Account object to be created with optional parameters (is_hidden) | |
|
5884
5888
|
|
5885
5889
|
### Return type
|
@@ -5972,7 +5976,7 @@ end
|
|
5972
5976
|
|
5973
5977
|
## update_managed_account
|
5974
5978
|
|
5975
|
-
> <AccountResponseBody> update_managed_account(member_guid, user_guid,
|
5979
|
+
> <AccountResponseBody> update_managed_account(account_guid, member_guid, user_guid, managed_account_update_request_body)
|
5976
5980
|
|
5977
5981
|
Update managed account
|
5978
5982
|
|
@@ -5991,14 +5995,14 @@ MxPlatformRuby.configure do |config|
|
|
5991
5995
|
end
|
5992
5996
|
|
5993
5997
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
5998
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
5994
5999
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
5995
6000
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
5996
|
-
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
5997
6001
|
managed_account_update_request_body = MxPlatformRuby::ManagedAccountUpdateRequestBody.new # ManagedAccountUpdateRequestBody | Managed account object to be updated (While no single parameter is required, the request body can't be empty)
|
5998
6002
|
|
5999
6003
|
begin
|
6000
6004
|
# Update managed account
|
6001
|
-
result = api_instance.update_managed_account(member_guid, user_guid,
|
6005
|
+
result = api_instance.update_managed_account(account_guid, member_guid, user_guid, managed_account_update_request_body)
|
6002
6006
|
p result
|
6003
6007
|
rescue MxPlatformRuby::ApiError => e
|
6004
6008
|
puts "Error when calling MxPlatformApi->update_managed_account: #{e}"
|
@@ -6009,12 +6013,12 @@ end
|
|
6009
6013
|
|
6010
6014
|
This returns an Array which contains the response data, status code and headers.
|
6011
6015
|
|
6012
|
-
> <Array(<AccountResponseBody>, Integer, Hash)> update_managed_account_with_http_info(member_guid, user_guid,
|
6016
|
+
> <Array(<AccountResponseBody>, Integer, Hash)> update_managed_account_with_http_info(account_guid, member_guid, user_guid, managed_account_update_request_body)
|
6013
6017
|
|
6014
6018
|
```ruby
|
6015
6019
|
begin
|
6016
6020
|
# Update managed account
|
6017
|
-
data, status_code, headers = api_instance.update_managed_account_with_http_info(member_guid, user_guid,
|
6021
|
+
data, status_code, headers = api_instance.update_managed_account_with_http_info(account_guid, member_guid, user_guid, managed_account_update_request_body)
|
6018
6022
|
p status_code # => 2xx
|
6019
6023
|
p headers # => { ... }
|
6020
6024
|
p data # => <AccountResponseBody>
|
@@ -6027,9 +6031,9 @@ end
|
|
6027
6031
|
|
6028
6032
|
| Name | Type | Description | Notes |
|
6029
6033
|
| ---- | ---- | ----------- | ----- |
|
6034
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
6030
6035
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
6031
6036
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
6032
|
-
| **account_guid** | **String** | The unique id for an `account`. | |
|
6033
6037
|
| **managed_account_update_request_body** | [**ManagedAccountUpdateRequestBody**](ManagedAccountUpdateRequestBody.md) | Managed account object to be updated (While no single parameter is required, the request body can't be empty) | |
|
6034
6038
|
|
6035
6039
|
### Return type
|
@@ -6122,7 +6126,7 @@ end
|
|
6122
6126
|
|
6123
6127
|
## update_managed_transaction
|
6124
6128
|
|
6125
|
-
> <TransactionResponseBody> update_managed_transaction(
|
6129
|
+
> <TransactionResponseBody> update_managed_transaction(account_guid, member_guid, transaction_guid, user_guid, managed_transaction_update_request_body)
|
6126
6130
|
|
6127
6131
|
Update managed transaction
|
6128
6132
|
|
@@ -6141,14 +6145,15 @@ MxPlatformRuby.configure do |config|
|
|
6141
6145
|
end
|
6142
6146
|
|
6143
6147
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
6148
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
6144
6149
|
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
|
6145
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
6146
6150
|
transaction_guid = 'TRN-810828b0-5210-4878-9bd3-f4ce514f90c4' # String | The unique id for a `transaction`.
|
6151
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
6147
6152
|
managed_transaction_update_request_body = MxPlatformRuby::ManagedTransactionUpdateRequestBody.new # ManagedTransactionUpdateRequestBody | Managed transaction object to be updated (While no single parameter is required, the request body can't be empty)
|
6148
6153
|
|
6149
6154
|
begin
|
6150
6155
|
# Update managed transaction
|
6151
|
-
result = api_instance.update_managed_transaction(
|
6156
|
+
result = api_instance.update_managed_transaction(account_guid, member_guid, transaction_guid, user_guid, managed_transaction_update_request_body)
|
6152
6157
|
p result
|
6153
6158
|
rescue MxPlatformRuby::ApiError => e
|
6154
6159
|
puts "Error when calling MxPlatformApi->update_managed_transaction: #{e}"
|
@@ -6159,12 +6164,12 @@ end
|
|
6159
6164
|
|
6160
6165
|
This returns an Array which contains the response data, status code and headers.
|
6161
6166
|
|
6162
|
-
> <Array(<TransactionResponseBody>, Integer, Hash)> update_managed_transaction_with_http_info(
|
6167
|
+
> <Array(<TransactionResponseBody>, Integer, Hash)> update_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, managed_transaction_update_request_body)
|
6163
6168
|
|
6164
6169
|
```ruby
|
6165
6170
|
begin
|
6166
6171
|
# Update managed transaction
|
6167
|
-
data, status_code, headers = api_instance.update_managed_transaction_with_http_info(
|
6172
|
+
data, status_code, headers = api_instance.update_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, managed_transaction_update_request_body)
|
6168
6173
|
p status_code # => 2xx
|
6169
6174
|
p headers # => { ... }
|
6170
6175
|
p data # => <TransactionResponseBody>
|
@@ -6177,9 +6182,10 @@ end
|
|
6177
6182
|
|
6178
6183
|
| Name | Type | Description | Notes |
|
6179
6184
|
| ---- | ---- | ----------- | ----- |
|
6185
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
6180
6186
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
6181
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
6182
6187
|
| **transaction_guid** | **String** | The unique id for a `transaction`. | |
|
6188
|
+
| **user_guid** | **String** | The unique id for a `user`. | |
|
6183
6189
|
| **managed_transaction_update_request_body** | [**ManagedTransactionUpdateRequestBody**](ManagedTransactionUpdateRequestBody.md) | Managed transaction object to be updated (While no single parameter is required, the request body can't be empty) | |
|
6184
6190
|
|
6185
6191
|
### Return type
|