EAC client REST API

Dicts

bankacc

Cправочник Банковских Счетов

Запрос на чтение справочника Банковских Счетов


/dicts/bankacc

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/bankacc?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CBankAccountStruct] result = apiInstance.bankacc(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#bankacc");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CBankAccountStruct] result = apiInstance.bankacc(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#bankacc");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Банковских Счетов
[apiInstance bankaccWith:id
              completionHandler: ^(array[CBankAccountStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.bankacc(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class bankaccExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Банковских Счетов
                array[CBankAccountStruct] result = apiInstance.bankacc(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.bankacc: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->bankacc($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->bankacc: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->bankacc(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->bankacc: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Банковских Счетов
    api_response = api_instance.bankacc(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->bankacc: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Банковских Счетов

Status: 400 - Invalid status value

Status: 401 - Authentication required


banks

Cправочник Банков

Запрос на чтение справочника Банков


/dicts/banks

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/banks?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CBankStruct] result = apiInstance.banks(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#banks");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CBankStruct] result = apiInstance.banks(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#banks");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Банков
[apiInstance banksWith:id
              completionHandler: ^(array[CBankStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.banks(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class banksExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Банков
                array[CBankStruct] result = apiInstance.banks(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.banks: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->banks($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->banks: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->banks(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->banks: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Банков
    api_response = api_instance.banks(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->banks: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Банков

Status: 400 - Invalid status value

Status: 401 - Authentication required


clientagr

Cправочник Клиентских Договоров

Запрос на чтение справочника Клиентских Договоров


/dicts/clientagr

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/clientagr?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CClientAgrStruct] result = apiInstance.clientagr(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#clientagr");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CClientAgrStruct] result = apiInstance.clientagr(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#clientagr");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Клиентских Договоров
[apiInstance clientagrWith:id
              completionHandler: ^(array[CClientAgrStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clientagr(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clientagrExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Клиентских Договоров
                array[CClientAgrStruct] result = apiInstance.clientagr(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.clientagr: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->clientagr($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->clientagr: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->clientagr(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->clientagr: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Клиентских Договоров
    api_response = api_instance.clientagr(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->clientagr: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Клиентских Договоров

Status: 400 - Invalid status value

Status: 401 - Authentication required


clients

Cправочник Клиентов

Запрос на чтение справочника Клиентов


/dicts/clients

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/clients?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CClientStruct] result = apiInstance.clients(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#clients");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CClientStruct] result = apiInstance.clients(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#clients");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Клиентов
[apiInstance clientsWith:id
              completionHandler: ^(array[CClientStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clients(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clientsExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Клиентов
                array[CClientStruct] result = apiInstance.clients(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.clients: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->clients($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->clients: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->clients(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->clients: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Клиентов
    api_response = api_instance.clients(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->clients: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Клиентов

Status: 400 - Invalid status value

Status: 401 - Authentication required


countries

Cправочник Стран

Запрос на чтение справочника Стран


/dicts/countries

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/countries?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CCountryStruct] result = apiInstance.countries(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#countries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CCountryStruct] result = apiInstance.countries(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#countries");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Стран
[apiInstance countriesWith:id
              completionHandler: ^(array[CCountryStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.countries(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class countriesExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Стран
                array[CCountryStruct] result = apiInstance.countries(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.countries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->countries($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->countries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->countries(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->countries: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Стран
    api_response = api_instance.countries(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->countries: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Стран

Status: 400 - Invalid status value

Status: 401 - Authentication required


currencies

Cправочник Валют

Запрос на чтение справочника Валют


/dicts/currencies

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/currencies?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CCurrencyStruct] result = apiInstance.currencies(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#currencies");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CCurrencyStruct] result = apiInstance.currencies(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#currencies");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Валют
[apiInstance currenciesWith:id
              completionHandler: ^(array[CCurrencyStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.currencies(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class currenciesExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Валют
                array[CCurrencyStruct] result = apiInstance.currencies(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.currencies: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->currencies($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->currencies: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->currencies(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->currencies: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Валют
    api_response = api_instance.currencies(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->currencies: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Валют

Status: 400 - Invalid status value

Status: 401 - Authentication required


depoacc

Cправочник Депозитарных Счетов

Запрос на чтение справочника Депозитарных Счетов


/dicts/depoacc

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/depoacc?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CDepoAccountStruct] result = apiInstance.depoacc(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#depoacc");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CDepoAccountStruct] result = apiInstance.depoacc(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#depoacc");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Депозитарных Счетов
[apiInstance depoaccWith:id
              completionHandler: ^(array[CDepoAccountStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.depoacc(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class depoaccExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Депозитарных Счетов
                array[CDepoAccountStruct] result = apiInstance.depoacc(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.depoacc: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->depoacc($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->depoacc: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->depoacc(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->depoacc: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Депозитарных Счетов
    api_response = api_instance.depoacc(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->depoacc: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Депозитарных Счетов

Status: 400 - Invalid status value

Status: 401 - Authentication required


depos

Cправочник Депозитариев

Запрос на чтение справочника Депозитариев


/dicts/depos

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/depos?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CDepoStruct] result = apiInstance.depos(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#depos");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CDepoStruct] result = apiInstance.depos(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#depos");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Депозитариев
[apiInstance deposWith:id
              completionHandler: ^(array[CDepoStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.depos(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deposExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Депозитариев
                array[CDepoStruct] result = apiInstance.depos(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.depos: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->depos($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->depos: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->depos(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->depos: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Депозитариев
    api_response = api_instance.depos(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->depos: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Депозитариев

Status: 400 - Invalid status value

Status: 401 - Authentication required


issues

Cправочник Ценных бумаг

Запрос на чтение справочника Ценных бумаг


/dicts/issues

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/issues?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CIssueStruct] result = apiInstance.issues(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#issues");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CIssueStruct] result = apiInstance.issues(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#issues");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Ценных бумаг
[apiInstance issuesWith:id
              completionHandler: ^(array[CIssueStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.issues(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class issuesExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Ценных бумаг
                array[CIssueStruct] result = apiInstance.issues(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.issues: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->issues($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->issues: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->issues(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->issues: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Ценных бумаг
    api_response = api_instance.issues(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->issues: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Ценных бумаг

Status: 400 - Invalid status value

Status: 401 - Authentication required


parts

Cправочник участников

Запрос на чтение справочника Participants


/dicts/parts

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/parts?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CParticipantStruct] result = apiInstance.parts(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#parts");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CParticipantStruct] result = apiInstance.parts(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#parts");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник участников
[apiInstance partsWith:id
              completionHandler: ^(array[CParticipantStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.parts(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class partsExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник участников
                array[CParticipantStruct] result = apiInstance.parts(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.parts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->parts($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->parts: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->parts(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->parts: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник участников
    api_response = api_instance.parts(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->parts: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список участников

Status: 400 - Invalid status value

Status: 401 - Authentication required


schema

Cправочник Схем оформления сделок

Запрос на чтение справочника Схем оформления сделок


/dicts/schema

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/schema?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CSchemaStruct] result = apiInstance.schema(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#schema");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CSchemaStruct] result = apiInstance.schema(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#schema");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Схем оформления сделок
[apiInstance schemaWith:id
              completionHandler: ^(array[CSchemaStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.schema(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class schemaExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Схем оформления сделок
                array[CSchemaStruct] result = apiInstance.schema(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.schema: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->schema($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->schema: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->schema(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->schema: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Схем оформления сделок
    api_response = api_instance.schema(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->schema: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Схем оформления сделок

Status: 400 - Invalid status value

Status: 401 - Authentication required


securityissues

Cправочник Выпусков ценных бумаг

Запрос на чтение справочника Выпусков ценных бумаг


/dicts/securityissues

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/dicts/securityissues?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DictsApi;

import java.io.File;
import java.util.*;

public class DictsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CSecurityIssueStruct] result = apiInstance.securityissues(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#securityissues");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DictsApi;

public class DictsApiExample {

    public static void main(String[] args) {
        DictsApi apiInstance = new DictsApi();
        String id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации
        try {
            array[CSecurityIssueStruct] result = apiInstance.securityissues(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DictsApi#securityissues");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *id = id_example; // Необязательный идентификатор сущности справочкика для фильтрации (optional)

DictsApi *apiInstance = [[DictsApi alloc] init];

// Cправочник Выпусков ценных бумаг
[apiInstance securityissuesWith:id
              completionHandler: ^(array[CSecurityIssueStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DictsApi()
var opts = { 
  'id': id_example // {{String}} Необязательный идентификатор сущности справочкика для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.securityissues(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class securityissuesExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DictsApi();
            var id = id_example;  // String | Необязательный идентификатор сущности справочкика для фильтрации (optional) 

            try
            {
                // Cправочник Выпусков ценных бумаг
                array[CSecurityIssueStruct] result = apiInstance.securityissues(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DictsApi.securityissues: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDictsApi();
$id = id_example; // String | Необязательный идентификатор сущности справочкика для фильтрации

try {
    $result = $api_instance->securityissues($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DictsApi->securityissues: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DictsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DictsApi->new();
my $id = id_example; # String | Необязательный идентификатор сущности справочкика для фильтрации

eval { 
    my $result = $api_instance->securityissues(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DictsApi->securityissues: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DictsApi()
id = id_example # String | Необязательный идентификатор сущности справочкика для фильтрации (optional)

try: 
    # Cправочник Выпусков ценных бумаг
    api_response = api_instance.securityissues(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DictsApi->securityissues: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
Необязательный идентификатор сущности справочкика для фильтрации

Responses

Status: 200 - Список Выпусков ценных бумаг

Status: 400 - Invalid status value

Status: 401 - Authentication required


Docs

agreementDelete

Удалить договор

Запрос на удаление договора


/docs/agreement/{agrnum}/signatures

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
\
"http://localhost:8080/docs/agreement/{agrnum}/signatures?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocsApi;

import java.io.File;
import java.util.*;

public class DocsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            apiInstance.agreementDelete(agrnum);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocsApi;

public class DocsApiExample {

    public static void main(String[] args) {
        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            apiInstance.agreementDelete(agrnum);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *agrnum = agrnum_example; // Идентификатор (номер) договора

DocsApi *apiInstance = [[DocsApi alloc] init];

// Удалить договор
[apiInstance agreementDeleteWith:agrnum
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DocsApi()
var agrnum = agrnum_example; // {{String}} Идентификатор (номер) договора

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.agreementDelete(agrnum, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class agreementDeleteExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DocsApi();
            var agrnum = agrnum_example;  // String | Идентификатор (номер) договора

            try
            {
                // Удалить договор
                apiInstance.agreementDelete(agrnum);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocsApi.agreementDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDocsApi();
$agrnum = agrnum_example; // String | Идентификатор (номер) договора

try {
    $api_instance->agreementDelete($agrnum);
} catch (Exception $e) {
    echo 'Exception when calling DocsApi->agreementDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DocsApi->new();
my $agrnum = agrnum_example; # String | Идентификатор (номер) договора

eval { 
    $api_instance->agreementDelete(agrnum => $agrnum);
};
if ($@) {
    warn "Exception when calling DocsApi->agreementDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DocsApi()
agrnum = agrnum_example # String | Идентификатор (номер) договора

try: 
    # Удалить договор
    api_instance.agreement_delete(agrnum)
except ApiException as e:
    print("Exception when calling DocsApi->agreementDelete: %s\n" % e)

Parameters

Path parameters
Name Description
agrnum*
String
Идентификатор (номер) договора
Required
Query parameters
Name Description

Responses

Status: 200 - Договор удалён

Status: 400 - Invalid status value

Status: 401 - Authentication required

Status: 404 - Договор не найден


agreementGet

Получить договор

Запрос на чтение договора


/docs/agreement/{agrnum}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/docs/agreement/{agrnum}?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocsApi;

import java.io.File;
import java.util.*;

public class DocsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            array[CAgreementStruct] result = apiInstance.agreementGet(agrnum);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocsApi;

public class DocsApiExample {

    public static void main(String[] args) {
        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            array[CAgreementStruct] result = apiInstance.agreementGet(agrnum);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *agrnum = agrnum_example; // Идентификатор (номер) договора

DocsApi *apiInstance = [[DocsApi alloc] init];

// Получить договор
[apiInstance agreementGetWith:agrnum
              completionHandler: ^(array[CAgreementStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DocsApi()
var agrnum = agrnum_example; // {{String}} Идентификатор (номер) договора

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.agreementGet(agrnum, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class agreementGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DocsApi();
            var agrnum = agrnum_example;  // String | Идентификатор (номер) договора

            try
            {
                // Получить договор
                array[CAgreementStruct] result = apiInstance.agreementGet(agrnum);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocsApi.agreementGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDocsApi();
$agrnum = agrnum_example; // String | Идентификатор (номер) договора

try {
    $result = $api_instance->agreementGet($agrnum);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocsApi->agreementGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DocsApi->new();
my $agrnum = agrnum_example; # String | Идентификатор (номер) договора

eval { 
    my $result = $api_instance->agreementGet(agrnum => $agrnum);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DocsApi->agreementGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DocsApi()
agrnum = agrnum_example # String | Идентификатор (номер) договора

try: 
    # Получить договор
    api_response = api_instance.agreement_get(agrnum)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DocsApi->agreementGet: %s\n" % e)

Parameters

Path parameters
Name Description
agrnum*
String
Идентификатор (номер) договора
Required
Query parameters
Name Description

Responses

Status: 200 - Объект договора

Status: 400 - Invalid status value

Status: 401 - Authentication required

Status: 404 - Договор не найден


agreementGetSignatures

Получить подписи договора

Запрос на чтение подписей договора


/docs/agreement/{agrnum}/signatures

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/docs/agreement/{agrnum}/signatures?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocsApi;

import java.io.File;
import java.util.*;

public class DocsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            array[CSignatureAttributeStruct] result = apiInstance.agreementGetSignatures(agrnum);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementGetSignatures");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocsApi;

public class DocsApiExample {

    public static void main(String[] args) {
        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            array[CSignatureAttributeStruct] result = apiInstance.agreementGetSignatures(agrnum);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementGetSignatures");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *agrnum = agrnum_example; // Идентификатор (номер) договора

DocsApi *apiInstance = [[DocsApi alloc] init];

// Получить подписи договора
[apiInstance agreementGetSignaturesWith:agrnum
              completionHandler: ^(array[CSignatureAttributeStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DocsApi()
var agrnum = agrnum_example; // {{String}} Идентификатор (номер) договора

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.agreementGetSignatures(agrnum, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class agreementGetSignaturesExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DocsApi();
            var agrnum = agrnum_example;  // String | Идентификатор (номер) договора

            try
            {
                // Получить подписи договора
                array[CSignatureAttributeStruct] result = apiInstance.agreementGetSignatures(agrnum);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocsApi.agreementGetSignatures: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDocsApi();
$agrnum = agrnum_example; // String | Идентификатор (номер) договора

try {
    $result = $api_instance->agreementGetSignatures($agrnum);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocsApi->agreementGetSignatures: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DocsApi->new();
my $agrnum = agrnum_example; # String | Идентификатор (номер) договора

eval { 
    my $result = $api_instance->agreementGetSignatures(agrnum => $agrnum);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DocsApi->agreementGetSignatures: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DocsApi()
agrnum = agrnum_example # String | Идентификатор (номер) договора

try: 
    # Получить подписи договора
    api_response = api_instance.agreement_get_signatures(agrnum)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DocsApi->agreementGetSignatures: %s\n" % e)

Parameters

Path parameters
Name Description
agrnum*
String
Идентификатор (номер) договора
Required
Query parameters
Name Description

Responses

Status: 200 - Список атрибутов подписей договора

Status: 400 - Invalid status value

Status: 401 - Authentication required

Status: 404 - Договор не найден


agreementPost

Создать договор

Запрос на создание договора


/docs/agreement

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/docs/agreement?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocsApi;

import java.io.File;
import java.util.*;

public class DocsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DocsApi apiInstance = new DocsApi();
        try {
            array[CStringStruct] result = apiInstance.agreementPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocsApi;

public class DocsApiExample {

    public static void main(String[] args) {
        DocsApi apiInstance = new DocsApi();
        try {
            array[CStringStruct] result = apiInstance.agreementPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];

DocsApi *apiInstance = [[DocsApi alloc] init];

// Создать договор
[apiInstance agreementPostWithCompletionHandler: 
              ^(array[CStringStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DocsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.agreementPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class agreementPostExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DocsApi();

            try
            {
                // Создать договор
                array[CStringStruct] result = apiInstance.agreementPost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocsApi.agreementPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDocsApi();

try {
    $result = $api_instance->agreementPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocsApi->agreementPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DocsApi->new();

eval { 
    my $result = $api_instance->agreementPost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DocsApi->agreementPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DocsApi()

try: 
    # Создать договор
    api_response = api_instance.agreement_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DocsApi->agreementPost: %s\n" % e)

Parameters

Query parameters
Name Description

Responses

Status: 200 - Договор создан, номер договора возвращается в поле m_str объекта CStringStruct

Status: 400 - Invalid status value

Status: 401 - Authentication required


agreementPut

Изменить договор

Запрос на изменение договора


/docs/agreement/{agrnum}/signatures

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Basic [[basicHash]]"\
\
"http://localhost:8080/docs/agreement/{agrnum}/signatures?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocsApi;

import java.io.File;
import java.util.*;

public class DocsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            apiInstance.agreementPut(agrnum);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocsApi;

public class DocsApiExample {

    public static void main(String[] args) {
        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Идентификатор (номер) договора
        try {
            apiInstance.agreementPut(agrnum);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreementPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *agrnum = agrnum_example; // Идентификатор (номер) договора

DocsApi *apiInstance = [[DocsApi alloc] init];

// Изменить договор
[apiInstance agreementPutWith:agrnum
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DocsApi()
var agrnum = agrnum_example; // {{String}} Идентификатор (номер) договора

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.agreementPut(agrnum, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class agreementPutExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DocsApi();
            var agrnum = agrnum_example;  // String | Идентификатор (номер) договора

            try
            {
                // Изменить договор
                apiInstance.agreementPut(agrnum);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocsApi.agreementPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDocsApi();
$agrnum = agrnum_example; // String | Идентификатор (номер) договора

try {
    $api_instance->agreementPut($agrnum);
} catch (Exception $e) {
    echo 'Exception when calling DocsApi->agreementPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DocsApi->new();
my $agrnum = agrnum_example; # String | Идентификатор (номер) договора

eval { 
    $api_instance->agreementPut(agrnum => $agrnum);
};
if ($@) {
    warn "Exception when calling DocsApi->agreementPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DocsApi()
agrnum = agrnum_example # String | Идентификатор (номер) договора

try: 
    # Изменить договор
    api_instance.agreement_put(agrnum)
except ApiException as e:
    print("Exception when calling DocsApi->agreementPut: %s\n" % e)

Parameters

Path parameters
Name Description
agrnum*
String
Идентификатор (номер) договора
Required
Query parameters
Name Description

Responses

Status: 200 - Договор изменён

Status: 400 - Invalid status value

Status: 401 - Authentication required

Status: 404 - Договор не найден


agreements

Список договоров

Запрос на чтение списка договоров


/docs/agreements

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"http://localhost:8080/docs/agreements?agrnum="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocsApi;

import java.io.File;
import java.util.*;

public class DocsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: eac_rest_auth
        HttpBasicAuth eac_rest_auth = (HttpBasicAuth) defaultClient.getAuthentication("eac_rest_auth");
        eac_rest_auth.setUsername("YOUR USERNAME");
        eac_rest_auth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: eac_rest_session
        ApiKeyAuth eac_rest_session = (ApiKeyAuth) defaultClient.getAuthentication("eac_rest_session");
        eac_rest_session.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //eac_rest_session.setApiKeyPrefix("Token");

        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Необязательный идентификатор договора для фильтрации
        try {
            array[CAgreementStruct] result = apiInstance.agreements(agrnum);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreements");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocsApi;

public class DocsApiExample {

    public static void main(String[] args) {
        DocsApi apiInstance = new DocsApi();
        String agrnum = agrnum_example; // String | Необязательный идентификатор договора для фильтрации
        try {
            array[CAgreementStruct] result = apiInstance.agreements(agrnum);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocsApi#agreements");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: eac_rest_auth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: eac_rest_session)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"EACRestAPISession"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"EACRestAPISession"];
String *agrnum = agrnum_example; // Необязательный идентификатор договора для фильтрации (optional)

DocsApi *apiInstance = [[DocsApi alloc] init];

// Список договоров
[apiInstance agreementsWith:agrnum
              completionHandler: ^(array[CAgreementStruct] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var EacClientRestApi = require('eac_client_rest_api');
var defaultClient = EacClientRestApi.ApiClient.instance;
// Configure HTTP basic authorization: eac_rest_auth
var eac_rest_auth = defaultClient.authentications['eac_rest_auth'];
eac_rest_auth.username = 'YOUR USERNAME'
eac_rest_auth.password = 'YOUR PASSWORD'

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

var api = new EacClientRestApi.DocsApi()
var opts = { 
  'agrnum': agrnum_example // {{String}} Необязательный идентификатор договора для фильтрации
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.agreements(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class agreementsExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: eac_rest_auth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: eac_rest_session
            Configuration.Default.ApiKey.Add("EACRestAPISession", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("EACRestAPISession", "Bearer");

            var apiInstance = new DocsApi();
            var agrnum = agrnum_example;  // String | Необязательный идентификатор договора для фильтрации (optional) 

            try
            {
                // Список договоров
                array[CAgreementStruct] result = apiInstance.agreements(agrnum);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocsApi.agreements: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: eac_rest_auth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: eac_rest_session
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('EACRestAPISession', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('EACRestAPISession', 'Bearer');

$api_instance = new Swagger\Client\ApiDocsApi();
$agrnum = agrnum_example; // String | Необязательный идентификатор договора для фильтрации

try {
    $result = $api_instance->agreements($agrnum);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocsApi->agreements: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocsApi;
# Configure HTTP basic authorization: eac_rest_auth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: eac_rest_session
$WWW::SwaggerClient::Configuration::api_key->{'EACRestAPISession'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'EACRestAPISession'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DocsApi->new();
my $agrnum = agrnum_example; # String | Необязательный идентификатор договора для фильтрации

eval { 
    my $result = $api_instance->agreements(agrnum => $agrnum);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DocsApi->agreements: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: eac_rest_auth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: eac_rest_session
swagger_client.configuration.api_key['EACRestAPISession'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['EACRestAPISession'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DocsApi()
agrnum = agrnum_example # String | Необязательный идентификатор договора для фильтрации (optional)

try: 
    # Список договоров
    api_response = api_instance.agreements(agrnum=agrnum)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DocsApi->agreements: %s\n" % e)

Parameters

Query parameters
Name Description
agrnum
String
Необязательный идентификатор договора для фильтрации

Responses

Status: 200 - Список договоров

Status: 400 - Invalid status value

Status: 401 - Authentication required