Skip to content

Latest commit

 

History

History
151 lines (100 loc) · 3.72 KB

MyAccountApi.md

File metadata and controls

151 lines (100 loc) · 3.72 KB

IimmpactApi.MyAccountApi

All URIs are relative to https://api.iimmpact.com

Method HTTP request Description
v1AuthChangePasswordPost POST /v1/auth/change-password
v1AuthNewPasswordChallengePost POST /v1/auth/new-password-challenge
v1BalanceGet GET /v1/balance

v1AuthChangePasswordPost

InlineResponse2001 v1AuthChangePasswordPost(newPasswordRequest)

Example

var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;

// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';

var apiInstance = new IimmpactApi.MyAccountApi();

var newPasswordRequest = new IimmpactApi.ChangePasswordRequest(); // ChangePasswordRequest | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.v1AuthChangePasswordPost(newPasswordRequest, callback);

Parameters

Name Type Description Notes
newPasswordRequest ChangePasswordRequest

Return type

InlineResponse2001

Authorization

SSO

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

v1AuthNewPasswordChallengePost

NewPasswordResponses v1AuthNewPasswordChallengePost(newPasswordRequest)

Example

var IimmpactApi = require('iimmpact_api');

var apiInstance = new IimmpactApi.MyAccountApi();

var newPasswordRequest = new IimmpactApi.NewPasswordRequest(); // NewPasswordRequest | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.v1AuthNewPasswordChallengePost(newPasswordRequest, callback);

Parameters

Name Type Description Notes
newPasswordRequest NewPasswordRequest

Return type

NewPasswordResponses

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

v1BalanceGet

InlineResponse200 v1BalanceGet()

Example

var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;

// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';

var apiInstance = new IimmpactApi.MyAccountApi();

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.v1BalanceGet(callback);

Parameters

This endpoint does not need any parameter.

Return type

InlineResponse200

Authorization

SSO

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json