@@ -45,6 +45,7 @@ All URIs are relative to *https://api.mx.com*
4545| [ ** list_managed_institutions** ] ( MxPlatformApi.md#list_managed_institutions ) | ** GET** /managed_institutions | List managed institutions |
4646| [ ** list_managed_members** ] ( MxPlatformApi.md#list_managed_members ) | ** GET** /users/{user_guid}/managed_members | List managed members |
4747| [ ** list_managed_transactions** ] ( MxPlatformApi.md#list_managed_transactions ) | ** GET** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions | List managed transactions |
48+ | [ ** list_member_accounts** ] ( MxPlatformApi.md#list_member_accounts ) | ** GET** /users/{user_guid}/members/{member_guid}/accounts | List accounts by member |
4849| [ ** list_member_challenges** ] ( MxPlatformApi.md#list_member_challenges ) | ** GET** /users/{user_guid}/members/{member_guid}/challenges | List member challenges |
4950| [ ** list_member_credentials** ] ( MxPlatformApi.md#list_member_credentials ) | ** GET** /users/{user_guid}/members/{member_guid}/credentials | List member credentials |
5051| [ ** list_members** ] ( MxPlatformApi.md#list_members ) | ** GET** /users/{user_guid}/members | List members |
@@ -60,6 +61,7 @@ All URIs are relative to *https://api.mx.com*
6061| [ ** list_user_accounts** ] ( MxPlatformApi.md#list_user_accounts ) | ** GET** /users/{user_guid}/accounts | List accounts |
6162| [ ** list_users** ] ( MxPlatformApi.md#list_users ) | ** GET** /users | List users |
6263| [ ** read_account** ] ( MxPlatformApi.md#read_account ) | ** GET** /users/{user_guid}/accounts/{account_guid} | Read account |
64+ | [ ** read_account_by_member** ] ( MxPlatformApi.md#read_account_by_member ) | ** GET** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Read account by member |
6365| [ ** read_category** ] ( MxPlatformApi.md#read_category ) | ** GET** /users/{user_guid}/categories/{category_guid} | Read a custom category |
6466| [ ** read_default_category** ] ( MxPlatformApi.md#read_default_category ) | ** GET** /categories/{category_guid} | Read a default category |
6567| [ ** read_holding** ] ( MxPlatformApi.md#read_holding ) | ** GET** /users/{user_guid}/holdings/{holding_guid} | Read holding |
@@ -3140,6 +3142,86 @@ end
31403142- ** Accept** : application/vnd.mx.api.v1+json
31413143
31423144
3145+ ## list_member_accounts
3146+
3147+ > <AccountsResponseBody > list_member_accounts(user_guid, member_guid, opts)
3148+
3149+ List accounts by member
3150+
3151+ This endpoint returns a list of all the accounts associated with the specified ` member ` .
3152+
3153+ ### Examples
3154+
3155+ ``` ruby
3156+ require ' time'
3157+ require ' mx-platform-ruby'
3158+ # setup authorization
3159+ MxPlatformRuby .configure do |config |
3160+ # Configure HTTP basic authorization: basicAuth
3161+ config.username = ' YOUR USERNAME'
3162+ config.password = ' YOUR PASSWORD'
3163+ end
3164+
3165+ api_instance = MxPlatformRuby ::MxPlatformApi .new
3166+ user_guid = ' USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
3167+ member_guid = ' MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
3168+ opts = {
3169+ member_is_managed_by_user: true , # Boolean | List only accounts whose member is managed by the user.
3170+ page: 1 , # Integer | Specify current page.
3171+ records_per_page: 10 # Integer | Specify records per page.
3172+ }
3173+
3174+ begin
3175+ # List accounts by member
3176+ result = api_instance.list_member_accounts(user_guid, member_guid, opts)
3177+ p result
3178+ rescue MxPlatformRuby ::ApiError => e
3179+ puts " Error when calling MxPlatformApi->list_member_accounts: #{ e } "
3180+ end
3181+ ```
3182+
3183+ #### Using the list_member_accounts_with_http_info variant
3184+
3185+ This returns an Array which contains the response data, status code and headers.
3186+
3187+ > <Array(<AccountsResponseBody >, Integer, Hash)> list_member_accounts_with_http_info(user_guid, member_guid, opts)
3188+
3189+ ``` ruby
3190+ begin
3191+ # List accounts by member
3192+ data, status_code, headers = api_instance.list_member_accounts_with_http_info(user_guid, member_guid, opts)
3193+ p status_code # => 2xx
3194+ p headers # => { ... }
3195+ p data # => <AccountsResponseBody>
3196+ rescue MxPlatformRuby ::ApiError => e
3197+ puts " Error when calling MxPlatformApi->list_member_accounts_with_http_info: #{ e } "
3198+ end
3199+ ```
3200+
3201+ ### Parameters
3202+
3203+ | Name | Type | Description | Notes |
3204+ | ---- | ---- | ----------- | ----- |
3205+ | ** user_guid** | ** String** | The unique id for a ` ; user` ; . | |
3206+ | ** member_guid** | ** String** | The unique id for a ` ; member` ; . | |
3207+ | ** member_is_managed_by_user** | ** Boolean** | List only accounts whose member is managed by the user. | [ optional] |
3208+ | ** page** | ** Integer** | Specify current page. | [ optional] |
3209+ | ** records_per_page** | ** Integer** | Specify records per page. | [ optional] |
3210+
3211+ ### Return type
3212+
3213+ [ ** AccountsResponseBody** ] ( AccountsResponseBody.md )
3214+
3215+ ### Authorization
3216+
3217+ [ basicAuth] ( ../README.md#basicAuth )
3218+
3219+ ### HTTP request headers
3220+
3221+ - ** Content-Type** : Not defined
3222+ - ** Accept** : application/vnd.mx.api.v1+json
3223+
3224+
31433225## list_member_challenges
31443226
31453227> <ChallengesResponseBody > list_member_challenges(member_guid, user_guid, opts)
@@ -4101,6 +4183,7 @@ end
41014183api_instance = MxPlatformRuby ::MxPlatformApi .new
41024184user_guid = ' USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
41034185opts = {
4186+ member_is_managed_by_user: true , # Boolean | List only accounts whose member is managed by the user.
41044187 page: 1 , # Integer | Specify current page.
41054188 records_per_page: 10 # Integer | Specify records per page.
41064189}
@@ -4137,6 +4220,7 @@ end
41374220| Name | Type | Description | Notes |
41384221| ---- | ---- | ----------- | ----- |
41394222| ** user_guid** | ** String** | The unique id for a ` ; user` ; . | |
4223+ | ** member_is_managed_by_user** | ** Boolean** | List only accounts whose member is managed by the user. | [ optional] |
41404224| ** page** | ** Integer** | Specify current page. | [ optional] |
41414225| ** records_per_page** | ** Integer** | Specify records per page. | [ optional] |
41424226
@@ -4177,7 +4261,10 @@ end
41774261api_instance = MxPlatformRuby ::MxPlatformApi .new
41784262opts = {
41794263 page: 1 , # Integer | Specify current page.
4180- records_per_page: 10 # Integer | Specify records per page.
4264+ records_per_page: 10 , # Integer | Specify records per page.
4265+ id: ' u-12324-abdc' , # String | The user `id` to search for.
4266+ email: ' example@example.com' , # String | The user `email` to search for.
4267+ is_disabled: true # Boolean | Search for users that are diabled.
41814268}
41824269
41834270begin
@@ -4213,6 +4300,9 @@ end
42134300| ---- | ---- | ----------- | ----- |
42144301| ** page** | ** Integer** | Specify current page. | [ optional] |
42154302| ** records_per_page** | ** Integer** | Specify records per page. | [ optional] |
4303+ | ** id** | ** String** | The user ` ; id` ; to search for. | [ optional] |
4304+ | ** email** | ** String** | The user ` ; email` ; to search for. | [ optional] |
4305+ | ** is_disabled** | ** Boolean** | Search for users that are diabled. | [ optional] |
42164306
42174307### Return type
42184308
@@ -4300,6 +4390,80 @@ end
43004390- ** Accept** : application/vnd.mx.api.v1+json
43014391
43024392
4393+ ## read_account_by_member
4394+
4395+ > <AccountResponseBody > read_account_by_member(account_guid, member_guid, user_guid)
4396+
4397+ Read account by member
4398+
4399+ This endpoint allows you to read the attributes of an ` account ` resource.
4400+
4401+ ### Examples
4402+
4403+ ``` ruby
4404+ require ' time'
4405+ require ' mx-platform-ruby'
4406+ # setup authorization
4407+ MxPlatformRuby .configure do |config |
4408+ # Configure HTTP basic authorization: basicAuth
4409+ config.username = ' YOUR USERNAME'
4410+ config.password = ' YOUR PASSWORD'
4411+ end
4412+
4413+ api_instance = MxPlatformRuby ::MxPlatformApi .new
4414+ account_guid = ' ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
4415+ member_guid = ' MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
4416+ user_guid = ' USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
4417+
4418+ begin
4419+ # Read account by member
4420+ result = api_instance.read_account_by_member(account_guid, member_guid, user_guid)
4421+ p result
4422+ rescue MxPlatformRuby ::ApiError => e
4423+ puts " Error when calling MxPlatformApi->read_account_by_member: #{ e } "
4424+ end
4425+ ```
4426+
4427+ #### Using the read_account_by_member_with_http_info variant
4428+
4429+ This returns an Array which contains the response data, status code and headers.
4430+
4431+ > <Array(<AccountResponseBody >, Integer, Hash)> read_account_by_member_with_http_info(account_guid, member_guid, user_guid)
4432+
4433+ ``` ruby
4434+ begin
4435+ # Read account by member
4436+ data, status_code, headers = api_instance.read_account_by_member_with_http_info(account_guid, member_guid, user_guid)
4437+ p status_code # => 2xx
4438+ p headers # => { ... }
4439+ p data # => <AccountResponseBody>
4440+ rescue MxPlatformRuby ::ApiError => e
4441+ puts " Error when calling MxPlatformApi->read_account_by_member_with_http_info: #{ e } "
4442+ end
4443+ ```
4444+
4445+ ### Parameters
4446+
4447+ | Name | Type | Description | Notes |
4448+ | ---- | ---- | ----------- | ----- |
4449+ | ** account_guid** | ** String** | The unique id for an ` ; account` ; . | |
4450+ | ** member_guid** | ** String** | The unique id for a ` ; member` ; . | |
4451+ | ** user_guid** | ** String** | The unique id for a ` ; user` ; . | |
4452+
4453+ ### Return type
4454+
4455+ [ ** AccountResponseBody** ] ( AccountResponseBody.md )
4456+
4457+ ### Authorization
4458+
4459+ [ basicAuth] ( ../README.md#basicAuth )
4460+
4461+ ### HTTP request headers
4462+
4463+ - ** Content-Type** : Not defined
4464+ - ** Accept** : application/vnd.mx.api.v1+json
4465+
4466+
43034467## read_category
43044468
43054469> <CategoryResponseBody > read_category(category_guid, user_guid)
0 commit comments