Hvl System Menu Server

ApplicationNameAPI

getAppNameDataList

Queries app name as list


/app-names/data/list

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:9191/app-names/data/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApplicationNameAPIApi;

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

public class ApplicationNameAPIApiExample {

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

public class ApplicationNameAPIApiExample {

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

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

// Queries app name as list
[apiInstance getAppNameDataListWithCompletionHandler: 
              ^(HvlResponseListHvlAppNameModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

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

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

            var apiInstance = new ApplicationNameAPIApi();

            try
            {
                // Queries app name as list
                HvlResponseListHvlAppNameModel result = apiInstance.getAppNameDataList();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ApplicationNameAPIApi.getAppNameDataList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Queries app name as list
    api_response = api_instance.get_app_name_data_list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApplicationNameAPIApi->getAppNameDataList: %s\n" % e)

Parameters

Responses

Status: 200 - OK


update2

Updates app name data


/app-names

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/app-names"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApplicationNameAPIApi;

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

public class ApplicationNameAPIApiExample {

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

public class ApplicationNameAPIApiExample {

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

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

// Updates app name data
[apiInstance update2With:body
              completionHandler: ^(HvlResponseHvlAppNameModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.ApplicationNameAPIApi()
var body = ; // {{HvlAppNameModel}} 

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

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

            var apiInstance = new ApplicationNameAPIApi();
            var body = new HvlAppNameModel(); // HvlAppNameModel | 

            try
            {
                // Updates app name data
                HvlResponseHvlAppNameModel result = apiInstance.update2(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ApplicationNameAPIApi.update2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiApplicationNameAPIApi();
$body = ; // HvlAppNameModel | 

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

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

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

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

try: 
    # Updates app name data
    api_response = api_instance.update2(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApplicationNameAPIApi->update2: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


updateAll

Updates app name list order with provided reordered app name model list


/app-names/update-all

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/app-names/update-all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApplicationNameAPIApi;

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

public class ApplicationNameAPIApiExample {

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

public class ApplicationNameAPIApiExample {

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

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

// Updates app name list order with provided reordered app name model list
[apiInstance updateAllWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.ApplicationNameAPIApi()
var body = ; // {{array[HvlAppNameUpdateModel]}} 

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

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

            var apiInstance = new ApplicationNameAPIApi();
            var body = new array[HvlAppNameUpdateModel](); // array[HvlAppNameUpdateModel] | 

            try
            {
                // Updates app name list order with provided reordered app name model list
                HvlResponseVoid result = apiInstance.updateAll(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ApplicationNameAPIApi.updateAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Updates app name list order with provided reordered app name model list
    api_response = api_instance.update_all(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ApplicationNameAPIApi->updateAll: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


MenuFavoriteAPI

deleteByPath

Deletes menu favorite with provided path


/menu-favorites

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
-H "Content-Type: text/plain"\
"http://keysys.hvlnet.net:9191/menu-favorites"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuFavoriteAPIApi;

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

public class MenuFavoriteAPIApiExample {

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

public class MenuFavoriteAPIApiExample {

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

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

// Deletes menu favorite with provided path
[apiInstance deleteByPathWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuFavoriteAPIApi()
var body = ; // {{String}} 

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

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

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

            try
            {
                // Deletes menu favorite with provided path
                HvlResponseVoid result = apiInstance.deleteByPath(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuFavoriteAPIApi.deleteByPath: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Deletes menu favorite with provided path
    api_response = api_instance.delete_by_path(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuFavoriteAPIApi->deleteByPath: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


getMenuFavoriteDataList

Queries menu favorite as list according to authenticated user


/menu-favorites/data/list

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:9191/menu-favorites/data/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuFavoriteAPIApi;

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

public class MenuFavoriteAPIApiExample {

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

public class MenuFavoriteAPIApiExample {

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

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

// Queries menu favorite as list according to authenticated user
[apiInstance getMenuFavoriteDataListWithCompletionHandler: 
              ^(HvlResponseListHvlMenuItemDataModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

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

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

            var apiInstance = new MenuFavoriteAPIApi();

            try
            {
                // Queries menu favorite as list according to authenticated user
                HvlResponseListHvlMenuItemDataModel result = apiInstance.getMenuFavoriteDataList();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuFavoriteAPIApi.getMenuFavoriteDataList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Queries menu favorite as list according to authenticated user
    api_response = api_instance.get_menu_favorite_data_list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuFavoriteAPIApi->getMenuFavoriteDataList: %s\n" % e)

Parameters

Responses

Status: 200 - OK


save1

Saves menu favorite data


/menu-favorites

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/menu-favorites"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuFavoriteAPIApi;

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

public class MenuFavoriteAPIApiExample {

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

public class MenuFavoriteAPIApiExample {

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

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

// Saves menu favorite data
[apiInstance save1With:body
              completionHandler: ^(HvlResponseHvlMenuFavoriteModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuFavoriteAPIApi()
var body = ; // {{HvlMenuFavoriteModel}} 

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

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

            var apiInstance = new MenuFavoriteAPIApi();
            var body = new HvlMenuFavoriteModel(); // HvlMenuFavoriteModel | 

            try
            {
                // Saves menu favorite data
                HvlResponseHvlMenuFavoriteModel result = apiInstance.save1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuFavoriteAPIApi.save1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuFavoriteAPIApi();
$body = ; // HvlMenuFavoriteModel | 

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

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

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

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

try: 
    # Saves menu favorite data
    api_response = api_instance.save1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuFavoriteAPIApi->save1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


MenuItemAPI

deleteByUuid

Deletes menu item with provided uuid


/menu-items/{uuid}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:9191/menu-items/{uuid}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAPIApi;

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

public class MenuItemAPIApiExample {

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

public class MenuItemAPIApiExample {

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

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

// Deletes menu item with provided uuid
[apiInstance deleteByUuidWith:uuid
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAPIApi()
var uuid = uuid_example; // {{String}} 

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

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

            var apiInstance = new MenuItemAPIApi();
            var uuid = uuid_example;  // String | 

            try
            {
                // Deletes menu item with provided uuid
                HvlResponseVoid result = apiInstance.deleteByUuid(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAPIApi.deleteByUuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuItemAPIApi();
$uuid = uuid_example; // String | 

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

my $api_instance = WWW::SwaggerClient::MenuItemAPIApi->new();
my $uuid = uuid_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.MenuItemAPIApi()
uuid = uuid_example # String | 

try: 
    # Deletes menu item with provided uuid
    api_response = api_instance.delete_by_uuid(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAPIApi->deleteByUuid: %s\n" % e)

Parameters

Path parameters
Name Description
uuid*
String
Required

Responses

Status: 200 - OK


getByUuid

Gets the menu item with provided uuid


/menu-items/by-uuid/{uuid}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:9191/menu-items/by-uuid/{uuid}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAPIApi;

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

public class MenuItemAPIApiExample {

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

public class MenuItemAPIApiExample {

    public static void main(String[] args) {
        MenuItemAPIApi apiInstance = new MenuItemAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseHvlMenuItemModel result = apiInstance.getByUuid(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MenuItemAPIApi#getByUuid");
            e.printStackTrace();
        }
    }
}
String *uuid = uuid_example; // 

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

// Gets the menu item with provided uuid
[apiInstance getByUuidWith:uuid
              completionHandler: ^(HvlResponseHvlMenuItemModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAPIApi()
var uuid = uuid_example; // {{String}} 

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

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

            var apiInstance = new MenuItemAPIApi();
            var uuid = uuid_example;  // String | 

            try
            {
                // Gets the menu item with provided uuid
                HvlResponseHvlMenuItemModel result = apiInstance.getByUuid(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAPIApi.getByUuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuItemAPIApi();
$uuid = uuid_example; // String | 

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

my $api_instance = WWW::SwaggerClient::MenuItemAPIApi->new();
my $uuid = uuid_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.MenuItemAPIApi()
uuid = uuid_example # String | 

try: 
    # Gets the menu item with provided uuid
    api_response = api_instance.get_by_uuid(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAPIApi->getByUuid: %s\n" % e)

Parameters

Path parameters
Name Description
uuid*
String
Required

Responses

Status: 200 - OK


getMenuItemDataList

Queries menu item as list


/menu-items/data/list

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:9191/menu-items/data/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAPIApi;

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

public class MenuItemAPIApiExample {

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

public class MenuItemAPIApiExample {

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

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

// Queries menu item as list
[apiInstance getMenuItemDataListWithCompletionHandler: 
              ^(HvlResponseListHvlMenuItemDataModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

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

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

            var apiInstance = new MenuItemAPIApi();

            try
            {
                // Queries menu item as list
                HvlResponseListHvlMenuItemDataModel result = apiInstance.getMenuItemDataList();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAPIApi.getMenuItemDataList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Queries menu item as list
    api_response = api_instance.get_menu_item_data_list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAPIApi->getMenuItemDataList: %s\n" % e)

Parameters

Responses

Status: 200 - OK


getMenuItemEditList

Queries hierarchical menu item as list according to criteria in query model for editing


/menu-items/data/edit-list

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/menu-items/data/edit-list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAPIApi;

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

public class MenuItemAPIApiExample {

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

public class MenuItemAPIApiExample {

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

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

// Queries hierarchical menu item as list according to criteria in query model for editing
[apiInstance getMenuItemEditListWith:body
              completionHandler: ^(HvlResponseListHvlMenuItemEditModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAPIApi()
var body = ; // {{HvlMenuItemQueryModel}} 

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

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

            var apiInstance = new MenuItemAPIApi();
            var body = new HvlMenuItemQueryModel(); // HvlMenuItemQueryModel | 

            try
            {
                // Queries hierarchical menu item as list according to criteria in query model for editing
                HvlResponseListHvlMenuItemEditModel result = apiInstance.getMenuItemEditList(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAPIApi.getMenuItemEditList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuItemAPIApi();
$body = ; // HvlMenuItemQueryModel | 

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

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

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

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

try: 
    # Queries hierarchical menu item as list according to criteria in query model for editing
    api_response = api_instance.get_menu_item_edit_list(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAPIApi->getMenuItemEditList: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


save

Saves menu item data


/menu-items

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/menu-items"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAPIApi;

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

public class MenuItemAPIApiExample {

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

public class MenuItemAPIApiExample {

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

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

// Saves menu item data
[apiInstance saveWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAPIApi()
var body = ; // {{HvlMenuItemModel}} 

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

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

            var apiInstance = new MenuItemAPIApi();
            var body = new HvlMenuItemModel(); // HvlMenuItemModel | 

            try
            {
                // Saves menu item data
                HvlResponseVoid result = apiInstance.save(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAPIApi.save: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuItemAPIApi();
$body = ; // HvlMenuItemModel | 

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

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

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

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

try: 
    # Saves menu item data
    api_response = api_instance.save(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAPIApi->save: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


update

Updates menu item data


/menu-items

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/menu-items"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAPIApi;

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

public class MenuItemAPIApiExample {

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

public class MenuItemAPIApiExample {

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

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

// Updates menu item data
[apiInstance updateWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAPIApi()
var body = ; // {{HvlMenuItemModel}} 

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

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

            var apiInstance = new MenuItemAPIApi();
            var body = new HvlMenuItemModel(); // HvlMenuItemModel | 

            try
            {
                // Updates menu item data
                HvlResponseVoid result = apiInstance.update(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAPIApi.update: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuItemAPIApi();
$body = ; // HvlMenuItemModel | 

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

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

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

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

try: 
    # Updates menu item data
    api_response = api_instance.update(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAPIApi->update: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


updateTree

Updates menu item tree data list


/menu-items/update

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/menu-items/update"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAPIApi;

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

public class MenuItemAPIApiExample {

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

public class MenuItemAPIApiExample {

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

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

// Updates menu item tree data list
[apiInstance updateTreeWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAPIApi()
var body = ; // {{array[HvlMenuItemTreeModel]}} 

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

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

            var apiInstance = new MenuItemAPIApi();
            var body = new array[HvlMenuItemTreeModel](); // array[HvlMenuItemTreeModel] | 

            try
            {
                // Updates menu item tree data list
                HvlResponseVoid result = apiInstance.updateTree(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAPIApi.updateTree: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Updates menu item tree data list
    api_response = api_instance.update_tree(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAPIApi->updateTree: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


MenuItemAuthorityAPI

getByMenuItemUuid

Gets menu item authority


/menu-authorities/data/by-uuid/{uuid}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://keysys.hvlnet.net:9191/menu-authorities/data/by-uuid/{uuid}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAuthorityAPIApi;

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

public class MenuItemAuthorityAPIApiExample {

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

public class MenuItemAuthorityAPIApiExample {

    public static void main(String[] args) {
        MenuItemAuthorityAPIApi apiInstance = new MenuItemAuthorityAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseHvlMenuItemAuthorityModel result = apiInstance.getByMenuItemUuid(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MenuItemAuthorityAPIApi#getByMenuItemUuid");
            e.printStackTrace();
        }
    }
}
String *uuid = uuid_example; // 

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

// Gets menu item authority
[apiInstance getByMenuItemUuidWith:uuid
              completionHandler: ^(HvlResponseHvlMenuItemAuthorityModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAuthorityAPIApi()
var uuid = uuid_example; // {{String}} 

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

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

            var apiInstance = new MenuItemAuthorityAPIApi();
            var uuid = uuid_example;  // String | 

            try
            {
                // Gets menu item authority
                HvlResponseHvlMenuItemAuthorityModel result = apiInstance.getByMenuItemUuid(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAuthorityAPIApi.getByMenuItemUuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuItemAuthorityAPIApi();
$uuid = uuid_example; // String | 

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

my $api_instance = WWW::SwaggerClient::MenuItemAuthorityAPIApi->new();
my $uuid = uuid_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.MenuItemAuthorityAPIApi()
uuid = uuid_example # String | 

try: 
    # Gets menu item authority
    api_response = api_instance.get_by_menu_item_uuid(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAuthorityAPIApi->getByMenuItemUuid: %s\n" % e)

Parameters

Path parameters
Name Description
uuid*
String
Required

Responses

Status: 200 - OK


update1

Updates menu item authority


/menu-authorities

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://keysys.hvlnet.net:9191/menu-authorities"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MenuItemAuthorityAPIApi;

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

public class MenuItemAuthorityAPIApiExample {

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

public class MenuItemAuthorityAPIApiExample {

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

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

// Updates menu item authority
[apiInstance update1With:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlSystemMenuServer = require('hvl_system_menu_server');

var api = new HvlSystemMenuServer.MenuItemAuthorityAPIApi()
var body = ; // {{HvlMenuItemAuthorityPersistModel}} 

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

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

            var apiInstance = new MenuItemAuthorityAPIApi();
            var body = new HvlMenuItemAuthorityPersistModel(); // HvlMenuItemAuthorityPersistModel | 

            try
            {
                // Updates menu item authority
                HvlResponseVoid result = apiInstance.update1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MenuItemAuthorityAPIApi.update1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMenuItemAuthorityAPIApi();
$body = ; // HvlMenuItemAuthorityPersistModel | 

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

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

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

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

try: 
    # Updates menu item authority
    api_response = api_instance.update1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MenuItemAuthorityAPIApi->update1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK