# CoreApi.ManagerApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**apiManagerAccountNewInvestmentRequestPost**](ManagerApi.md#apiManagerAccountNewInvestmentRequestPost) | **POST** /api/manager/account/newInvestmentRequest | Create new investment request
[**apiManagerAuthConfirmEmailGet**](ManagerApi.md#apiManagerAuthConfirmEmailGet) | **GET** /api/manager/auth/confirmEmail | Confirm email after registration
[**apiManagerAuthSignInPost**](ManagerApi.md#apiManagerAuthSignInPost) | **POST** /api/manager/auth/signIn | Authorize
[**apiManagerAuthSignUpPost**](ManagerApi.md#apiManagerAuthSignUpPost) | **POST** /api/manager/auth/signUp | Register new manager
[**apiManagerAuthUpdateTokenGet**](ManagerApi.md#apiManagerAuthUpdateTokenGet) | **GET** /api/manager/auth/updateToken | Update auth token
[**apiManagerBrokersPost**](ManagerApi.md#apiManagerBrokersPost) | **POST** /api/manager/brokers | Get all enabled trade servers
[**apiManagerInvestmentCloseGet**](ManagerApi.md#apiManagerInvestmentCloseGet) | **GET** /api/manager/investment/close | Close existing investment program
[**apiManagerInvestmentGet**](ManagerApi.md#apiManagerInvestmentGet) | **GET** /api/manager/investment | Get investment program with statistic by id
[**apiManagerProfileFullGet**](ManagerApi.md#apiManagerProfileFullGet) | **GET** /api/manager/profile/full | Get full profile
[**apiManagerProfileGet**](ManagerApi.md#apiManagerProfileGet) | **GET** /api/manager/profile | Get short profile
[**apiManagerProfileUpdatePost**](ManagerApi.md#apiManagerProfileUpdatePost) | **POST** /api/manager/profile/update | Update profile
[**apiManagerWalletDepositPost**](ManagerApi.md#apiManagerWalletDepositPost) | **POST** /api/manager/wallet/deposit | Deposit
[**apiManagerWalletTransactionsPost**](ManagerApi.md#apiManagerWalletTransactionsPost) | **POST** /api/manager/wallet/transactions | Get user wallet transactions
[**apiManagerWalletWithdrawPost**](ManagerApi.md#apiManagerWalletWithdrawPost) | **POST** /api/manager/wallet/withdraw | Withdraw


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

Create new investment request

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

let apiInstance = new CoreApi.ManagerApi();

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

let opts = { 
  'request': new CoreApi.NewInvestmentRequest() // NewInvestmentRequest | 
};
apiInstance.apiManagerAccountNewInvestmentRequestPost(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 | 
 **request** | [**NewInvestmentRequest**](NewInvestmentRequest.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="apiManagerAuthConfirmEmailGet"></a>
# **apiManagerAuthConfirmEmailGet**
> apiManagerAuthConfirmEmailGet(opts)

Confirm email after registration

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

let apiInstance = new CoreApi.ManagerApi();

let opts = { 
  'userId': "userId_example", // String | 
  'code': "code_example" // String | 
};
apiInstance.apiManagerAuthConfirmEmailGet(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="apiManagerAuthSignInPost"></a>
# **apiManagerAuthSignInPost**
> &#39;String&#39; apiManagerAuthSignInPost(opts)

Authorize

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

let apiInstance = new CoreApi.ManagerApi();

let opts = { 
  'model': new CoreApi.LoginViewModel() // LoginViewModel | 
};
apiInstance.apiManagerAuthSignInPost(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="apiManagerAuthSignUpPost"></a>
# **apiManagerAuthSignUpPost**
> apiManagerAuthSignUpPost(opts)

Register new manager

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

let apiInstance = new CoreApi.ManagerApi();

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

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **model** | [**RegisterManagerViewModel**](RegisterManagerViewModel.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="apiManagerAuthUpdateTokenGet"></a>
# **apiManagerAuthUpdateTokenGet**
> &#39;String&#39; apiManagerAuthUpdateTokenGet(authorization)

Update auth token

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

let apiInstance = new CoreApi.ManagerApi();

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

apiInstance.apiManagerAuthUpdateTokenGet(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="apiManagerBrokersPost"></a>
# **apiManagerBrokersPost**
> BrokersViewModel apiManagerBrokersPost(opts)

Get all enabled trade servers

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

let apiInstance = new CoreApi.ManagerApi();

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

```

### Parameters

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

### Return type

[**BrokersViewModel**](BrokersViewModel.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="apiManagerInvestmentCloseGet"></a>
# **apiManagerInvestmentCloseGet**
> apiManagerInvestmentCloseGet(investmentProgramId, authorization)

Close existing investment program

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

let apiInstance = new CoreApi.ManagerApi();

let investmentProgramId = "investmentProgramId_example"; // String | 

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

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

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **investmentProgramId** | [**String**](.md)|  | 
 **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="apiManagerInvestmentGet"></a>
# **apiManagerInvestmentGet**
> InvestmentProgramViewModel apiManagerInvestmentGet(investmentProgramId)

Get investment program with statistic by id

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

let apiInstance = new CoreApi.ManagerApi();

let investmentProgramId = "investmentProgramId_example"; // String | 

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

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **investmentProgramId** | [**String**](.md)|  | 

### Return type

[**InvestmentProgramViewModel**](InvestmentProgramViewModel.md)

### Authorization

No authorization required

### HTTP request headers

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

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

Get full profile

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

let apiInstance = new CoreApi.ManagerApi();

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

apiInstance.apiManagerProfileFullGet(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="apiManagerProfileGet"></a>
# **apiManagerProfileGet**
> ProfileShortViewModel apiManagerProfileGet(authorization)

Get short profile

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

let apiInstance = new CoreApi.ManagerApi();

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

apiInstance.apiManagerProfileGet(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="apiManagerProfileUpdatePost"></a>
# **apiManagerProfileUpdatePost**
> apiManagerProfileUpdatePost(authorization, opts)

Update profile

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

let apiInstance = new CoreApi.ManagerApi();

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

let opts = { 
  'model': new CoreApi.UpdateProfileViewModel() // UpdateProfileViewModel | 
};
apiInstance.apiManagerProfileUpdatePost(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="apiManagerWalletDepositPost"></a>
# **apiManagerWalletDepositPost**
> apiManagerWalletDepositPost(authorization)

Deposit

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

let apiInstance = new CoreApi.ManagerApi();

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

apiInstance.apiManagerWalletDepositPost(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="apiManagerWalletTransactionsPost"></a>
# **apiManagerWalletTransactionsPost**
> WalletTransactionsViewModel apiManagerWalletTransactionsPost(authorization, opts)

Get user wallet transactions

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

let apiInstance = new CoreApi.ManagerApi();

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

let opts = { 
  'filter': new CoreApi.TransactionsFilter() // TransactionsFilter | 
};
apiInstance.apiManagerWalletTransactionsPost(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="apiManagerWalletWithdrawPost"></a>
# **apiManagerWalletWithdrawPost**
> apiManagerWalletWithdrawPost(authorization)

Withdraw

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

let apiInstance = new CoreApi.ManagerApi();

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

apiInstance.apiManagerWalletWithdrawPost(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

