Hvl Session Server

SessionAPI

begin

Creates session on security block


/begin

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/begin"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSecuritySession body = ; // HvlSecuritySession | 
        try {
            HvlResponseVoid result = apiInstance.begin(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#begin");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSecuritySession body = ; // HvlSecuritySession | 
        try {
            HvlResponseVoid result = apiInstance.begin(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#begin");
            e.printStackTrace();
        }
    }
}
HvlSecuritySession *body = ; // 

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

// Creates session on security block
[apiInstance beginWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{HvlSecuritySession}} 

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

namespace Example
{
    public class beginExample
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new HvlSecuritySession(); // HvlSecuritySession | 

            try
            {
                // Creates session on security block
                HvlResponseVoid result = apiInstance.begin(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.begin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // HvlSecuritySession | 

try {
    $result = $api_instance->begin($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->begin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlSecuritySession->new(); # HvlSecuritySession | 

eval { 
    my $result = $api_instance->begin(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->begin: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # HvlSecuritySession | 

try: 
    # Creates session on security block
    api_response = api_instance.begin(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->begin: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


close

Close session on security block belong to identifier


/close

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/close"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        String body = ; // String | 
        try {
            HvlResponseVoid result = apiInstance.close(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#close");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        String body = ; // String | 
        try {
            HvlResponseVoid result = apiInstance.close(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#close");
            e.printStackTrace();
        }
    }
}
String *body = ; // 

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

// Close session on security block belong to identifier
[apiInstance closeWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{String}} 

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

namespace Example
{
    public class closeExample
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new String(); // String | 

            try
            {
                // Close session on security block belong to identifier
                HvlResponseVoid result = apiInstance.close(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.close: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // String | 

try {
    $result = $api_instance->close($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->close: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::String->new(); # String | 

eval { 
    my $result = $api_instance->close(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->close: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # String | 

try: 
    # Close session on security block belong to identifier
    api_response = api_instance.close(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->close: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


close1

Close all session on security block belong to parameter session


/close/session

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/close/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSession body = ; // HvlSession | 
        try {
            HvlResponseVoid result = apiInstance.close1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#close1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSession body = ; // HvlSession | 
        try {
            HvlResponseVoid result = apiInstance.close1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#close1");
            e.printStackTrace();
        }
    }
}
HvlSession *body = ; // 

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

// Close all session on security block belong to parameter session
[apiInstance close1With:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{HvlSession}} 

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

namespace Example
{
    public class close1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new HvlSession(); // HvlSession | 

            try
            {
                // Close all session on security block belong to parameter session
                HvlResponseVoid result = apiInstance.close1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.close1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // HvlSession | 

try {
    $result = $api_instance->close1($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->close1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlSession->new(); # HvlSession | 

eval { 
    my $result = $api_instance->close1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->close1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # HvlSession | 

try: 
    # Close all session on security block belong to parameter session
    api_response = api_instance.close1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->close1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


closeAll1

Close all session on security


/close-all

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/close-all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAll1();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAll1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAll1();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAll1");
            e.printStackTrace();
        }
    }
}

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

// Close all session on security
[apiInstance closeAll1WithCompletionHandler: 
              ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

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

namespace Example
{
    public class closeAll1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();

            try
            {
                // Close all session on security
                HvlResponseVoid result = apiInstance.closeAll1();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeAll1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->closeAll1();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeAll1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

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

eval { 
    my $result = $api_instance->closeAll1();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeAll1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Close all session on security
    api_response = api_instance.close_all1()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeAll1: %s\n" % e)

Parameters

Responses

Status: 200 - OK


closeAll2

Close all session on security block belong to username


/close-all/by-username/{username}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/close-all/by-username/{username}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        String username = username_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.closeAll2(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAll2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        String username = username_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.closeAll2(username);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAll2");
            e.printStackTrace();
        }
    }
}
String *username = username_example; // 

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

// Close all session on security block belong to username
[apiInstance closeAll2With:username
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var username = username_example; // {{String}} 

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

namespace Example
{
    public class closeAll2Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var username = username_example;  // String | 

            try
            {
                // Close all session on security block belong to username
                HvlResponseVoid result = apiInstance.closeAll2(username);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeAll2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$username = username_example; // String | 

try {
    $result = $api_instance->closeAll2($username);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeAll2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $username = username_example; # String | 

eval { 
    my $result = $api_instance->closeAll2(username => $username);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeAll2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
username = username_example # String | 

try: 
    # Close all session on security block belong to username
    api_response = api_instance.close_all2(username)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeAll2: %s\n" % e)

Parameters

Path parameters
Name Description
username*
String
Required

Responses

Status: 200 - OK


closeAllByUser1

Close all session on security


/close-all/user

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/close-all/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAllByUser1();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllByUser1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAllByUser1();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllByUser1");
            e.printStackTrace();
        }
    }
}

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

// Close all session on security
[apiInstance closeAllByUser1WithCompletionHandler: 
              ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

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

namespace Example
{
    public class closeAllByUser1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();

            try
            {
                // Close all session on security
                HvlResponseVoid result = apiInstance.closeAllByUser1();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeAllByUser1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->closeAllByUser1();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeAllByUser1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

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

eval { 
    my $result = $api_instance->closeAllByUser1();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeAllByUser1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Close all session on security
    api_response = api_instance.close_all_by_user1()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeAllByUser1: %s\n" % e)

Parameters

Responses

Status: 200 - OK


closeAllIdentifiers

Close all session on security block belong to parameter list of identifiers


/close-all/identifiers

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/close-all/identifiers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[String] body = ; // array[String] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllIdentifiers(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllIdentifiers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[String] body = ; // array[String] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllIdentifiers(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllIdentifiers");
            e.printStackTrace();
        }
    }
}
array[String] *body = ; // 

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

// Close all session on security block belong to parameter list of identifiers
[apiInstance closeAllIdentifiersWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{array[String]}} 

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

namespace Example
{
    public class closeAllIdentifiersExample
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new array[String](); // array[String] | 

            try
            {
                // Close all session on security block belong to parameter list of identifiers
                HvlResponseVoid result = apiInstance.closeAllIdentifiers(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeAllIdentifiers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // array[String] | 

try {
    $result = $api_instance->closeAllIdentifiers($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeAllIdentifiers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | 

eval { 
    my $result = $api_instance->closeAllIdentifiers(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeAllIdentifiers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # array[String] | 

try: 
    # Close all session on security block belong to parameter list of identifiers
    api_response = api_instance.close_all_identifiers(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeAllIdentifiers: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


closeAllSessions1

Close all session on security block belong to parameter list of sessions


/close-all/sessions

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/close-all/sessions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessions1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllSessions1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessions1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllSessions1");
            e.printStackTrace();
        }
    }
}
array[HvlSession] *body = ; // 

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

// Close all session on security block belong to parameter list of sessions
[apiInstance closeAllSessions1With:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{array[HvlSession]}} 

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

namespace Example
{
    public class closeAllSessions1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new array[HvlSession](); // array[HvlSession] | 

            try
            {
                // Close all session on security block belong to parameter list of sessions
                HvlResponseVoid result = apiInstance.closeAllSessions1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeAllSessions1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // array[HvlSession] | 

try {
    $result = $api_instance->closeAllSessions1($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeAllSessions1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[HvlSession]->new()]; # array[HvlSession] | 

eval { 
    my $result = $api_instance->closeAllSessions1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeAllSessions1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # array[HvlSession] | 

try: 
    # Close all session on security block belong to parameter list of sessions
    api_response = api_instance.close_all_sessions1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeAllSessions1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


closeAllSessionsByUser1

Close all session on security block belong to parameter list of sessions with controlling current user


/close-all/sessions/user

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/close-all/sessions/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessionsByUser1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllSessionsByUser1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessionsByUser1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllSessionsByUser1");
            e.printStackTrace();
        }
    }
}
array[HvlSession] *body = ; // 

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

// Close all session on security block belong to parameter list of sessions with controlling current user
[apiInstance closeAllSessionsByUser1With:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{array[HvlSession]}} 

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

namespace Example
{
    public class closeAllSessionsByUser1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new array[HvlSession](); // array[HvlSession] | 

            try
            {
                // Close all session on security block belong to parameter list of sessions with controlling current user
                HvlResponseVoid result = apiInstance.closeAllSessionsByUser1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeAllSessionsByUser1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // array[HvlSession] | 

try {
    $result = $api_instance->closeAllSessionsByUser1($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeAllSessionsByUser1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[HvlSession]->new()]; # array[HvlSession] | 

eval { 
    my $result = $api_instance->closeAllSessionsByUser1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeAllSessionsByUser1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # array[HvlSession] | 

try: 
    # Close all session on security block belong to parameter list of sessions with controlling current user
    api_response = api_instance.close_all_sessions_by_user1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeAllSessionsByUser1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


closeAllUsers1

Close all session on security block belong to parameter list of users


/close-all/users

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/close-all/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[String] body = ; // array[String] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllUsers1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllUsers1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        array[String] body = ; // array[String] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllUsers1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeAllUsers1");
            e.printStackTrace();
        }
    }
}
array[String] *body = ; // 

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

// Close all session on security block belong to parameter list of users
[apiInstance closeAllUsers1With:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{array[String]}} 

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

namespace Example
{
    public class closeAllUsers1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new array[String](); // array[String] | 

            try
            {
                // Close all session on security block belong to parameter list of users
                HvlResponseVoid result = apiInstance.closeAllUsers1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeAllUsers1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // array[String] | 

try {
    $result = $api_instance->closeAllUsers1($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeAllUsers1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | 

eval { 
    my $result = $api_instance->closeAllUsers1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeAllUsers1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # array[String] | 

try: 
    # Close all session on security block belong to parameter list of users
    api_response = api_instance.close_all_users1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeAllUsers1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


closeByUser

Close session on security block belong to identifier


/close/user

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/close/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        String body = ; // String | 
        try {
            HvlResponseVoid result = apiInstance.closeByUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        String body = ; // String | 
        try {
            HvlResponseVoid result = apiInstance.closeByUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#closeByUser");
            e.printStackTrace();
        }
    }
}
String *body = ; // 

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

// Close session on security block belong to identifier
[apiInstance closeByUserWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{String}} 

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

namespace Example
{
    public class closeByUserExample
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new String(); // String | 

            try
            {
                // Close session on security block belong to identifier
                HvlResponseVoid result = apiInstance.closeByUser(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.closeByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // String | 

try {
    $result = $api_instance->closeByUser($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->closeByUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::String->new(); # String | 

eval { 
    my $result = $api_instance->closeByUser(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->closeByUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # String | 

try: 
    # Close session on security block belong to identifier
    api_response = api_instance.close_by_user(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->closeByUser: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


countByCurrentUser


/count/by-current-user

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/count/by-current-user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseLong result = apiInstance.countByCurrentUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#countByCurrentUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseLong result = apiInstance.countByCurrentUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#countByCurrentUser");
            e.printStackTrace();
        }
    }
}

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

[apiInstance countByCurrentUserWithCompletionHandler: 
              ^(HvlResponseLong output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

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

namespace Example
{
    public class countByCurrentUserExample
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();

            try
            {
                HvlResponseLong result = apiInstance.countByCurrentUser();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.countByCurrentUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->countByCurrentUser();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->countByCurrentUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

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

eval { 
    my $result = $api_instance->countByCurrentUser();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->countByCurrentUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    api_response = api_instance.count_by_current_user()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->countByCurrentUser: %s\n" % e)

Parameters

Responses

Status: 200 - OK


exist


/exist

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/exist"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        String body = ; // String | 
        try {
            HvlResponseBoolean result = apiInstance.exist(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#exist");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        String body = ; // String | 
        try {
            HvlResponseBoolean result = apiInstance.exist(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#exist");
            e.printStackTrace();
        }
    }
}
String *body = ; // 

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

[apiInstance existWith:body
              completionHandler: ^(HvlResponseBoolean output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{String}} 

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

namespace Example
{
    public class existExample
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new String(); // String | 

            try
            {
                HvlResponseBoolean result = apiInstance.exist(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.exist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // String | 

try {
    $result = $api_instance->exist($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->exist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::String->new(); # String | 

eval { 
    my $result = $api_instance->exist(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->exist: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # String | 

try: 
    api_response = api_instance.exist(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->exist: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


get1

Gets the session according to current session's identifier


/session

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseHvlSecuritySession result = apiInstance.get1();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#get1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        try {
            HvlResponseHvlSecuritySession result = apiInstance.get1();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#get1");
            e.printStackTrace();
        }
    }
}

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

// Gets the session according to current session's identifier
[apiInstance get1WithCompletionHandler: 
              ^(HvlResponseHvlSecuritySession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

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

namespace Example
{
    public class get1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();

            try
            {
                // Gets the session according to current session's identifier
                HvlResponseHvlSecuritySession result = apiInstance.get1();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.get1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->get1();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->get1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

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

eval { 
    my $result = $api_instance->get1();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->get1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Gets the session according to current session's identifier
    api_response = api_instance.get1()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->get1: %s\n" % e)

Parameters

Responses

Status: 200 - OK


queryPage1

Queries sessions as paginated according to criteria in query model


/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPage1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#queryPage1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPage1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#queryPage1");
            e.printStackTrace();
        }
    }
}
HvlSessionQueryModel *body = ; // 

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

// Queries sessions as paginated according to criteria in query model
[apiInstance queryPage1With:body
              completionHandler: ^(HvlResponseHvlPageHvlSession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{HvlSessionQueryModel}} 

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

namespace Example
{
    public class queryPage1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new HvlSessionQueryModel(); // HvlSessionQueryModel | 

            try
            {
                // Queries sessions as paginated according to criteria in query model
                HvlResponseHvlPageHvlSession result = apiInstance.queryPage1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.queryPage1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // HvlSessionQueryModel | 

try {
    $result = $api_instance->queryPage1($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->queryPage1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlSessionQueryModel->new(); # HvlSessionQueryModel | 

eval { 
    my $result = $api_instance->queryPage1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->queryPage1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # HvlSessionQueryModel | 

try: 
    # Queries sessions as paginated according to criteria in query model
    api_response = api_instance.query_page1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->queryPage1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPageByUser1

Queries sessions as paginated according to criteria in query model


/page/user

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/page/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionAPIApi;

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

public class SessionAPIApiExample {

    public static void main(String[] args) {
        
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPageByUser1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#queryPageByUser1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionAPIApi;

public class SessionAPIApiExample {

    public static void main(String[] args) {
        SessionAPIApi apiInstance = new SessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPageByUser1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionAPIApi#queryPageByUser1");
            e.printStackTrace();
        }
    }
}
HvlSessionQueryModel *body = ; // 

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

// Queries sessions as paginated according to criteria in query model
[apiInstance queryPageByUser1With:body
              completionHandler: ^(HvlResponseHvlPageHvlSession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SessionAPIApi()
var body = ; // {{HvlSessionQueryModel}} 

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

namespace Example
{
    public class queryPageByUser1Example
    {
        public void main()
        {

            var apiInstance = new SessionAPIApi();
            var body = new HvlSessionQueryModel(); // HvlSessionQueryModel | 

            try
            {
                // Queries sessions as paginated according to criteria in query model
                HvlResponseHvlPageHvlSession result = apiInstance.queryPageByUser1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionAPIApi.queryPageByUser1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionAPIApi();
$body = ; // HvlSessionQueryModel | 

try {
    $result = $api_instance->queryPageByUser1($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionAPIApi->queryPageByUser1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionAPIApi;

my $api_instance = WWW::SwaggerClient::SessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlSessionQueryModel->new(); # HvlSessionQueryModel | 

eval { 
    my $result = $api_instance->queryPageByUser1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionAPIApi->queryPageByUser1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionAPIApi()
body =  # HvlSessionQueryModel | 

try: 
    # Queries sessions as paginated according to criteria in query model
    api_response = api_instance.query_page_by_user1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionAPIApi->queryPageByUser1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


SystemSessionAPI

closeAll

Close all system session on security


/system-session/close-all

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/system-session/close-all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAll();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAll();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAll");
            e.printStackTrace();
        }
    }
}

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

// Close all system session on security
[apiInstance closeAllWithCompletionHandler: 
              ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

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

namespace Example
{
    public class closeAllExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();

            try
            {
                // Close all system session on security
                HvlResponseVoid result = apiInstance.closeAll();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.closeAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->closeAll();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->closeAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

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

eval { 
    my $result = $api_instance->closeAll();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->closeAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Close all system session on security
    api_response = api_instance.close_all()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->closeAll: %s\n" % e)

Parameters

Responses

Status: 200 - OK


closeAllByUser

Close all session on security


/system-session/close-all/user

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/system-session/close-all/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAllByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        try {
            HvlResponseVoid result = apiInstance.closeAllByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllByUser");
            e.printStackTrace();
        }
    }
}

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

// Close all session on security
[apiInstance closeAllByUserWithCompletionHandler: 
              ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

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

namespace Example
{
    public class closeAllByUserExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();

            try
            {
                // Close all session on security
                HvlResponseVoid result = apiInstance.closeAllByUser();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.closeAllByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->closeAllByUser();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->closeAllByUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

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

eval { 
    my $result = $api_instance->closeAllByUser();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->closeAllByUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    # Close all session on security
    api_response = api_instance.close_all_by_user()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->closeAllByUser: %s\n" % e)

Parameters

Responses

Status: 200 - OK


closeAllSessions

Close all system session on security block belong to parameter list of system sessions


/system-session/close-all/sessions

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/system-session/close-all/sessions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessions(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllSessions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessions(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllSessions");
            e.printStackTrace();
        }
    }
}
array[HvlSession] *body = ; // 

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

// Close all system session on security block belong to parameter list of system sessions
[apiInstance closeAllSessionsWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SystemSessionAPIApi()
var body = ; // {{array[HvlSession]}} 

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

namespace Example
{
    public class closeAllSessionsExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();
            var body = new array[HvlSession](); // array[HvlSession] | 

            try
            {
                // Close all system session on security block belong to parameter list of system sessions
                HvlResponseVoid result = apiInstance.closeAllSessions(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.closeAllSessions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSystemSessionAPIApi();
$body = ; // array[HvlSession] | 

try {
    $result = $api_instance->closeAllSessions($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->closeAllSessions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

my $api_instance = WWW::SwaggerClient::SystemSessionAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[HvlSession]->new()]; # array[HvlSession] | 

eval { 
    my $result = $api_instance->closeAllSessions(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->closeAllSessions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SystemSessionAPIApi()
body =  # array[HvlSession] | 

try: 
    # Close all system session on security block belong to parameter list of system sessions
    api_response = api_instance.close_all_sessions(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->closeAllSessions: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


closeAllSessionsByUser

Close all session on security block belong to parameter list of sessions with controlling current user


/system-session/close-all/sessions/user

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/system-session/close-all/sessions/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessionsByUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllSessionsByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        array[HvlSession] body = ; // array[HvlSession] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllSessionsByUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllSessionsByUser");
            e.printStackTrace();
        }
    }
}
array[HvlSession] *body = ; // 

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

// Close all session on security block belong to parameter list of sessions with controlling current user
[apiInstance closeAllSessionsByUserWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SystemSessionAPIApi()
var body = ; // {{array[HvlSession]}} 

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

namespace Example
{
    public class closeAllSessionsByUserExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();
            var body = new array[HvlSession](); // array[HvlSession] | 

            try
            {
                // Close all session on security block belong to parameter list of sessions with controlling current user
                HvlResponseVoid result = apiInstance.closeAllSessionsByUser(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.closeAllSessionsByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSystemSessionAPIApi();
$body = ; // array[HvlSession] | 

try {
    $result = $api_instance->closeAllSessionsByUser($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->closeAllSessionsByUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

my $api_instance = WWW::SwaggerClient::SystemSessionAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[HvlSession]->new()]; # array[HvlSession] | 

eval { 
    my $result = $api_instance->closeAllSessionsByUser(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->closeAllSessionsByUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SystemSessionAPIApi()
body =  # array[HvlSession] | 

try: 
    # Close all session on security block belong to parameter list of sessions with controlling current user
    api_response = api_instance.close_all_sessions_by_user(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->closeAllSessionsByUser: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


closeAllUsers

Close all session on security block belong to parameter list of users


/system-session/close-all/users

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/system-session/close-all/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        array[String] body = ; // array[String] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllUsers(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllUsers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        array[String] body = ; // array[String] | 
        try {
            HvlResponseVoid result = apiInstance.closeAllUsers(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#closeAllUsers");
            e.printStackTrace();
        }
    }
}
array[String] *body = ; // 

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

// Close all session on security block belong to parameter list of users
[apiInstance closeAllUsersWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SystemSessionAPIApi()
var body = ; // {{array[String]}} 

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

namespace Example
{
    public class closeAllUsersExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();
            var body = new array[String](); // array[String] | 

            try
            {
                // Close all session on security block belong to parameter list of users
                HvlResponseVoid result = apiInstance.closeAllUsers(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.closeAllUsers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSystemSessionAPIApi();
$body = ; // array[String] | 

try {
    $result = $api_instance->closeAllUsers($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->closeAllUsers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

my $api_instance = WWW::SwaggerClient::SystemSessionAPIApi->new();
my $body = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | 

eval { 
    my $result = $api_instance->closeAllUsers(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->closeAllUsers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SystemSessionAPIApi()
body =  # array[String] | 

try: 
    # Close all session on security block belong to parameter list of users
    api_response = api_instance.close_all_users(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->closeAllUsers: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


get


/system-session/session

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysis.hvlnet.net:9080/system-session/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        try {
            HvlResponseHvlSecuritySession result = apiInstance.get();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#get");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        try {
            HvlResponseHvlSecuritySession result = apiInstance.get();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#get");
            e.printStackTrace();
        }
    }
}

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

[apiInstance getWithCompletionHandler: 
              ^(HvlResponseHvlSecuritySession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

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

namespace Example
{
    public class getExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();

            try
            {
                HvlResponseHvlSecuritySession result = apiInstance.get();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.get: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->get();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->get: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

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

eval { 
    my $result = $api_instance->get();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->get: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

try: 
    api_response = api_instance.get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->get: %s\n" % e)

Parameters

Responses

Status: 200 - OK


queryPage

Queries system sessions as paginated according to criteria in query model


/system-session/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/system-session/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPage(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#queryPage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPage(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#queryPage");
            e.printStackTrace();
        }
    }
}
HvlSessionQueryModel *body = ; // 

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

// Queries system sessions as paginated according to criteria in query model
[apiInstance queryPageWith:body
              completionHandler: ^(HvlResponseHvlPageHvlSession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SystemSessionAPIApi()
var body = ; // {{HvlSessionQueryModel}} 

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

namespace Example
{
    public class queryPageExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();
            var body = new HvlSessionQueryModel(); // HvlSessionQueryModel | 

            try
            {
                // Queries system sessions as paginated according to criteria in query model
                HvlResponseHvlPageHvlSession result = apiInstance.queryPage(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.queryPage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSystemSessionAPIApi();
$body = ; // HvlSessionQueryModel | 

try {
    $result = $api_instance->queryPage($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->queryPage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

my $api_instance = WWW::SwaggerClient::SystemSessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlSessionQueryModel->new(); # HvlSessionQueryModel | 

eval { 
    my $result = $api_instance->queryPage(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->queryPage: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SystemSessionAPIApi()
body =  # HvlSessionQueryModel | 

try: 
    # Queries system sessions as paginated according to criteria in query model
    api_response = api_instance.query_page(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->queryPage: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPageByUser

Queries system sessions as paginated according to criteria in query model


/system-session/page/user

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysis.hvlnet.net:9080/system-session/page/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemSessionAPIApi;

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

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPageByUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#queryPageByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SystemSessionAPIApi;

public class SystemSessionAPIApiExample {

    public static void main(String[] args) {
        SystemSessionAPIApi apiInstance = new SystemSessionAPIApi();
        HvlSessionQueryModel body = ; // HvlSessionQueryModel | 
        try {
            HvlResponseHvlPageHvlSession result = apiInstance.queryPageByUser(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SystemSessionAPIApi#queryPageByUser");
            e.printStackTrace();
        }
    }
}
HvlSessionQueryModel *body = ; // 

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

// Queries system sessions as paginated according to criteria in query model
[apiInstance queryPageByUserWith:body
              completionHandler: ^(HvlResponseHvlPageHvlSession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSessionServer = require('hvl_session_server');

var api = new HvlSessionServer.SystemSessionAPIApi()
var body = ; // {{HvlSessionQueryModel}} 

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

namespace Example
{
    public class queryPageByUserExample
    {
        public void main()
        {

            var apiInstance = new SystemSessionAPIApi();
            var body = new HvlSessionQueryModel(); // HvlSessionQueryModel | 

            try
            {
                // Queries system sessions as paginated according to criteria in query model
                HvlResponseHvlPageHvlSession result = apiInstance.queryPageByUser(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SystemSessionAPIApi.queryPageByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSystemSessionAPIApi();
$body = ; // HvlSessionQueryModel | 

try {
    $result = $api_instance->queryPageByUser($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SystemSessionAPIApi->queryPageByUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemSessionAPIApi;

my $api_instance = WWW::SwaggerClient::SystemSessionAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlSessionQueryModel->new(); # HvlSessionQueryModel | 

eval { 
    my $result = $api_instance->queryPageByUser(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SystemSessionAPIApi->queryPageByUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SystemSessionAPIApi()
body =  # HvlSessionQueryModel | 

try: 
    # Queries system sessions as paginated according to criteria in query model
    api_response = api_instance.query_page_by_user(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SystemSessionAPIApi->queryPageByUser: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK