@@ -79,9 +79,6 @@ All URIs are relative to *https://api.mx.com*
7979| [ ** read_user** ] ( MxPlatformApi.md#read_user ) | ** GET** /users/{user_guid} | Read user |
8080| [ ** request_connect_widget_url** ] ( MxPlatformApi.md#request_connect_widget_url ) | ** POST** /users/{user_guid}/connect_widget_url | Request connect widget url |
8181| [ ** request_o_auth_window_uri** ] ( MxPlatformApi.md#request_o_auth_window_uri ) | ** GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Request oauth window uri |
82- | [ ** request_partner_account** ] ( MxPlatformApi.md#request_partner_account ) | ** GET** /partner_account | Request partner account |
83- | [ ** request_partner_authorization_code** ] ( MxPlatformApi.md#request_partner_authorization_code ) | ** POST** /partner_authorization_code | Request partner authorization code |
84- | [ ** request_partner_token** ] ( MxPlatformApi.md#request_partner_token ) | ** POST** /partner_token | Request partner token |
8582| [ ** request_widget_url** ] ( MxPlatformApi.md#request_widget_url ) | ** POST** /users/{user_guid}/widget_urls | Request widget url |
8683| [ ** resume_aggregation** ] ( MxPlatformApi.md#resume_aggregation ) | ** PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation |
8784| [ ** update_account_by_member** ] ( MxPlatformApi.md#update_account_by_member ) | ** PUT** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Update account by member |
@@ -5677,216 +5674,6 @@ end
56775674- ** Accept** : application/vnd.mx.api.v1+json
56785675
56795676
5680- ## request_partner_account
5681-
5682- > <PartnerAccountResponseBody > request_partner_account
5683-
5684- Request partner account
5685-
5686- Use this endpoint to request a partner account.
5687-
5688- ### Examples
5689-
5690- ``` ruby
5691- require ' time'
5692- require ' mx-platform-ruby'
5693- # setup authorization
5694- MxPlatformRuby .configure do |config |
5695- # Configure Bearer authorization: bearerAuth
5696- config.access_token = ' YOUR_BEARER_TOKEN'
5697- end
5698-
5699- api_instance = MxPlatformRuby ::MxPlatformApi .new
5700-
5701- begin
5702- # Request partner account
5703- result = api_instance.request_partner_account
5704- p result
5705- rescue MxPlatformRuby ::ApiError => e
5706- puts " Error when calling MxPlatformApi->request_partner_account: #{ e } "
5707- end
5708- ```
5709-
5710- #### Using the request_partner_account_with_http_info variant
5711-
5712- This returns an Array which contains the response data, status code and headers.
5713-
5714- > <Array(<PartnerAccountResponseBody >, Integer, Hash)> request_partner_account_with_http_info
5715-
5716- ``` ruby
5717- begin
5718- # Request partner account
5719- data, status_code, headers = api_instance.request_partner_account_with_http_info
5720- p status_code # => 2xx
5721- p headers # => { ... }
5722- p data # => <PartnerAccountResponseBody>
5723- rescue MxPlatformRuby ::ApiError => e
5724- puts " Error when calling MxPlatformApi->request_partner_account_with_http_info: #{ e } "
5725- end
5726- ```
5727-
5728- ### Parameters
5729-
5730- This endpoint does not need any parameter.
5731-
5732- ### Return type
5733-
5734- [ ** PartnerAccountResponseBody** ] ( PartnerAccountResponseBody.md )
5735-
5736- ### Authorization
5737-
5738- [ bearerAuth] ( ../README.md#bearerAuth )
5739-
5740- ### HTTP request headers
5741-
5742- - ** Content-Type** : Not defined
5743- - ** Accept** : application/vnd.mx.api.v1+json
5744-
5745-
5746- ## request_partner_authorization_code
5747-
5748- > <PartnerAuthorizationCodeResponseBody > request_partner_authorization_code(partner_authorization_code_request_body)
5749-
5750- Request partner authorization code
5751-
5752- Use this endpoint to request a partner authorization code.
5753-
5754- ### Examples
5755-
5756- ``` ruby
5757- require ' time'
5758- require ' mx-platform-ruby'
5759- # setup authorization
5760- MxPlatformRuby .configure do |config |
5761- # Configure HTTP basic authorization: basicAuth
5762- config.username = ' YOUR USERNAME'
5763- config.password = ' YOUR PASSWORD'
5764- end
5765-
5766- api_instance = MxPlatformRuby ::MxPlatformApi .new
5767- partner_authorization_code_request_body = MxPlatformRuby ::PartnerAuthorizationCodeRequestBody .new # PartnerAuthorizationCodeRequestBody | Partner authorization code object containing account_guid, member_guid, and user_guid.
5768-
5769- begin
5770- # Request partner authorization code
5771- result = api_instance.request_partner_authorization_code(partner_authorization_code_request_body)
5772- p result
5773- rescue MxPlatformRuby ::ApiError => e
5774- puts " Error when calling MxPlatformApi->request_partner_authorization_code: #{ e } "
5775- end
5776- ```
5777-
5778- #### Using the request_partner_authorization_code_with_http_info variant
5779-
5780- This returns an Array which contains the response data, status code and headers.
5781-
5782- > <Array(<PartnerAuthorizationCodeResponseBody >, Integer, Hash)> request_partner_authorization_code_with_http_info(partner_authorization_code_request_body)
5783-
5784- ``` ruby
5785- begin
5786- # Request partner authorization code
5787- data, status_code, headers = api_instance.request_partner_authorization_code_with_http_info(partner_authorization_code_request_body)
5788- p status_code # => 2xx
5789- p headers # => { ... }
5790- p data # => <PartnerAuthorizationCodeResponseBody>
5791- rescue MxPlatformRuby ::ApiError => e
5792- puts " Error when calling MxPlatformApi->request_partner_authorization_code_with_http_info: #{ e } "
5793- end
5794- ```
5795-
5796- ### Parameters
5797-
5798- | Name | Type | Description | Notes |
5799- | ---- | ---- | ----------- | ----- |
5800- | ** partner_authorization_code_request_body** | [ ** PartnerAuthorizationCodeRequestBody** ] ( PartnerAuthorizationCodeRequestBody.md ) | Partner authorization code object containing account_guid, member_guid, and user_guid. | |
5801-
5802- ### Return type
5803-
5804- [ ** PartnerAuthorizationCodeResponseBody** ] ( PartnerAuthorizationCodeResponseBody.md )
5805-
5806- ### Authorization
5807-
5808- [ basicAuth] ( ../README.md#basicAuth )
5809-
5810- ### HTTP request headers
5811-
5812- - ** Content-Type** : application/json
5813- - ** Accept** : application/vnd.mx.api.v1+json
5814-
5815-
5816- ## request_partner_token
5817-
5818- > <PartnerTokenResponseBody > request_partner_token(opts)
5819-
5820- Request partner token
5821-
5822- Use this endpoint to request a partner token.
5823-
5824- ### Examples
5825-
5826- ``` ruby
5827- require ' time'
5828- require ' mx-platform-ruby'
5829- # setup authorization
5830- MxPlatformRuby .configure do |config |
5831- # Configure HTTP basic authorization: basicAuth
5832- config.username = ' YOUR USERNAME'
5833- config.password = ' YOUR PASSWORD'
5834- end
5835-
5836- api_instance = MxPlatformRuby ::MxPlatformApi .new
5837- opts = {
5838- code: ' sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM' , # String | Code to request partner token.
5839- grant_type: ' authorization_code' # String | Specify grant type.
5840- }
5841-
5842- begin
5843- # Request partner token
5844- result = api_instance.request_partner_token(opts)
5845- p result
5846- rescue MxPlatformRuby ::ApiError => e
5847- puts " Error when calling MxPlatformApi->request_partner_token: #{ e } "
5848- end
5849- ```
5850-
5851- #### Using the request_partner_token_with_http_info variant
5852-
5853- This returns an Array which contains the response data, status code and headers.
5854-
5855- > <Array(<PartnerTokenResponseBody >, Integer, Hash)> request_partner_token_with_http_info(opts)
5856-
5857- ``` ruby
5858- begin
5859- # Request partner token
5860- data, status_code, headers = api_instance.request_partner_token_with_http_info(opts)
5861- p status_code # => 2xx
5862- p headers # => { ... }
5863- p data # => <PartnerTokenResponseBody>
5864- rescue MxPlatformRuby ::ApiError => e
5865- puts " Error when calling MxPlatformApi->request_partner_token_with_http_info: #{ e } "
5866- end
5867- ```
5868-
5869- ### Parameters
5870-
5871- | Name | Type | Description | Notes |
5872- | ---- | ---- | ----------- | ----- |
5873- | ** code** | ** String** | Code to request partner token. | [ optional] |
5874- | ** grant_type** | ** String** | Specify grant type. | [ optional] |
5875-
5876- ### Return type
5877-
5878- [ ** PartnerTokenResponseBody** ] ( PartnerTokenResponseBody.md )
5879-
5880- ### Authorization
5881-
5882- [ basicAuth] ( ../README.md#basicAuth )
5883-
5884- ### HTTP request headers
5885-
5886- - ** Content-Type** : Not defined
5887- - ** Accept** : application/vnd.mx.api.v1+json
5888-
5889-
58905677## request_widget_url
58915678
58925679> <WidgetResponseBody > request_widget_url(user_guid, widget_request_body, opts)
0 commit comments