nevisAdapt REST API

NevisAdaptController

terminateActiveSessions

terminateActiveSessions
get/api/admin/terminateActiveSessions

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/admin/terminateActiveSessions?loginId=loginId_example&realm=realm_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NevisAdaptControllerApi;

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

public class NevisAdaptControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NevisAdaptControllerApi apiInstance = new NevisAdaptControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 

        try {
            Object result = apiInstance.terminateActiveSessions(loginId, realm);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NevisAdaptControllerApi#terminateActiveSessions");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String loginId = new String(); // String | 
final String realm = new String(); // String | 

try {
    final result = await api_instance.terminateActiveSessions(loginId, realm);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->terminateActiveSessions: $e\n');
}

import org.openapitools.client.api.NevisAdaptControllerApi;

public class NevisAdaptControllerApiExample {
    public static void main(String[] args) {
        NevisAdaptControllerApi apiInstance = new NevisAdaptControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 

        try {
            Object result = apiInstance.terminateActiveSessions(loginId, realm);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NevisAdaptControllerApi#terminateActiveSessions");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NevisAdaptControllerApi *apiInstance = [[NevisAdaptControllerApi alloc] init];
String *loginId = loginId_example; //  (default to null)
String *realm = realm_example; //  (default to null)

[apiInstance terminateActiveSessionsWith:loginId
    realm:realm
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.NevisAdaptControllerApi()
var loginId = loginId_example; // {String} 
var realm = realm_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.terminateActiveSessions(loginId, realm, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NevisAdaptControllerApi();
            var loginId = loginId_example;  // String |  (default to null)
            var realm = realm_example;  // String |  (default to null)

            try {
                Object result = apiInstance.terminateActiveSessions(loginId, realm);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NevisAdaptControllerApi.terminateActiveSessions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NevisAdaptControllerApi();
$loginId = loginId_example; // String | 
$realm = realm_example; // String | 

try {
    $result = $api_instance->terminateActiveSessions($loginId, $realm);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NevisAdaptControllerApi->terminateActiveSessions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NevisAdaptControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NevisAdaptControllerApi->new();
my $loginId = loginId_example; # String | 
my $realm = realm_example; # String | 

eval {
    my $result = $api_instance->terminateActiveSessions(loginId => $loginId, realm => $realm);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NevisAdaptControllerApi->terminateActiveSessions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NevisAdaptControllerApi()
loginId = loginId_example # String |  (default to null)
realm = realm_example # String |  (default to null)

try:
    api_response = api_instance.terminate_active_sessions(loginId, realm)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NevisAdaptControllerApi->terminateActiveSessions: %s\n" % e)
extern crate NevisAdaptControllerApi;

pub fn main() {
    let loginId = loginId_example; // String
    let realm = realm_example; // String

    let mut context = NevisAdaptControllerApi::Context::default();
    let result = client.terminateActiveSessions(loginId, realm, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
loginId*
String
Required
realm*
String
Required

Responses


ReportingController

deleteRememberMeToken

deleteRememberMeToken
delete/api/rememberme-token/{token}

Usage and SDK Samples

curl -X DELETE \
 "https://localhost:8888/nevisadapt/api/rememberme-token/{token}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String token = token_example; // String | 

        try {
            apiInstance.deleteRememberMeToken(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteRememberMeToken");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String token = new String(); // String | 

try {
    final result = await api_instance.deleteRememberMeToken(token);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteRememberMeToken: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String token = token_example; // String | 

        try {
            apiInstance.deleteRememberMeToken(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteRememberMeToken");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *token = token_example; //  (default to null)

[apiInstance deleteRememberMeTokenWith:token
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var token = token_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteRememberMeToken(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var token = token_example;  // String |  (default to null)

            try {
                apiInstance.deleteRememberMeToken(token);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.deleteRememberMeToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$token = token_example; // String | 

try {
    $api_instance->deleteRememberMeToken($token);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->deleteRememberMeToken: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $token = token_example; # String | 

eval {
    $api_instance->deleteRememberMeToken(token => $token);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->deleteRememberMeToken: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
token = token_example # String |  (default to null)

try:
    api_instance.delete_remember_me_token(token)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->deleteRememberMeToken: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let token = token_example; // String

    let mut context = ReportingControllerApi::Context::default();
    let result = client.deleteRememberMeToken(token, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
token*
String
Required

Responses


deleteRememberMeTokenAdmin

deleteRememberMeTokenAdmin
delete/api/admin/rememberme-token/{token}

Usage and SDK Samples

curl -X DELETE \
 "https://localhost:8888/nevisadapt/api/admin/rememberme-token/{token}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String token = token_example; // String | 

        try {
            apiInstance.deleteRememberMeTokenAdmin(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteRememberMeTokenAdmin");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String token = new String(); // String | 

try {
    final result = await api_instance.deleteRememberMeTokenAdmin(token);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteRememberMeTokenAdmin: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String token = token_example; // String | 

        try {
            apiInstance.deleteRememberMeTokenAdmin(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteRememberMeTokenAdmin");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *token = token_example; //  (default to null)

[apiInstance deleteRememberMeTokenAdminWith:token
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var token = token_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteRememberMeTokenAdmin(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var token = token_example;  // String |  (default to null)

            try {
                apiInstance.deleteRememberMeTokenAdmin(token);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.deleteRememberMeTokenAdmin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$token = token_example; // String | 

try {
    $api_instance->deleteRememberMeTokenAdmin($token);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->deleteRememberMeTokenAdmin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $token = token_example; # String | 

eval {
    $api_instance->deleteRememberMeTokenAdmin(token => $token);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->deleteRememberMeTokenAdmin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
token = token_example # String |  (default to null)

try:
    api_instance.delete_remember_me_token_admin(token)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->deleteRememberMeTokenAdmin: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let token = token_example; // String

    let mut context = ReportingControllerApi::Context::default();
    let result = client.deleteRememberMeTokenAdmin(token, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
token*
String
Required

Responses


deleteRememberMeTokens

deleteRememberMeTokens
delete/api/rememberme-tokens

Usage and SDK Samples

curl -X DELETE \
 "https://localhost:8888/nevisadapt/api/rememberme-tokens"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();

        try {
            apiInstance.deleteRememberMeTokens();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteRememberMeTokens");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.deleteRememberMeTokens();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteRememberMeTokens: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();

        try {
            apiInstance.deleteRememberMeTokens();
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteRememberMeTokens");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];

[apiInstance deleteRememberMeTokensWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteRememberMeTokens(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();

            try {
                apiInstance.deleteRememberMeTokens();
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.deleteRememberMeTokens: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();

try {
    $api_instance->deleteRememberMeTokens();
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->deleteRememberMeTokens: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();

eval {
    $api_instance->deleteRememberMeTokens();
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->deleteRememberMeTokens: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()

try:
    api_instance.delete_remember_me_tokens()
except ApiException as e:
    print("Exception when calling ReportingControllerApi->deleteRememberMeTokens: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {

    let mut context = ReportingControllerApi::Context::default();
    let result = client.deleteRememberMeTokens(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


deleteUserDevice

deleteUserDevice
delete/api/user-device/{deviceId}

Usage and SDK Samples

curl -X DELETE \
 "https://localhost:8888/nevisadapt/api/user-device/{deviceId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long deviceId = 789; // Long | 

        try {
            apiInstance.deleteUserDevice(deviceId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteUserDevice");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long deviceId = new Long(); // Long | 

try {
    final result = await api_instance.deleteUserDevice(deviceId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteUserDevice: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long deviceId = 789; // Long | 

        try {
            apiInstance.deleteUserDevice(deviceId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteUserDevice");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Long *deviceId = 789; //  (default to null)

[apiInstance deleteUserDeviceWith:deviceId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var deviceId = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUserDevice(deviceId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var deviceId = 789;  // Long |  (default to null)

            try {
                apiInstance.deleteUserDevice(deviceId);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.deleteUserDevice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$deviceId = 789; // Long | 

try {
    $api_instance->deleteUserDevice($deviceId);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->deleteUserDevice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $deviceId = 789; # Long | 

eval {
    $api_instance->deleteUserDevice(deviceId => $deviceId);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->deleteUserDevice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
deviceId = 789 # Long |  (default to null)

try:
    api_instance.delete_user_device(deviceId)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->deleteUserDevice: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let deviceId = 789; // Long

    let mut context = ReportingControllerApi::Context::default();
    let result = client.deleteUserDevice(deviceId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
deviceId*
Long (int64)
Required

Responses


deleteUserDeviceAdmin

deleteUserDeviceAdmin
delete/api/admin/user-device/{deviceId}/{userId}

Usage and SDK Samples

curl -X DELETE \
 "https://localhost:8888/nevisadapt/api/admin/user-device/{deviceId}/{userId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long deviceId = 789; // Long | 
        Long userId = 789; // Long | 

        try {
            apiInstance.deleteUserDeviceAdmin(deviceId, userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteUserDeviceAdmin");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long deviceId = new Long(); // Long | 
final Long userId = new Long(); // Long | 

try {
    final result = await api_instance.deleteUserDeviceAdmin(deviceId, userId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteUserDeviceAdmin: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long deviceId = 789; // Long | 
        Long userId = 789; // Long | 

        try {
            apiInstance.deleteUserDeviceAdmin(deviceId, userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#deleteUserDeviceAdmin");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Long *deviceId = 789; //  (default to null)
Long *userId = 789; //  (default to null)

[apiInstance deleteUserDeviceAdminWith:deviceId
    userId:userId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var deviceId = 789; // {Long} 
var userId = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUserDeviceAdmin(deviceId, userId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var deviceId = 789;  // Long |  (default to null)
            var userId = 789;  // Long |  (default to null)

            try {
                apiInstance.deleteUserDeviceAdmin(deviceId, userId);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.deleteUserDeviceAdmin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$deviceId = 789; // Long | 
$userId = 789; // Long | 

try {
    $api_instance->deleteUserDeviceAdmin($deviceId, $userId);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->deleteUserDeviceAdmin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $deviceId = 789; # Long | 
my $userId = 789; # Long | 

eval {
    $api_instance->deleteUserDeviceAdmin(deviceId => $deviceId, userId => $userId);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->deleteUserDeviceAdmin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
deviceId = 789 # Long |  (default to null)
userId = 789 # Long |  (default to null)

try:
    api_instance.delete_user_device_admin(deviceId, userId)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->deleteUserDeviceAdmin: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let deviceId = 789; // Long
    let userId = 789; // Long

    let mut context = ReportingControllerApi::Context::default();
    let result = client.deleteUserDeviceAdmin(deviceId, userId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
deviceId*
Long (int64)
Required
userId*
Long (int64)
Required

Responses


distrustSession

distrustSession
get/api/distrustSession

Usage and SDK Samples

curl -X GET \
 "https://localhost:8888/nevisadapt/api/distrustSession?sessionId=789"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long sessionId = 789; // Long | 

        try {
            apiInstance.distrustSession(sessionId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#distrustSession");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long sessionId = new Long(); // Long | 

try {
    final result = await api_instance.distrustSession(sessionId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->distrustSession: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long sessionId = 789; // Long | 

        try {
            apiInstance.distrustSession(sessionId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#distrustSession");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Long *sessionId = 789; //  (default to null)

[apiInstance distrustSessionWith:sessionId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var sessionId = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.distrustSession(sessionId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var sessionId = 789;  // Long |  (default to null)

            try {
                apiInstance.distrustSession(sessionId);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.distrustSession: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$sessionId = 789; // Long | 

try {
    $api_instance->distrustSession($sessionId);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->distrustSession: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $sessionId = 789; # Long | 

eval {
    $api_instance->distrustSession(sessionId => $sessionId);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->distrustSession: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
sessionId = 789 # Long |  (default to null)

try:
    api_instance.distrust_session(sessionId)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->distrustSession: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let sessionId = 789; // Long

    let mut context = ReportingControllerApi::Context::default();
    let result = client.distrustSession(sessionId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
sessionId*
Long (int64)
Required

Responses


getActiveSessionsForAdmin

getActiveSessionsForAdmin
get/api/admin/active-sessions

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/admin/active-sessions?loginId=loginId_example&realm=realm_example&deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getActiveSessionsForAdmin(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getActiveSessionsForAdmin");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String loginId = new String(); // String | 
final String realm = new String(); // String | 
final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getActiveSessionsForAdmin(loginId, realm, pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getActiveSessionsForAdmin: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getActiveSessionsForAdmin(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getActiveSessionsForAdmin");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *loginId = loginId_example; //  (default to null)
String *realm = realm_example; //  (default to null)
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getActiveSessionsForAdminWith:loginId
    realm:realm
    pageable:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserSessionDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var loginId = loginId_example; // {String} 
var realm = realm_example; // {String} 
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getActiveSessionsForAdmin(loginId, realm, pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var loginId = loginId_example;  // String |  (default to null)
            var realm = realm_example;  // String |  (default to null)
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserSessionDto result = apiInstance.getActiveSessionsForAdmin(loginId, realm, pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getActiveSessionsForAdmin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$loginId = loginId_example; // String | 
$realm = realm_example; // String | 
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getActiveSessionsForAdmin($loginId, $realm, $pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getActiveSessionsForAdmin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $loginId = loginId_example; # String | 
my $realm = realm_example; # String | 
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getActiveSessionsForAdmin(loginId => $loginId, realm => $realm, pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getActiveSessionsForAdmin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
loginId = loginId_example # String |  (default to null)
realm = realm_example # String |  (default to null)
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_active_sessions_for_admin(loginId, realm, pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getActiveSessionsForAdmin: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let loginId = loginId_example; // String
    let realm = realm_example; // String
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getActiveSessionsForAdmin(loginId, realm, pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
loginId*
String
Required
realm*
String
Required
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getActiveSessionsForUser

getActiveSessionsForUser
get/api/active-sessions

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/active-sessions?deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getActiveSessionsForUser(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getActiveSessionsForUser");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getActiveSessionsForUser(pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getActiveSessionsForUser: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getActiveSessionsForUser(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getActiveSessionsForUser");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getActiveSessionsForUserWith:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserSessionDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getActiveSessionsForUser(pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserSessionDto result = apiInstance.getActiveSessionsForUser(pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getActiveSessionsForUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getActiveSessionsForUser($pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getActiveSessionsForUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getActiveSessionsForUser(pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getActiveSessionsForUser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_active_sessions_for_user(pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getActiveSessionsForUser: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getActiveSessionsForUser(pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getAdminFailedAttempts

getAdminFailedAttempts
get/api/admin/failed-attempts

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/admin/failed-attempts?loginId=loginId_example&realm=realm_example&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getAdminFailedAttempts(loginId, realm, pageable, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getAdminFailedAttempts");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String loginId = new String(); // String | 
final String realm = new String(); // String | 
final Pageable pageable = new Pageable(); // Pageable | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getAdminFailedAttempts(loginId, realm, pageable, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAdminFailedAttempts: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getAdminFailedAttempts(loginId, realm, pageable, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getAdminFailedAttempts");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *loginId = loginId_example; //  (default to null)
String *realm = realm_example; //  (default to null)
Pageable *pageable = ; //  (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getAdminFailedAttemptsWith:loginId
    realm:realm
    pageable:pageable
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserSessionDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var loginId = loginId_example; // {String} 
var realm = realm_example; // {String} 
var pageable = ; // {Pageable} 
var opts = {
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAdminFailedAttempts(loginId, realm, pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var loginId = loginId_example;  // String |  (default to null)
            var realm = realm_example;  // String |  (default to null)
            var pageable = new Pageable(); // Pageable |  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserSessionDto result = apiInstance.getAdminFailedAttempts(loginId, realm, pageable, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getAdminFailedAttempts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$loginId = loginId_example; // String | 
$realm = realm_example; // String | 
$pageable = ; // Pageable | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getAdminFailedAttempts($loginId, $realm, $pageable, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getAdminFailedAttempts: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $loginId = loginId_example; # String | 
my $realm = realm_example; # String | 
my $pageable = ; # Pageable | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getAdminFailedAttempts(loginId => $loginId, realm => $realm, pageable => $pageable, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getAdminFailedAttempts: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
loginId = loginId_example # String |  (default to null)
realm = realm_example # String |  (default to null)
pageable =  # Pageable |  (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_admin_failed_attempts(loginId, realm, pageable, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getAdminFailedAttempts: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let loginId = loginId_example; // String
    let realm = realm_example; // String
    let pageable = ; // Pageable
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getAdminFailedAttempts(loginId, realm, pageable, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
loginId*
String
Required
realm*
String
Required
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getAdminSessionHistory

getAdminSessionHistory
get/api/admin/session-history

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/admin/session-history?loginId=loginId_example&realm=realm_example&deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getAdminSessionHistory(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getAdminSessionHistory");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String loginId = new String(); // String | 
final String realm = new String(); // String | 
final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getAdminSessionHistory(loginId, realm, pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAdminSessionHistory: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getAdminSessionHistory(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getAdminSessionHistory");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *loginId = loginId_example; //  (default to null)
String *realm = realm_example; //  (default to null)
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getAdminSessionHistoryWith:loginId
    realm:realm
    pageable:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserSessionDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var loginId = loginId_example; // {String} 
var realm = realm_example; // {String} 
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAdminSessionHistory(loginId, realm, pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var loginId = loginId_example;  // String |  (default to null)
            var realm = realm_example;  // String |  (default to null)
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserSessionDto result = apiInstance.getAdminSessionHistory(loginId, realm, pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getAdminSessionHistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$loginId = loginId_example; // String | 
$realm = realm_example; // String | 
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getAdminSessionHistory($loginId, $realm, $pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getAdminSessionHistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $loginId = loginId_example; # String | 
my $realm = realm_example; # String | 
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getAdminSessionHistory(loginId => $loginId, realm => $realm, pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getAdminSessionHistory: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
loginId = loginId_example # String |  (default to null)
realm = realm_example # String |  (default to null)
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_admin_session_history(loginId, realm, pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getAdminSessionHistory: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let loginId = loginId_example; // String
    let realm = realm_example; // String
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getAdminSessionHistory(loginId, realm, pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
loginId*
String
Required
realm*
String
Required
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getFailedAttemptsForUser

getFailedAttemptsForUser
get/api/failed-attempts

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/failed-attempts?pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getFailedAttemptsForUser(pageable, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getFailedAttemptsForUser");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pageable pageable = new Pageable(); // Pageable | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getFailedAttemptsForUser(pageable, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getFailedAttemptsForUser: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getFailedAttemptsForUser(pageable, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getFailedAttemptsForUser");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Pageable *pageable = ; //  (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getFailedAttemptsForUserWith:pageable
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserSessionDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var pageable = ; // {Pageable} 
var opts = {
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFailedAttemptsForUser(pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var pageable = new Pageable(); // Pageable |  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserSessionDto result = apiInstance.getFailedAttemptsForUser(pageable, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getFailedAttemptsForUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$pageable = ; // Pageable | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getFailedAttemptsForUser($pageable, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getFailedAttemptsForUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $pageable = ; # Pageable | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getFailedAttemptsForUser(pageable => $pageable, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getFailedAttemptsForUser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
pageable =  # Pageable |  (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_failed_attempts_for_user(pageable, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getFailedAttemptsForUser: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let pageable = ; // Pageable
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getFailedAttemptsForUser(pageable, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getMyUsername

getMyUsername
get/api/whoami

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/whoami"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();

        try {
            'String' result = apiInstance.getMyUsername();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getMyUsername");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.getMyUsername();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getMyUsername: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();

        try {
            'String' result = apiInstance.getMyUsername();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getMyUsername");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];

[apiInstance getMyUsernameWithCompletionHandler: 
              ^('String' output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getMyUsername(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();

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

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()

try:
    api_response = api_instance.get_my_username()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getMyUsername: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getMyUsername(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


getRememberMeTokens

getRememberMeTokens
get/api/rememberme-tokens

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/rememberme-tokens?deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageRememberMeTokenDto result = apiInstance.getRememberMeTokens(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getRememberMeTokens");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getRememberMeTokens(pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getRememberMeTokens: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageRememberMeTokenDto result = apiInstance.getRememberMeTokens(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getRememberMeTokens");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getRememberMeTokensWith:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageRememberMeTokenDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getRememberMeTokens(pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageRememberMeTokenDto result = apiInstance.getRememberMeTokens(pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getRememberMeTokens: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getRememberMeTokens($pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getRememberMeTokens: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getRememberMeTokens(pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getRememberMeTokens: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_remember_me_tokens(pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getRememberMeTokens: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getRememberMeTokens(pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getRememberMeTokens1

getRememberMeTokens1
get/api/admin/rememberme-tokens

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/admin/rememberme-tokens?loginId=loginId_example&realm=realm_example&deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageRememberMeTokenDto result = apiInstance.getRememberMeTokens1(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getRememberMeTokens1");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String loginId = new String(); // String | 
final String realm = new String(); // String | 
final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getRememberMeTokens1(loginId, realm, pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getRememberMeTokens1: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageRememberMeTokenDto result = apiInstance.getRememberMeTokens1(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getRememberMeTokens1");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *loginId = loginId_example; //  (default to null)
String *realm = realm_example; //  (default to null)
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getRememberMeTokens1With:loginId
    realm:realm
    pageable:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageRememberMeTokenDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var loginId = loginId_example; // {String} 
var realm = realm_example; // {String} 
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getRememberMeTokens1(loginId, realm, pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var loginId = loginId_example;  // String |  (default to null)
            var realm = realm_example;  // String |  (default to null)
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageRememberMeTokenDto result = apiInstance.getRememberMeTokens1(loginId, realm, pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getRememberMeTokens1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$loginId = loginId_example; // String | 
$realm = realm_example; // String | 
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getRememberMeTokens1($loginId, $realm, $pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getRememberMeTokens1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $loginId = loginId_example; # String | 
my $realm = realm_example; # String | 
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getRememberMeTokens1(loginId => $loginId, realm => $realm, pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getRememberMeTokens1: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
loginId = loginId_example # String |  (default to null)
realm = realm_example # String |  (default to null)
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_remember_me_tokens1(loginId, realm, pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getRememberMeTokens1: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let loginId = loginId_example; // String
    let realm = realm_example; // String
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getRememberMeTokens1(loginId, realm, pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
loginId*
String
Required
realm*
String
Required
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getUserDevices

getUserDevices
get/api/user-devices

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/user-devices?deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserDeviceDto result = apiInstance.getUserDevices(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserDevices");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getUserDevices(pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getUserDevices: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserDeviceDto result = apiInstance.getUserDevices(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserDevices");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getUserDevicesWith:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserDeviceDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserDevices(pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserDeviceDto result = apiInstance.getUserDevices(pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getUserDevices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getUserDevices($pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getUserDevices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getUserDevices(pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getUserDevices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_user_devices(pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getUserDevices: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getUserDevices(pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getUserDevices1

getUserDevices1
get/api/admin/user-devices

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/admin/user-devices?loginId=loginId_example&realm=realm_example&deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserDeviceDto result = apiInstance.getUserDevices1(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserDevices1");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String loginId = new String(); // String | 
final String realm = new String(); // String | 
final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getUserDevices1(loginId, realm, pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getUserDevices1: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserDeviceDto result = apiInstance.getUserDevices1(loginId, realm, pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserDevices1");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *loginId = loginId_example; //  (default to null)
String *realm = realm_example; //  (default to null)
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getUserDevices1With:loginId
    realm:realm
    pageable:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserDeviceDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var loginId = loginId_example; // {String} 
var realm = realm_example; // {String} 
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserDevices1(loginId, realm, pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var loginId = loginId_example;  // String |  (default to null)
            var realm = realm_example;  // String |  (default to null)
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserDeviceDto result = apiInstance.getUserDevices1(loginId, realm, pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getUserDevices1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$loginId = loginId_example; // String | 
$realm = realm_example; // String | 
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getUserDevices1($loginId, $realm, $pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getUserDevices1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $loginId = loginId_example; # String | 
my $realm = realm_example; # String | 
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getUserDevices1(loginId => $loginId, realm => $realm, pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getUserDevices1: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
loginId = loginId_example # String |  (default to null)
realm = realm_example # String |  (default to null)
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_user_devices1(loginId, realm, pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getUserDevices1: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let loginId = loginId_example; // String
    let realm = realm_example; // String
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getUserDevices1(loginId, realm, pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
loginId*
String
Required
realm*
String
Required
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getUserObservationGroups

getUserObservationGroups
get/api/user-observation-groups

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/user-observation-groups?trustedOnly=true&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Boolean trustedOnly = true; // Boolean | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserObservationDto result = apiInstance.getUserObservationGroups(pageable, trustedOnly, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserObservationGroups");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pageable pageable = new Pageable(); // Pageable | 
final Boolean trustedOnly = new Boolean(); // Boolean | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getUserObservationGroups(pageable, trustedOnly, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getUserObservationGroups: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Boolean trustedOnly = true; // Boolean | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserObservationDto result = apiInstance.getUserObservationGroups(pageable, trustedOnly, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserObservationGroups");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Pageable *pageable = ; //  (default to null)
Boolean *trustedOnly = true; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getUserObservationGroupsWith:pageable
    trustedOnly:trustedOnly
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserObservationDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var pageable = ; // {Pageable} 
var opts = {
  'trustedOnly': true, // {Boolean} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserObservationGroups(pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var pageable = new Pageable(); // Pageable |  (default to null)
            var trustedOnly = true;  // Boolean |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserObservationDto result = apiInstance.getUserObservationGroups(pageable, trustedOnly, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getUserObservationGroups: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$pageable = ; // Pageable | 
$trustedOnly = true; // Boolean | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getUserObservationGroups($pageable, $trustedOnly, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getUserObservationGroups: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $pageable = ; # Pageable | 
my $trustedOnly = true; # Boolean | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getUserObservationGroups(pageable => $pageable, trustedOnly => $trustedOnly, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getUserObservationGroups: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
pageable =  # Pageable |  (default to null)
trustedOnly = true # Boolean |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_user_observation_groups(pageable, trustedOnly=trustedOnly, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getUserObservationGroups: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let pageable = ; // Pageable
    let trustedOnly = true; // Boolean
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getUserObservationGroups(pageable, trustedOnly, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
trustedOnly
Boolean
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getUserObservationGroups1

getUserObservationGroups1
get/api/admin/user-observation-groups

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/admin/user-observation-groups?loginId=loginId_example&realm=realm_example&trustedOnly=true&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Boolean trustedOnly = true; // Boolean | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserObservationDto result = apiInstance.getUserObservationGroups1(loginId, realm, pageable, trustedOnly, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserObservationGroups1");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String loginId = new String(); // String | 
final String realm = new String(); // String | 
final Pageable pageable = new Pageable(); // Pageable | 
final Boolean trustedOnly = new Boolean(); // Boolean | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getUserObservationGroups1(loginId, realm, pageable, trustedOnly, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getUserObservationGroups1: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        String loginId = loginId_example; // String | 
        String realm = realm_example; // String | 
        Pageable pageable = ; // Pageable | 
        Boolean trustedOnly = true; // Boolean | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserObservationDto result = apiInstance.getUserObservationGroups1(loginId, realm, pageable, trustedOnly, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserObservationGroups1");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
String *loginId = loginId_example; //  (default to null)
String *realm = realm_example; //  (default to null)
Pageable *pageable = ; //  (default to null)
Boolean *trustedOnly = true; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getUserObservationGroups1With:loginId
    realm:realm
    pageable:pageable
    trustedOnly:trustedOnly
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserObservationDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var loginId = loginId_example; // {String} 
var realm = realm_example; // {String} 
var pageable = ; // {Pageable} 
var opts = {
  'trustedOnly': true, // {Boolean} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserObservationGroups1(loginId, realm, pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var loginId = loginId_example;  // String |  (default to null)
            var realm = realm_example;  // String |  (default to null)
            var pageable = new Pageable(); // Pageable |  (default to null)
            var trustedOnly = true;  // Boolean |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserObservationDto result = apiInstance.getUserObservationGroups1(loginId, realm, pageable, trustedOnly, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getUserObservationGroups1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$loginId = loginId_example; // String | 
$realm = realm_example; // String | 
$pageable = ; // Pageable | 
$trustedOnly = true; // Boolean | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getUserObservationGroups1($loginId, $realm, $pageable, $trustedOnly, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getUserObservationGroups1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $loginId = loginId_example; # String | 
my $realm = realm_example; # String | 
my $pageable = ; # Pageable | 
my $trustedOnly = true; # Boolean | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getUserObservationGroups1(loginId => $loginId, realm => $realm, pageable => $pageable, trustedOnly => $trustedOnly, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getUserObservationGroups1: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
loginId = loginId_example # String |  (default to null)
realm = realm_example # String |  (default to null)
pageable =  # Pageable |  (default to null)
trustedOnly = true # Boolean |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_user_observation_groups1(loginId, realm, pageable, trustedOnly=trustedOnly, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getUserObservationGroups1: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let loginId = loginId_example; // String
    let realm = realm_example; // String
    let pageable = ; // Pageable
    let trustedOnly = true; // Boolean
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getUserObservationGroups1(loginId, realm, pageable, trustedOnly, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
loginId*
String
Required
realm*
String
Required
trustedOnly
Boolean
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getUserRiskEventHistory

getUserRiskEventHistory
get/api/risk-event-history

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/risk-event-history?pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageRiskEventDto result = apiInstance.getUserRiskEventHistory(pageable, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserRiskEventHistory");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pageable pageable = new Pageable(); // Pageable | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getUserRiskEventHistory(pageable, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getUserRiskEventHistory: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageRiskEventDto result = apiInstance.getUserRiskEventHistory(pageable, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserRiskEventHistory");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Pageable *pageable = ; //  (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getUserRiskEventHistoryWith:pageable
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageRiskEventDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var pageable = ; // {Pageable} 
var opts = {
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserRiskEventHistory(pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var pageable = new Pageable(); // Pageable |  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageRiskEventDto result = apiInstance.getUserRiskEventHistory(pageable, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getUserRiskEventHistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$pageable = ; // Pageable | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getUserRiskEventHistory($pageable, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getUserRiskEventHistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $pageable = ; # Pageable | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getUserRiskEventHistory(pageable => $pageable, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getUserRiskEventHistory: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
pageable =  # Pageable |  (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_user_risk_event_history(pageable, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getUserRiskEventHistory: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let pageable = ; // Pageable
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getUserRiskEventHistory(pageable, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


getUserSessionHistory

getUserSessionHistory
get/api/session-history

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/session-history?deviceId=789&pageable=&page=56&size=56&sort="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getUserSessionHistory(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserSessionHistory");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Pageable pageable = new Pageable(); // Pageable | 
final Long deviceId = new Long(); // Long | 
final Integer page = new Integer(); // Integer | Results page you want to retrieve (0..N)
final Integer size = new Integer(); // Integer | Number of records per page.
final array[oas_any_type_not_mapped] sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    final result = await api_instance.getUserSessionHistory(pageable, deviceId, page, size, sort);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getUserSessionHistory: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Pageable pageable = ; // Pageable | 
        Long deviceId = 789; // Long | 
        Integer page = 56; // Integer | Results page you want to retrieve (0..N)
        Integer size = 56; // Integer | Number of records per page.
        array[oas_any_type_not_mapped] sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

        try {
            PageUserSessionDto result = apiInstance.getUserSessionHistory(pageable, deviceId, page, size, sort);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#getUserSessionHistory");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Pageable *pageable = ; //  (default to null)
Long *deviceId = 789; //  (optional) (default to null)
Integer *page = 56; // Results page you want to retrieve (0..N) (optional) (default to null)
Integer *size = 56; // Number of records per page. (optional) (default to null)
array[oas_any_type_not_mapped] *sort = ; // Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

[apiInstance getUserSessionHistoryWith:pageable
    deviceId:deviceId
    page:page
    size:size
    sort:sort
              completionHandler: ^(PageUserSessionDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var pageable = ; // {Pageable} 
var opts = {
  'deviceId': 789, // {Long} 
  'page': 56, // {Integer} Results page you want to retrieve (0..N)
  'size': 56, // {Integer} Number of records per page.
  'sort':  // {array[oas_any_type_not_mapped]} Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserSessionHistory(pageable, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var pageable = new Pageable(); // Pageable |  (default to null)
            var deviceId = 789;  // Long |  (optional)  (default to null)
            var page = 56;  // Integer | Results page you want to retrieve (0..N) (optional)  (default to null)
            var size = 56;  // Integer | Number of records per page. (optional)  (default to null)
            var sort = new array[oas_any_type_not_mapped](); // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)  (default to null)

            try {
                PageUserSessionDto result = apiInstance.getUserSessionHistory(pageable, deviceId, page, size, sort);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling ReportingControllerApi.getUserSessionHistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$pageable = ; // Pageable | 
$deviceId = 789; // Long | 
$page = 56; // Integer | Results page you want to retrieve (0..N)
$size = 56; // Integer | Number of records per page.
$sort = ; // array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

try {
    $result = $api_instance->getUserSessionHistory($pageable, $deviceId, $page, $size, $sort);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ReportingControllerApi->getUserSessionHistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $pageable = ; # Pageable | 
my $deviceId = 789; # Long | 
my $page = 56; # Integer | Results page you want to retrieve (0..N)
my $size = 56; # Integer | Number of records per page.
my $sort = []; # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

eval {
    my $result = $api_instance->getUserSessionHistory(pageable => $pageable, deviceId => $deviceId, page => $page, size => $size, sort => $sort);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ReportingControllerApi->getUserSessionHistory: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
pageable =  # Pageable |  (default to null)
deviceId = 789 # Long |  (optional) (default to null)
page = 56 # Integer | Results page you want to retrieve (0..N) (optional) (default to null)
size = 56 # Integer | Number of records per page. (optional) (default to null)
sort =  # array[oas_any_type_not_mapped] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to null)

try:
    api_response = api_instance.get_user_session_history(pageable, deviceId=deviceId, page=page, size=size, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->getUserSessionHistory: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let pageable = ; // Pageable
    let deviceId = 789; // Long
    let page = 56; // Integer
    let size = 56; // Integer
    let sort = ; // array[oas_any_type_not_mapped]

    let mut context = ReportingControllerApi::Context::default();
    let result = client.getUserSessionHistory(pageable, deviceId, page, size, sort, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
deviceId
Long (int64)
pageable*
Pageable
Required
page
Integer
Results page you want to retrieve (0..N)
size
Integer
Number of records per page.
sort
array[oas_any_type_not_mapped]
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Responses


terminateSession

terminateSession
get/api/terminateSession

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8888/nevisadapt/api/terminateSession?sessionId=789"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ReportingControllerApi;

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

public class ReportingControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long sessionId = 789; // Long | 

        try {
            Object result = apiInstance.terminateSession(sessionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#terminateSession");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Long sessionId = new Long(); // Long | 

try {
    final result = await api_instance.terminateSession(sessionId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->terminateSession: $e\n');
}

import org.openapitools.client.api.ReportingControllerApi;

public class ReportingControllerApiExample {
    public static void main(String[] args) {
        ReportingControllerApi apiInstance = new ReportingControllerApi();
        Long sessionId = 789; // Long | 

        try {
            Object result = apiInstance.terminateSession(sessionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportingControllerApi#terminateSession");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
ReportingControllerApi *apiInstance = [[ReportingControllerApi alloc] init];
Long *sessionId = 789; //  (default to null)

[apiInstance terminateSessionWith:sessionId
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var NevisAdaptRestApi = require('nevis_adapt_rest_api');

// Create an instance of the API class
var api = new NevisAdaptRestApi.ReportingControllerApi()
var sessionId = 789; // {Long} 

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

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

            // Create an instance of the API class
            var apiInstance = new ReportingControllerApi();
            var sessionId = 789;  // Long |  (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingControllerApi();
$sessionId = 789; // Long | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingControllerApi->new();
my $sessionId = 789; # Long | 

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

# Create an instance of the API class
api_instance = openapi_client.ReportingControllerApi()
sessionId = 789 # Long |  (default to null)

try:
    api_response = api_instance.terminate_session(sessionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ReportingControllerApi->terminateSession: %s\n" % e)
extern crate ReportingControllerApi;

pub fn main() {
    let sessionId = 789; // Long

    let mut context = ReportingControllerApi::Context::default();
    let result = client.terminateSession(sessionId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
sessionId*
Long (int64)
Required

Responses