You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please [open an issue](https://github.com/mxenabled/mx-platform-java/issues) or [submit a pull request.](https://github.com/mxenabled/mx-platform-java/pulls)
80
+
Please [open an issue](https://github.com/mxenabled/mx-platform-ruby/issues) or [submit a pull request.](https://github.com/mxenabled/mx-platform-ruby/pulls)
@@ -33,7 +33,8 @@ All URIs are relative to *https://api.mx.com*
33
33
|[**list_account_numbers_by_member**](MxPlatformApi.md#list_account_numbers_by_member)|**GET** /users/{user_guid}/members/{member_guid}/account_numbers | List account numbers by member |
34
34
|[**list_account_owners_by_member**](MxPlatformApi.md#list_account_owners_by_member)|**GET** /users/{user_guid}/members/{member_guid}/account_owners | List account owners by member |
35
35
|[**list_categories**](MxPlatformApi.md#list_categories)|**GET** /users/{user_guid}/categories | List categories |
36
-
|[**list_default_categories**](MxPlatformApi.md#list_default_categories)|**GET** /users/{user_guid}/categories/default | List default categories |
36
+
|[**list_default_categories**](MxPlatformApi.md#list_default_categories)|**GET** /categories/default | List default categories |
37
+
|[**list_default_categories_by_user**](MxPlatformApi.md#list_default_categories_by_user)|**GET** /users/{user_guid}/categories/default | List default categories by user |
37
38
|[**list_favorite_institutions**](MxPlatformApi.md#list_favorite_institutions)|**GET** /institutions/favorites | List favorite institutions |
38
39
|[**list_holdings**](MxPlatformApi.md#list_holdings)|**GET** /users/{user_guid}/holdings | List holdings |
39
40
|[**list_holdings_by_member**](MxPlatformApi.md#list_holdings_by_member)|**GET** /users/{user_guid}/members/{member_guid}/holdings | List holdings by member |
@@ -58,7 +59,8 @@ All URIs are relative to *https://api.mx.com*
58
59
|[**list_user_accounts**](MxPlatformApi.md#list_user_accounts)|**GET** /users/{user_guid}/accounts | List accounts |
59
60
|[**list_users**](MxPlatformApi.md#list_users)|**GET** /users | List users |
Use this endpoint to read the attributes of a specific user.
2208
+
Use this endpoint to retrieve a list of all the default categories and subcategories offered within the MX Platform API. In other words, each item in the returned list will have its `is_default` field set to `true`. There are currently 119 default categories and subcategories. Both the _list default categories_ and _list default categories by user_ endpoints return the same results. The different routes are provided for convenience.
2207
2209
2208
2210
### Examples
2209
2211
@@ -2218,15 +2220,14 @@ MxPlatformRuby.configure do |config|
2218
2220
end
2219
2221
2220
2222
api_instance =MxPlatformRuby::MxPlatformApi.new
2221
-
user_guid ='USR-fa7537f3-48aa-a683-a02a-b18940482f54'# String | The unique id for a `user`.
2222
2223
opts = {
2223
2224
page:1, # Integer | Specify current page.
2224
2225
records_per_page:10# Integer | Specify records per page.
2225
2226
}
2226
2227
2227
2228
begin
2228
2229
# List default categories
2229
-
result = api_instance.list_default_categories(user_guid, opts)
2230
+
result = api_instance.list_default_categories(opts)
2230
2231
p result
2231
2232
rescueMxPlatformRuby::ApiError => e
2232
2233
puts"Error when calling MxPlatformApi->list_default_categories: #{e}"
@@ -2237,12 +2238,12 @@ end
2237
2238
2238
2239
This returns an Array which contains the response data, status code and headers.
Use this endpoint to retrieve a list of all the default categories and subcategories, scoped by user, offered within the MX Platform API. In other words, each item in the returned list will have its `is_default` field set to `true`. There are currently 119 default categories and subcategories. Both the _list default categories_ and _list default categories by user_ endpoints return the same results. The different routes are provided for convenience.
2283
+
2284
+
### Examples
2285
+
2286
+
```ruby
2287
+
require'time'
2288
+
require'mx-platform-ruby'
2289
+
# setup authorization
2290
+
MxPlatformRuby.configure do |config|
2291
+
# Configure HTTP basic authorization: basicAuth
2292
+
config.username ='YOUR USERNAME'
2293
+
config.password ='YOUR PASSWORD'
2294
+
end
2295
+
2296
+
api_instance =MxPlatformRuby::MxPlatformApi.new
2297
+
user_guid ='USR-fa7537f3-48aa-a683-a02a-b18940482f54'# String | The unique id for a `user`.
2298
+
opts = {
2299
+
page:1, # Integer | Specify current page.
2300
+
records_per_page:10# Integer | Specify records per page.
2301
+
}
2302
+
2303
+
begin
2304
+
# List default categories by user
2305
+
result = api_instance.list_default_categories_by_user(user_guid, opts)
2306
+
p result
2307
+
rescueMxPlatformRuby::ApiError => e
2308
+
puts"Error when calling MxPlatformApi->list_default_categories_by_user: #{e}"
2309
+
end
2310
+
```
2311
+
2312
+
#### Using the list_default_categories_by_user_with_http_info variant
2313
+
2314
+
This returns an Array which contains the response data, status code and headers.
0 commit comments