@@ -33,7 +33,8 @@ Method | HTTP request | Description
3333[ ** listAccountNumbersByMember** ] ( MxPlatformApi.md#listAccountNumbersByMember ) | ** GET** /users/{user_guid}/members/{member_guid}/account_numbers | List account numbers by member
3434[ ** listAccountOwnersByMember** ] ( MxPlatformApi.md#listAccountOwnersByMember ) | ** GET** /users/{user_guid}/members/{member_guid}/account_owners | List account owners by member
3535[ ** listCategories** ] ( MxPlatformApi.md#listCategories ) | ** GET** /users/{user_guid}/categories | List categories
36- [ ** listDefaultCategories** ] ( MxPlatformApi.md#listDefaultCategories ) | ** GET** /users/{user_guid}/categories/default | List default categories
36+ [ ** listDefaultCategories** ] ( MxPlatformApi.md#listDefaultCategories ) | ** GET** /categories/default | List default categories
37+ [ ** listDefaultCategoriesByUser** ] ( MxPlatformApi.md#listDefaultCategoriesByUser ) | ** GET** /users/{user_guid}/categories/default | List default categories by user
3738[ ** listFavoriteInstitutions** ] ( MxPlatformApi.md#listFavoriteInstitutions ) | ** GET** /institutions/favorites | List favorite institutions
3839[ ** listHoldings** ] ( MxPlatformApi.md#listHoldings ) | ** GET** /users/{user_guid}/holdings | List holdings
3940[ ** listHoldingsByMember** ] ( MxPlatformApi.md#listHoldingsByMember ) | ** GET** /users/{user_guid}/members/{member_guid}/holdings | List holdings by member
@@ -58,7 +59,8 @@ Method | HTTP request | Description
5859[ ** listUserAccounts** ] ( MxPlatformApi.md#listUserAccounts ) | ** GET** /users/{user_guid}/accounts | List accounts
5960[ ** listUsers** ] ( MxPlatformApi.md#listUsers ) | ** GET** /users | List users
6061[ ** readAccount** ] ( MxPlatformApi.md#readAccount ) | ** GET** /users/{user_guid}/accounts/{account_guid} | Read account
61- [ ** readCategory** ] ( MxPlatformApi.md#readCategory ) | ** GET** /users/{user_guid}/categories/{category_guid} | Read category
62+ [ ** readCategory** ] ( MxPlatformApi.md#readCategory ) | ** GET** /users/{user_guid}/categories/{category_guid} | Read a custom category
63+ [ ** readDefaultCategory** ] ( MxPlatformApi.md#readDefaultCategory ) | ** GET** /categories/{category_guid} | Read a default category
6264[ ** readHolding** ] ( MxPlatformApi.md#readHolding ) | ** GET** /users/{user_guid}/holdings/{holding_guid} | Read holding
6365[ ** readInstitution** ] ( MxPlatformApi.md#readInstitution ) | ** GET** /institutions/{institution_code} | Read institution
6466[ ** readManagedAccount** ] ( MxPlatformApi.md#readManagedAccount ) | ** GET** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid} | Read managed account
@@ -2133,11 +2135,11 @@ Name | Type | Description | Notes
21332135
21342136<a name =" listDefaultCategories " ></a >
21352137# ** listDefaultCategories**
2136- > CategoriesResponseBody listDefaultCategories(userGuid, page, recordsPerPage)
2138+ > CategoriesResponseBody listDefaultCategories(page, recordsPerPage)
21372139
21382140List default categories
21392141
2140- Use this endpoint to read the attributes of a specific user .
2142+ 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 &#x 60 ; is_default &#x 60 ; field set to &#x 60 ; true &#x 60 ; . 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 .
21412143
21422144### Example
21432145``` java
@@ -2160,11 +2162,10 @@ public class Example {
21602162 basicAuth. setPassword(" YOUR PASSWORD" );
21612163
21622164 MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
2163- String userGuid = " USR-fa7537f3-48aa-a683-a02a-b18940482f54" ; // String | The unique id for a `user`.
21642165 Integer page = 1 ; // Integer | Specify current page.
21652166 Integer recordsPerPage = 10 ; // Integer | Specify records per page.
21662167 try {
2167- CategoriesResponseBody result = apiInstance. listDefaultCategories(userGuid, page, recordsPerPage);
2168+ CategoriesResponseBody result = apiInstance. listDefaultCategories(page, recordsPerPage);
21682169 System . out. println(result);
21692170 } catch (ApiException e) {
21702171 System . err. println(" Exception when calling MxPlatformApi#listDefaultCategories" );
@@ -2179,6 +2180,77 @@ public class Example {
21792180
21802181### Parameters
21812182
2183+ Name | Type | Description | Notes
2184+ ------------- | ------------- | ------------- | -------------
2185+ ** page** | ** Integer** | Specify current page. | [ optional]
2186+ ** recordsPerPage** | ** Integer** | Specify records per page. | [ optional]
2187+
2188+ ### Return type
2189+
2190+ [ ** CategoriesResponseBody** ] ( CategoriesResponseBody.md )
2191+
2192+ ### Authorization
2193+
2194+ [ basicAuth] ( ../README.md#basicAuth )
2195+
2196+ ### HTTP request headers
2197+
2198+ - ** Content-Type** : Not defined
2199+ - ** Accept** : application/vnd.mx.api.v1+json
2200+
2201+ ### HTTP response details
2202+ | Status code | Description | Response headers |
2203+ | -------------| -------------| ------------------|
2204+ ** 200** | OK | - |
2205+
2206+ <a name =" listDefaultCategoriesByUser " ></a >
2207+ # ** listDefaultCategoriesByUser**
2208+ > CategoriesResponseBody listDefaultCategoriesByUser(userGuid, page, recordsPerPage)
2209+
2210+ List default categories by user
2211+
2212+ 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.
2213+
2214+ ### Example
2215+ ``` java
2216+ // Import classes:
2217+ import com.mx.client.ApiClient ;
2218+ import com.mx.client.ApiException ;
2219+ import com.mx.client.Configuration ;
2220+ import com.mx.client.auth.* ;
2221+ import com.mx.client.models.* ;
2222+ import com.mx.client.mx_platform_api.MxPlatformApi ;
2223+
2224+ public class Example {
2225+ public static void main (String [] args ) {
2226+ ApiClient defaultClient = Configuration . getDefaultApiClient();
2227+ defaultClient. setBasePath(" https://api.mx.com" );
2228+
2229+ // Configure HTTP basic authorization: basicAuth
2230+ HttpBasicAuth basicAuth = (HttpBasicAuth ) defaultClient. getAuthentication(" basicAuth" );
2231+ basicAuth. setUsername(" YOUR USERNAME" );
2232+ basicAuth. setPassword(" YOUR PASSWORD" );
2233+
2234+ MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
2235+ String userGuid = " USR-fa7537f3-48aa-a683-a02a-b18940482f54" ; // String | The unique id for a `user`.
2236+ Integer page = 1 ; // Integer | Specify current page.
2237+ Integer recordsPerPage = 10 ; // Integer | Specify records per page.
2238+ try {
2239+ CategoriesResponseBody result = apiInstance. listDefaultCategoriesByUser(userGuid, page, recordsPerPage);
2240+ System . out. println(result);
2241+ } catch (ApiException e) {
2242+ System . err. println(" Exception when calling MxPlatformApi#listDefaultCategoriesByUser" );
2243+ System . err. println(" Status code: " + e. getCode());
2244+ System . err. println(" Reason: " + e. getResponseBody());
2245+ System . err. println(" Response headers: " + e. getResponseHeaders());
2246+ e. printStackTrace();
2247+ }
2248+ }
2249+ }
2250+ ```
2251+
2252+ ### Parameters
2253+
21822254Name | Type | Description | Notes
21832255------------- | ------------- | ------------- | -------------
21842256 ** userGuid** | ** String** | The unique id for a ` ; user` ; . |
@@ -3975,7 +4047,7 @@ Name | Type | Description | Notes
39754047# ** readCategory**
39764048> CategoryResponseBody readCategory(categoryGuid, userGuid)
39774049
3978- Read category
4050+ Read a custom category
39794051
39804052Use this endpoint to read the attributes of either a default category or a custom category.
39814053
@@ -4041,6 +4113,76 @@ Name | Type | Description | Notes
40414113| -------------| -------------| ------------------|
40424114** 200** | OK | - |
40434115
4116+ <a name =" readDefaultCategory " ></a >
4117+ # ** readDefaultCategory**
4118+ > CategoryResponseBody readDefaultCategory(categoryGuid, userGuid)
4119+
4120+ Read a default category
4121+
4122+ Use this endpoint to read the attributes of a default category.
4123+
4124+ ### Example
4125+ ``` java
4126+ // Import classes:
4127+ import com.mx.client.ApiClient ;
4128+ import com.mx.client.ApiException ;
4129+ import com.mx.client.Configuration ;
4130+ import com.mx.client.auth.* ;
4131+ import com.mx.client.models.* ;
4132+ import com.mx.client.mx_platform_api.MxPlatformApi ;
4133+
4134+ public class Example {
4135+ public static void main (String [] args ) {
4136+ ApiClient defaultClient = Configuration . getDefaultApiClient();
4137+ defaultClient. setBasePath(" https://api.mx.com" );
4138+
4139+ // Configure HTTP basic authorization: basicAuth
4140+ HttpBasicAuth basicAuth = (HttpBasicAuth ) defaultClient. getAuthentication(" basicAuth" );
4141+ basicAuth. setUsername(" YOUR USERNAME" );
4142+ basicAuth. setPassword(" YOUR PASSWORD" );
4143+
4144+ MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
4145+ String categoryGuid = " CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874" ; // String | The unique id for a `category`.
4146+ String userGuid = " USR-fa7537f3-48aa-a683-a02a-b18940482f54" ; // String | The unique id for a `user`.
4147+ try {
4148+ CategoryResponseBody result = apiInstance. readDefaultCategory(categoryGuid, userGuid);
4149+ System . out. println(result);
4150+ } catch (ApiException e) {
4151+ System . err. println(" Exception when calling MxPlatformApi#readDefaultCategory" );
4152+ System . err. println(" Status code: " + e. getCode());
4153+ System . err. println(" Reason: " + e. getResponseBody());
4154+ System . err. println(" Response headers: " + e. getResponseHeaders());
4155+ e. printStackTrace();
4156+ }
4157+ }
4158+ }
4159+ ```
4160+
4161+ ### Parameters
4162+
4163+ Name | Type | Description | Notes
4164+ ------------- | ------------- | ------------- | -------------
4165+ ** categoryGuid** | ** String** | The unique id for a ` ; category` ; . |
4166+ ** userGuid** | ** String** | The unique id for a ` ; user` ; . |
4167+
4168+ ### Return type
4169+
4170+ [ ** CategoryResponseBody** ] ( CategoryResponseBody.md )
4171+
4172+ ### Authorization
4173+
4174+ [ basicAuth] ( ../README.md#basicAuth )
4175+
4176+ ### HTTP request headers
4177+
4178+ - ** Content-Type** : Not defined
4179+ - ** Accept** : application/vnd.mx.api.v1+json
4180+
4181+ ### HTTP response details
4182+ | Status code | Description | Response headers |
4183+ | -------------| -------------| ------------------|
4184+ ** 200** | OK | - |
4185+
40444186<a name =" readHolding " ></a >
40454187# ** readHolding**
40464188> HoldingResponseBody readHolding(holdingGuid, userGuid)
0 commit comments