# CoreApi.InvestorApi

All URIs are relative to *https://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**apiInvestorAuthConfirmEmailGet**](InvestorApi.md#apiInvestorAuthConfirmEmailGet) | **GET** /api/investor/auth/confirmEmail | Confirm email after registration
[**apiInvestorAuthSignInPost**](InvestorApi.md#apiInvestorAuthSignInPost) | **POST** /api/investor/auth/signIn | Authorize
[**apiInvestorAuthSignUpPost**](InvestorApi.md#apiInvestorAuthSignUpPost) | **POST** /api/investor/auth/signUp | Register new investor
[**apiInvestorAuthUpdateTokenGet**](InvestorApi.md#apiInvestorAuthUpdateTokenGet) | **GET** /api/investor/auth/updateToken | Update auth token
[**apiInvestorDashboardGet**](InvestorApi.md#apiInvestorDashboardGet) | **GET** /api/investor/dashboard | Get investor dashboard
[**apiInvestorInvestmentsInvestPost**](InvestorApi.md#apiInvestorInvestmentsInvestPost) | **POST** /api/investor/investments/invest | Invest in manager
[**apiInvestorInvestmentsPost**](InvestorApi.md#apiInvestorInvestmentsPost) | **POST** /api/investor/investments | Get investments by filter
[**apiInvestorInvestmentsWithdrawPost**](InvestorApi.md#apiInvestorInvestmentsWithdrawPost) | **POST** /api/investor/investments/withdraw | Withdraw from investment program
[**apiInvestorProfileFullGet**](InvestorApi.md#apiInvestorProfileFullGet) | **GET** /api/investor/profile/full | Get full profile
[**apiInvestorProfileGet**](InvestorApi.md#apiInvestorProfileGet) | **GET** /api/investor/profile | Get short profile
[**apiInvestorProfileUpdatePost**](InvestorApi.md#apiInvestorProfileUpdatePost) | **POST** /api/investor/profile/update | Update profile
[**apiInvestorWalletDepositPost**](InvestorApi.md#apiInvestorWalletDepositPost) | **POST** /api/investor/wallet/deposit | Deposit
[**apiInvestorWalletTransactionsPost**](InvestorApi.md#apiInvestorWalletTransactionsPost) | **POST** /api/investor/wallet/transactions | Get user wallet transactions
[**apiInvestorWalletWithdrawPost**](InvestorApi.md#apiInvestorWalletWithdrawPost) | **POST** /api/investor/wallet/withdraw | Withdraw


<a name="apiInvestorAuthConfirmEmailGet"></a>
# **apiInvestorAuthConfirmEmailGet**
> apiInvestorAuthConfirmEmailGet(opts)

Confirm email after registration

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let opts = { 
  'userId': "userId_example", // String | 
  'code': "code_example" // String | 
};
apiInstance.apiInvestorAuthConfirmEmailGet(opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **userId** | **String**|  | [optional] 
 **code** | **String**|  | [optional] 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorAuthSignInPost"></a>
# **apiInvestorAuthSignInPost**
> &#39;String&#39; apiInvestorAuthSignInPost(opts)

Authorize

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let opts = { 
  'model': new CoreApi.LoginViewModel() // LoginViewModel | 
};
apiInstance.apiInvestorAuthSignInPost(opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **model** | [**LoginViewModel**](LoginViewModel.md)|  | [optional] 

### Return type

**&#39;String&#39;**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorAuthSignUpPost"></a>
# **apiInvestorAuthSignUpPost**
> apiInvestorAuthSignUpPost(opts)

Register new investor

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let opts = { 
  'model': new CoreApi.RegisterInvestorViewModel() // RegisterInvestorViewModel | 
};
apiInstance.apiInvestorAuthSignUpPost(opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **model** | [**RegisterInvestorViewModel**](RegisterInvestorViewModel.md)|  | [optional] 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorAuthUpdateTokenGet"></a>
# **apiInvestorAuthUpdateTokenGet**
> &#39;String&#39; apiInvestorAuthUpdateTokenGet(authorization)

Update auth token

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

apiInstance.apiInvestorAuthUpdateTokenGet(authorization).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 

### Return type

**&#39;String&#39;**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorDashboardGet"></a>
# **apiInvestorDashboardGet**
> InvestorDashboard apiInvestorDashboardGet(authorization)

Get investor dashboard

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

apiInstance.apiInvestorDashboardGet(authorization).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 

### Return type

[**InvestorDashboard**](InvestorDashboard.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorInvestmentsInvestPost"></a>
# **apiInvestorInvestmentsInvestPost**
> ProfileShortViewModel apiInvestorInvestmentsInvestPost(authorization, opts)

Invest in manager

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

let opts = { 
  'model': new CoreApi.Invest() // Invest | 
};
apiInstance.apiInvestorInvestmentsInvestPost(authorization, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 
 **model** | [**Invest**](Invest.md)|  | [optional] 

### Return type

[**ProfileShortViewModel**](ProfileShortViewModel.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorInvestmentsPost"></a>
# **apiInvestorInvestmentsPost**
> InvestmentProgramsViewModel apiInvestorInvestmentsPost(opts)

Get investments by filter

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let opts = { 
  'filter': new CoreApi.InvestmentsFilter() // InvestmentsFilter | 
};
apiInstance.apiInvestorInvestmentsPost(opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **filter** | [**InvestmentsFilter**](InvestmentsFilter.md)|  | [optional] 

### Return type

[**InvestmentProgramsViewModel**](InvestmentProgramsViewModel.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorInvestmentsWithdrawPost"></a>
# **apiInvestorInvestmentsWithdrawPost**
> apiInvestorInvestmentsWithdrawPost(authorization, opts)

Withdraw from investment program

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

let opts = { 
  'model': new CoreApi.Invest() // Invest | 
};
apiInstance.apiInvestorInvestmentsWithdrawPost(authorization, opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 
 **model** | [**Invest**](Invest.md)|  | [optional] 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorProfileFullGet"></a>
# **apiInvestorProfileFullGet**
> ProfileFullViewModel apiInvestorProfileFullGet(authorization)

Get full profile

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

apiInstance.apiInvestorProfileFullGet(authorization).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 

### Return type

[**ProfileFullViewModel**](ProfileFullViewModel.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorProfileGet"></a>
# **apiInvestorProfileGet**
> ProfileShortViewModel apiInvestorProfileGet(authorization)

Get short profile

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

apiInstance.apiInvestorProfileGet(authorization).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 

### Return type

[**ProfileShortViewModel**](ProfileShortViewModel.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorProfileUpdatePost"></a>
# **apiInvestorProfileUpdatePost**
> apiInvestorProfileUpdatePost(authorization, opts)

Update profile

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

let opts = { 
  'model': new CoreApi.UpdateProfileViewModel() // UpdateProfileViewModel | 
};
apiInstance.apiInvestorProfileUpdatePost(authorization, opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 
 **model** | [**UpdateProfileViewModel**](UpdateProfileViewModel.md)|  | [optional] 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorWalletDepositPost"></a>
# **apiInvestorWalletDepositPost**
> apiInvestorWalletDepositPost(authorization)

Deposit

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

apiInstance.apiInvestorWalletDepositPost(authorization).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorWalletTransactionsPost"></a>
# **apiInvestorWalletTransactionsPost**
> WalletTransactionsViewModel apiInvestorWalletTransactionsPost(authorization, opts)

Get user wallet transactions

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

let opts = { 
  'filter': new CoreApi.TransactionsFilter() // TransactionsFilter | 
};
apiInstance.apiInvestorWalletTransactionsPost(authorization, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 
 **filter** | [**TransactionsFilter**](TransactionsFilter.md)|  | [optional] 

### Return type

[**WalletTransactionsViewModel**](WalletTransactionsViewModel.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json
 - **Accept**: text/plain, application/json, text/json

<a name="apiInvestorWalletWithdrawPost"></a>
# **apiInvestorWalletWithdrawPost**
> apiInvestorWalletWithdrawPost(authorization)

Withdraw

### Example
```javascript
import CoreApi from 'core_api';

let apiInstance = new CoreApi.InvestorApi();

let authorization = "authorization_example"; // String | JWT access token

apiInstance.apiInvestorWalletWithdrawPost(authorization).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| JWT access token | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: text/plain, application/json, text/json

