@@ -79,9 +79,6 @@ Method | HTTP request | Description
7979[ ** readUser** ] ( MxPlatformApi.md#readUser ) | ** GET** /users/{user_guid} | Read user
8080[ ** requestConnectWidgetURL** ] ( MxPlatformApi.md#requestConnectWidgetURL ) | ** POST** /users/{user_guid}/connect_widget_url | Request connect widget url
8181[ ** requestOAuthWindowURI** ] ( MxPlatformApi.md#requestOAuthWindowURI ) | ** GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Request oauth window uri
82- [ ** requestPartnerAccount** ] ( MxPlatformApi.md#requestPartnerAccount ) | ** GET** /partner_account | Request partner account
83- [ ** requestPartnerAuthorizationCode** ] ( MxPlatformApi.md#requestPartnerAuthorizationCode ) | ** POST** /partner_authorization_code | Request partner authorization code
84- [ ** requestPartnerToken** ] ( MxPlatformApi.md#requestPartnerToken ) | ** POST** /partner_token | Request partner token
8582[ ** requestWidgetURL** ] ( MxPlatformApi.md#requestWidgetURL ) | ** POST** /users/{user_guid}/widget_urls | Request widget url
8683[ ** resumeAggregation** ] ( MxPlatformApi.md#resumeAggregation ) | ** PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation
8784[ ** updateAccountByMember** ] ( MxPlatformApi.md#updateAccountByMember ) | ** PUT** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Update account by member
@@ -5465,207 +5462,6 @@ Name | Type | Description | Notes
54655462| -------------| -------------| ------------------|
54665463** 200** | OK | - |
54675464
5468- <a name =" requestPartnerAccount " ></a >
5469- # ** requestPartnerAccount**
5470- > PartnerAccountResponseBody requestPartnerAccount()
5471-
5472- Request partner account
5473-
5474- Use this endpoint to request a partner account.
5475-
5476- ### Example
5477- ``` java
5478- // Import classes:
5479- import com.mx.client.ApiClient ;
5480- import com.mx.client.ApiException ;
5481- import com.mx.client.Configuration ;
5482- import com.mx.client.auth.* ;
5483- import com.mx.client.models.* ;
5484- import com.mx.client.mx_platform_api.MxPlatformApi ;
5485-
5486- public class Example {
5487- public static void main (String [] args ) {
5488- ApiClient defaultClient = Configuration . getDefaultApiClient();
5489- defaultClient. setBasePath(" https://api.mx.com" );
5490-
5491- // Configure HTTP bearer authorization: bearerAuth
5492- HttpBearerAuth bearerAuth = (HttpBearerAuth ) defaultClient. getAuthentication(" bearerAuth" );
5493- bearerAuth. setBearerToken(" BEARER TOKEN" );
5494-
5495- MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
5496- try {
5497- PartnerAccountResponseBody result = apiInstance. requestPartnerAccount();
5498- System . out. println(result);
5499- } catch (ApiException e) {
5500- System . err. println(" Exception when calling MxPlatformApi#requestPartnerAccount" );
5501- System . err. println(" Status code: " + e. getCode());
5502- System . err. println(" Reason: " + e. getResponseBody());
5503- System . err. println(" Response headers: " + e. getResponseHeaders());
5504- e. printStackTrace();
5505- }
5506- }
5507- }
5508- ```
5509-
5510- ### Parameters
5511- This endpoint does not need any parameter.
5512-
5513- ### Return type
5514-
5515- [ ** PartnerAccountResponseBody** ] ( PartnerAccountResponseBody.md )
5516-
5517- ### Authorization
5518-
5519- [ bearerAuth] ( ../README.md#bearerAuth )
5520-
5521- ### HTTP request headers
5522-
5523- - ** Content-Type** : Not defined
5524- - ** Accept** : application/vnd.mx.api.v1+json
5525-
5526- ### HTTP response details
5527- | Status code | Description | Response headers |
5528- | -------------| -------------| ------------------|
5529- ** 200** | OK | - |
5530-
5531- <a name =" requestPartnerAuthorizationCode " ></a >
5532- # ** requestPartnerAuthorizationCode**
5533- > PartnerAuthorizationCodeResponseBody requestPartnerAuthorizationCode(partnerAuthorizationCodeRequestBody)
5534-
5535- Request partner authorization code
5536-
5537- Use this endpoint to request a partner authorization code.
5538-
5539- ### Example
5540- ``` java
5541- // Import classes:
5542- import com.mx.client.ApiClient ;
5543- import com.mx.client.ApiException ;
5544- import com.mx.client.Configuration ;
5545- import com.mx.client.auth.* ;
5546- import com.mx.client.models.* ;
5547- import com.mx.client.mx_platform_api.MxPlatformApi ;
5548-
5549- public class Example {
5550- public static void main (String [] args ) {
5551- ApiClient defaultClient = Configuration . getDefaultApiClient();
5552- defaultClient. setBasePath(" https://api.mx.com" );
5553-
5554- // Configure HTTP basic authorization: basicAuth
5555- HttpBasicAuth basicAuth = (HttpBasicAuth ) defaultClient. getAuthentication(" basicAuth" );
5556- basicAuth. setUsername(" YOUR USERNAME" );
5557- basicAuth. setPassword(" YOUR PASSWORD" );
5558-
5559- MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
5560- PartnerAuthorizationCodeRequestBody partnerAuthorizationCodeRequestBody = new PartnerAuthorizationCodeRequestBody (); // PartnerAuthorizationCodeRequestBody | Partner authorization code object containing account_guid, member_guid, and user_guid.
5561- try {
5562- PartnerAuthorizationCodeResponseBody result = apiInstance. requestPartnerAuthorizationCode(partnerAuthorizationCodeRequestBody);
5563- System . out. println(result);
5564- } catch (ApiException e) {
5565- System . err. println(" Exception when calling MxPlatformApi#requestPartnerAuthorizationCode" );
5566- System . err. println(" Status code: " + e. getCode());
5567- System . err. println(" Reason: " + e. getResponseBody());
5568- System . err. println(" Response headers: " + e. getResponseHeaders());
5569- e. printStackTrace();
5570- }
5571- }
5572- }
5573- ```
5574-
5575- ### Parameters
5576-
5577- Name | Type | Description | Notes
5578- ------------- | ------------- | ------------- | -------------
5579- ** partnerAuthorizationCodeRequestBody** | [ ** PartnerAuthorizationCodeRequestBody** ] ( PartnerAuthorizationCodeRequestBody.md ) | Partner authorization code object containing account_guid, member_guid, and user_guid. |
5580-
5581- ### Return type
5582-
5583- [ ** PartnerAuthorizationCodeResponseBody** ] ( PartnerAuthorizationCodeResponseBody.md )
5584-
5585- ### Authorization
5586-
5587- [ basicAuth] ( ../README.md#basicAuth )
5588-
5589- ### HTTP request headers
5590-
5591- - ** Content-Type** : application/json
5592- - ** Accept** : application/vnd.mx.api.v1+json
5593-
5594- ### HTTP response details
5595- | Status code | Description | Response headers |
5596- | -------------| -------------| ------------------|
5597- ** 200** | OK | - |
5598-
5599- <a name =" requestPartnerToken " ></a >
5600- # ** requestPartnerToken**
5601- > PartnerTokenResponseBody requestPartnerToken(code, grantType)
5602-
5603- Request partner token
5604-
5605- Use this endpoint to request a partner token.
5606-
5607- ### Example
5608- ``` java
5609- // Import classes:
5610- import com.mx.client.ApiClient ;
5611- import com.mx.client.ApiException ;
5612- import com.mx.client.Configuration ;
5613- import com.mx.client.auth.* ;
5614- import com.mx.client.models.* ;
5615- import com.mx.client.mx_platform_api.MxPlatformApi ;
5616-
5617- public class Example {
5618- public static void main (String [] args ) {
5619- ApiClient defaultClient = Configuration . getDefaultApiClient();
5620- defaultClient. setBasePath(" https://api.mx.com" );
5621-
5622- // Configure HTTP basic authorization: basicAuth
5623- HttpBasicAuth basicAuth = (HttpBasicAuth ) defaultClient. getAuthentication(" basicAuth" );
5624- basicAuth. setUsername(" YOUR USERNAME" );
5625- basicAuth. setPassword(" YOUR PASSWORD" );
5626-
5627- MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
5628- String code = " sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM" ; // String | Code to request partner token.
5629- String grantType = " authorization_code" ; // String | Specify grant type.
5630- try {
5631- PartnerTokenResponseBody result = apiInstance. requestPartnerToken(code, grantType);
5632- System . out. println(result);
5633- } catch (ApiException e) {
5634- System . err. println(" Exception when calling MxPlatformApi#requestPartnerToken" );
5635- System . err. println(" Status code: " + e. getCode());
5636- System . err. println(" Reason: " + e. getResponseBody());
5637- System . err. println(" Response headers: " + e. getResponseHeaders());
5638- e. printStackTrace();
5639- }
5640- }
5641- }
5642- ```
5643-
5644- ### Parameters
5645-
5646- Name | Type | Description | Notes
5647- ------------- | ------------- | ------------- | -------------
5648- ** code** | ** String** | Code to request partner token. | [ optional]
5649- ** grantType** | ** String** | Specify grant type. | [ optional]
5650-
5651- ### Return type
5652-
5653- [ ** PartnerTokenResponseBody** ] ( PartnerTokenResponseBody.md )
5654-
5655- ### Authorization
5656-
5657- [ basicAuth] ( ../README.md#basicAuth )
5658-
5659- ### HTTP request headers
5660-
5661- - ** Content-Type** : Not defined
5662- - ** Accept** : application/vnd.mx.api.v1+json
5663-
5664- ### HTTP response details
5665- | Status code | Description | Response headers |
5666- | -------------| -------------| ------------------|
5667- ** 200** | OK | - |
5668-
56695465<a name =" requestWidgetURL " ></a >
56705466# ** requestWidgetURL**
56715467> WidgetResponseBody requestWidgetURL(userGuid, widgetRequestBody, acceptLanguage)
0 commit comments