akoya_apis_v2 v2.0.0
akoya_apis_v2
AkoyaApisV2 - JavaScript client for akoya_apis_v2 Akoya APIs for data recipients including token, data access, and transaction endpoints. Default servers are set to override for the Akoya sandbox environment. This SDK is automatically generated by the Swagger Codegen project:
- API version: 2.0
- Package version: 2.0
- Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen For more information, please visit http://www.akoya.com
Installation
For Node.js
npm
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install akoya_apis_v2 --save
git
If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:
npm install GIT_USER_ID/GIT_REPO_ID --save
For browser
The library also works in the browser environment via npm and browserify. After following
the above steps with Node.js and installing browserify with npm install -g browserify
,
perform the following (assuming main.js is your entry file):
browserify main.js > bundle.js
Then include bundle.js in the HTML pages.
Webpack Configuration
Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:
module: {
rules: [
{
parser: {
amd: false
}
}
]
}
Getting Started
Please follow the installation instruction and execute the following JS code:
var AkoyaApisV2 = require('akoya_apis_v2');
var defaultClient = AkoyaApisV2.ApiClient.instance;
var api = new AkoyaApisV2.AkoyaProductsApi()
var version = "version_example"; // {String} Akoya product version
var providerId = "providerId_example"; // {String} End-user's data provider
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.customerInfo(version, providerId, callback);
Documentation for API Endpoints
All URIs are relative to https://sandbox-products.ddp.akoya.com
Class | Method | HTTP request | Description |
---|---|---|---|
AkoyaApisV2.AkoyaProductsApi | customerInfo | GET /customers/{version}/{providerId}/current | Customer info |
AkoyaApisV2.AkoyaProductsApi | getAccounts | GET /accounts/{version}/{providerId} | Investments |
AkoyaApisV2.AkoyaProductsApi | getAccountsInfo | GET /accounts-info/{version}/{providerId} | Account information |
AkoyaApisV2.AkoyaProductsApi | getBalances | GET /balances/{version}/{providerId} | Balances |
AkoyaApisV2.AkoyaProductsApi | getTransactions | GET /transactions/{version}/{providerId}/{accountId} | Transactions |
AkoyaApisV2.AkoyaProductsApi | paymentNetworks | GET /payments/{version}/{providerId}/{accountId}/payment-networks | Payments |
Documentation for Models
- AkoyaApisV2.AccountInfo
- AkoyaApisV2.AccountPaymentNetwork
- AkoyaApisV2.AccountPaymentNetworkList
- AkoyaApisV2.AnnuityAccount
- AkoyaApisV2.AnnuityBalance
- AkoyaApisV2.BalanceList
- AkoyaApisV2.Balances
- AkoyaApisV2.Contribution
- AkoyaApisV2.Currency
- AkoyaApisV2.Customer
- AkoyaApisV2.CustomerCustomer
- AkoyaApisV2.CustomerCustomerAccounts
- AkoyaApisV2.CustomerCustomerAddresses
- AkoyaApisV2.CustomerCustomerName
- AkoyaApisV2.CustomerCustomerTelephones
- AkoyaApisV2.DebtSecurity
- AkoyaApisV2.DepositAccount
- AkoyaApisV2.DepositBalance
- AkoyaApisV2.DepositTransaction
- AkoyaApisV2.EquityGrant
- AkoyaApisV2.EquityGrantVestings
- AkoyaApisV2.Error
- AkoyaApisV2.FiAttribute
- AkoyaApisV2.HateoasLink
- AkoyaApisV2.Holding
- AkoyaApisV2.HoldingAssetClasses
- AkoyaApisV2.HoldingFiAssetClasses
- AkoyaApisV2.HoldingTaxLots
- AkoyaApisV2.InsuranceAccount
- AkoyaApisV2.InsuranceBalance
- AkoyaApisV2.InsuranceTransaction
- AkoyaApisV2.InvestmentAccount
- AkoyaApisV2.InvestmentBalance
- AkoyaApisV2.InvestmentDetails
- AkoyaApisV2.InvestmentLoan
- AkoyaApisV2.InvestmentTransaction
- AkoyaApisV2.Investments
- AkoyaApisV2.LineItem
- AkoyaApisV2.LoanAccount
- AkoyaApisV2.LoanBalance
- AkoyaApisV2.LoanTransaction
- AkoyaApisV2.LocAccount
- AkoyaApisV2.LocBalance
- AkoyaApisV2.LocTransaction
- AkoyaApisV2.MutualFundSecurity
- AkoyaApisV2.OpenOrder
- AkoyaApisV2.OptionSecurity
- AkoyaApisV2.OtherSecurity
- AkoyaApisV2.PaginatedArray
- AkoyaApisV2.PaginatedArrayLinks
- AkoyaApisV2.PaginatedArrayLinksNext
- AkoyaApisV2.PaymentDetails
- AkoyaApisV2.PensionSource
- AkoyaApisV2.StockSecurity
- AkoyaApisV2.SweepSecurity
- AkoyaApisV2.Transaction
- AkoyaApisV2.Transactions
- AkoyaApisV2.Vesting
Documentation for Authorization
basicAuth
- Type: HTTP basic authentication
bearerAuth
1 year ago