findCasAppsByServiceUrl
-Finds CAS applications by Service URL
+findCasAppByServiceUrl
+Get CAS Application by Service URL
Usage and SDK Samples
curl -X GET "/api/v1/api/v1/providers/cas/app/findByServiceUrl?serviceUrl="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -2283,17 +2408,17 @@ public class CasappApiExample {
CasappApi apiInstance = new CasappApi();
String serviceUrl = serviceUrl_example; // String | Service URL to search
try {
- CasApp result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
+ CasApp result = apiInstance.findCasAppByServiceUrl(serviceUrl);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling CasappApi#findCasAppsByServiceUrl");
+ System.err.println("Exception when calling CasappApi#findCasAppByServiceUrl");
e.printStackTrace();
}
}
}
import io.swagger.client.api.CasappApi;
public class CasappApiExample {
@@ -2302,26 +2427,26 @@ public class CasappApiExample {
CasappApi apiInstance = new CasappApi();
String serviceUrl = serviceUrl_example; // String | Service URL to search
try {
- CasApp result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
+ CasApp result = apiInstance.findCasAppByServiceUrl(serviceUrl);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling CasappApi#findCasAppsByServiceUrl");
+ System.err.println("Exception when calling CasappApi#findCasAppByServiceUrl");
e.printStackTrace();
}
}
}
String *serviceUrl = serviceUrl_example; // Service URL to search
CasappApi *apiInstance = [[CasappApi alloc] init];
-// Finds CAS applications by Service URL
-[apiInstance findCasAppsByServiceUrlWith:serviceUrl
+// Get CAS Application by Service URL
+[apiInstance findCasAppByServiceUrlWith:serviceUrl
completionHandler: ^(CasApp output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -2333,7 +2458,7 @@ CasappApi *apiInstance = [[CasappApi alloc] init];
var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
var api = new LemonLdapngManagerApi.CasappApi()
@@ -2346,14 +2471,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.findCasAppsByServiceUrl(serviceUrl, callback);
+api.findCasAppByServiceUrl(serviceUrl, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -2362,7 +2487,7 @@ using IO.Swagger.Model;
namespace Example
{
- public class findCasAppsByServiceUrlExample
+ public class findCasAppByServiceUrlExample
{
public void main()
{
@@ -2372,13 +2497,13 @@ namespace Example
try
{
- // Finds CAS applications by Service URL
- CasApp result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
+ // Get CAS Application by Service URL
+ CasApp result = apiInstance.findCasAppByServiceUrl(serviceUrl);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling CasappApi.findCasAppsByServiceUrl: " + e.Message );
+ Debug.Print("Exception when calling CasappApi.findCasAppByServiceUrl: " + e.Message );
}
}
}
@@ -2386,7 +2511,7 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
@@ -2394,15 +2519,15 @@ $api_instance = new Swagger\Client\ApiCasappApi();
$serviceUrl = serviceUrl_example; // String | Service URL to search
try {
- $result = $api_instance->findCasAppsByServiceUrl($serviceUrl);
+ $result = $api_instance->findCasAppByServiceUrl($serviceUrl);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling CasappApi->findCasAppsByServiceUrl: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling CasappApi->findCasAppByServiceUrl: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CasappApi;
@@ -2411,15 +2536,15 @@ my $api_instance = WWW::SwaggerClient::CasappApi->new();
my $serviceUrl = serviceUrl_example; # String | Service URL to search
eval {
- my $result = $api_instance->findCasAppsByServiceUrl(serviceUrl => $serviceUrl);
+ my $result = $api_instance->findCasAppByServiceUrl(serviceUrl => $serviceUrl);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling CasappApi->findCasAppsByServiceUrl: $@\n";
+ warn "Exception when calling CasappApi->findCasAppByServiceUrl: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
@@ -2431,11 +2556,11 @@ api_instance = swagger_client.CasappApi()
serviceUrl = serviceUrl_example # String | Service URL to search
try:
- # Finds CAS applications by Service URL
- api_response = api_instance.find_cas_apps_by_service_url(serviceUrl)
+ # Get CAS Application by Service URL
+ api_response = api_instance.find_cas_app_by_service_url(serviceUrl)
pprint(api_response)
except ApiException as e:
- print("Exception when calling CasappApi->findCasAppsByServiceUrl: %s\n" % e)
+ print("Exception when calling CasappApi->findCasAppByServiceUrl: %s\n" % e)
Status: 404 - The specified resource was not found
+ + + ++
Menuapp
+addMenuApp
+Create a new Menu Application within a Menu Category
++
/api/v1/menu/app/{cat}
+ +
Usage and SDK Samples
+ + + +curl -X POST "/api/v1/api/v1/menu/app/{cat}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenuappApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+
+ MenuappApi apiInstance = new MenuappApi();
+ MenuApp body = ; // MenuApp | Menu Application to add
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ try {
+ apiInstance.addMenuApp(body, cat);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#addMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenuappApi;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+ MenuappApi apiInstance = new MenuappApi();
+ MenuApp body = ; // MenuApp | Menu Application to add
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ try {
+ apiInstance.addMenuApp(body, cat);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#addMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ MenuApp *body = ; // Menu Application to add
+menuCatConfKey *cat = ; // Configuration key of Menu Category to work with
+
+MenuappApi *apiInstance = [[MenuappApi alloc] init];
+
+// Create a new Menu Application within a Menu Category
+[apiInstance addMenuAppWith:body
+ cat:cat
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenuappApi()
+var body = ; // {{MenuApp}} Menu Application to add
+var cat = ; // {{menuCatConfKey}} Configuration key of Menu Category to work with
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.addMenuApp(bodycat, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addMenuAppExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenuappApi();
+ var body = new MenuApp(); // MenuApp | Menu Application to add
+ var cat = new menuCatConfKey(); // menuCatConfKey | Configuration key of Menu Category to work with
+
+ try
+ {
+ // Create a new Menu Application within a Menu Category
+ apiInstance.addMenuApp(body, cat);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenuappApi.addMenuApp: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenuappApi();
+$body = ; // MenuApp | Menu Application to add
+$cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+
+try {
+ $api_instance->addMenuApp($body, $cat);
+} catch (Exception $e) {
+ echo 'Exception when calling MenuappApi->addMenuApp: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenuappApi;
+
+my $api_instance = WWW::SwaggerClient::MenuappApi->new();
+my $body = WWW::SwaggerClient::Object::MenuApp->new(); # MenuApp | Menu Application to add
+my $cat = ; # menuCatConfKey | Configuration key of Menu Category to work with
+
+eval {
+ $api_instance->addMenuApp(body => $body, cat => $cat);
+};
+if ($@) {
+ warn "Exception when calling MenuappApi->addMenuApp: $@\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.MenuappApi()
+body = # MenuApp | Menu Application to add
+cat = # menuCatConfKey | Configuration key of Menu Category to work with
+
+try:
+ # Create a new Menu Application within a Menu Category
+ api_instance.add_menu_app(body, cat)
+except ApiException as e:
+ print("Exception when calling MenuappApi->addMenuApp: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
cat* | +
+
+
+
+
+
+
+
+
+ menuCatConfKey
+
+
+
+
+ Configuration key of Menu Category to work with
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 201 - Successful creation
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + +Status: 409 - The specified object could not be created because its configuration key, client_id or entityID already exists
+ + + ++
deleteMenuApp
+Deletes a Menu Application
++
/api/v1/menu/app/{cat}/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X DELETE "/api/v1/api/v1/menu/app/{cat}/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenuappApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application to delete
+ try {
+ apiInstance.deleteMenuApp(cat, confKey);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#deleteMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenuappApi;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application to delete
+ try {
+ apiInstance.deleteMenuApp(cat, confKey);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#deleteMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ menuCatConfKey *cat = ; // Configuration key of Menu Category to work with
+confKey *confKey = ; // Configuration key of Menu Application to delete
+
+MenuappApi *apiInstance = [[MenuappApi alloc] init];
+
+// Deletes a Menu Application
+[apiInstance deleteMenuAppWith:cat
+ confKey:confKey
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenuappApi()
+var cat = ; // {{menuCatConfKey}} Configuration key of Menu Category to work with
+var confKey = ; // {{confKey}} Configuration key of Menu Application to delete
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.deleteMenuApp(cat, confKey, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class deleteMenuAppExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenuappApi();
+ var cat = new menuCatConfKey(); // menuCatConfKey | Configuration key of Menu Category to work with
+ var confKey = new confKey(); // confKey | Configuration key of Menu Application to delete
+
+ try
+ {
+ // Deletes a Menu Application
+ apiInstance.deleteMenuApp(cat, confKey);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenuappApi.deleteMenuApp: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenuappApi();
+$cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+$confKey = ; // confKey | Configuration key of Menu Application to delete
+
+try {
+ $api_instance->deleteMenuApp($cat, $confKey);
+} catch (Exception $e) {
+ echo 'Exception when calling MenuappApi->deleteMenuApp: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenuappApi;
+
+my $api_instance = WWW::SwaggerClient::MenuappApi->new();
+my $cat = ; # menuCatConfKey | Configuration key of Menu Category to work with
+my $confKey = ; # confKey | Configuration key of Menu Application to delete
+
+eval {
+ $api_instance->deleteMenuApp(cat => $cat, confKey => $confKey);
+};
+if ($@) {
+ warn "Exception when calling MenuappApi->deleteMenuApp: $@\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.MenuappApi()
+cat = # menuCatConfKey | Configuration key of Menu Category to work with
+confKey = # confKey | Configuration key of Menu Application to delete
+
+try:
+ # Deletes a Menu Application
+ api_instance.delete_menu_app(cat, confKey)
+except ApiException as e:
+ print("Exception when calling MenuappApi->deleteMenuApp: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
cat* | +
+
+
+
+
+
+
+
+
+ menuCatConfKey
+
+
+
+
+ Configuration key of Menu Category to work with
+
+
+ Required
+
+ |
+
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Application to delete
+
+
+ Required
+
+ |
+
Responses
+Status: 204 - Successful modification
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + ++
findMenuAppByConfKey
+Finds Menu Applications by configuration key within a Menu Category
+Takes a search pattern to be tested against existing applications within a menu category
+ ++
/api/v1/menu/app/{cat}/findByConfKey
+ +
Usage and SDK Samples
+ + + +curl -X GET "/api/v1/api/v1/menu/app/{cat}/findByConfKey?pattern="
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenuappApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ String pattern = pattern_example; // String | Search pattern
+ try {
+ array[MenuApp] result = apiInstance.findMenuAppByConfKey(cat, pattern);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#findMenuAppByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenuappApi;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ String pattern = pattern_example; // String | Search pattern
+ try {
+ array[MenuApp] result = apiInstance.findMenuAppByConfKey(cat, pattern);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#findMenuAppByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ menuCatConfKey *cat = ; // Configuration key of Menu Category to work with
+String *pattern = pattern_example; // Search pattern
+
+MenuappApi *apiInstance = [[MenuappApi alloc] init];
+
+// Finds Menu Applications by configuration key within a Menu Category
+[apiInstance findMenuAppByConfKeyWith:cat
+ pattern:pattern
+ completionHandler: ^(array[MenuApp] output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenuappApi()
+var cat = ; // {{menuCatConfKey}} Configuration key of Menu Category to work with
+var pattern = pattern_example; // {{String}} Search pattern
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.findMenuAppByConfKey(cat, pattern, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class findMenuAppByConfKeyExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenuappApi();
+ var cat = new menuCatConfKey(); // menuCatConfKey | Configuration key of Menu Category to work with
+ var pattern = pattern_example; // String | Search pattern
+
+ try
+ {
+ // Finds Menu Applications by configuration key within a Menu Category
+ array[MenuApp] result = apiInstance.findMenuAppByConfKey(cat, pattern);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenuappApi.findMenuAppByConfKey: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenuappApi();
+$cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+$pattern = pattern_example; // String | Search pattern
+
+try {
+ $result = $api_instance->findMenuAppByConfKey($cat, $pattern);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling MenuappApi->findMenuAppByConfKey: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenuappApi;
+
+my $api_instance = WWW::SwaggerClient::MenuappApi->new();
+my $cat = ; # menuCatConfKey | Configuration key of Menu Category to work with
+my $pattern = pattern_example; # String | Search pattern
+
+eval {
+ my $result = $api_instance->findMenuAppByConfKey(cat => $cat, pattern => $pattern);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling MenuappApi->findMenuAppByConfKey: $@\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.MenuappApi()
+cat = # menuCatConfKey | Configuration key of Menu Category to work with
+pattern = pattern_example # String | Search pattern
+
+try:
+ # Finds Menu Applications by configuration key within a Menu Category
+ api_response = api_instance.find_menu_app_by_conf_key(cat, pattern)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling MenuappApi->findMenuAppByConfKey: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
cat* | +
+
+
+
+
+
+
+
+
+ menuCatConfKey
+
+
+
+
+ Configuration key of Menu Category to work with
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
pattern* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Search pattern
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - Return a list of Menu Applications
+ + + +Status: 400 - An error was encountered when processing the request
+ + + ++
getMenuAppByConfKey
+Get Menu Application within a Menu Category by configuration key
+Returns a single application
+ ++
/api/v1/menu/app/{cat}/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X GET "/api/v1/api/v1/menu/app/{cat}/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenuappApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application
+ try {
+ MenuApp result = apiInstance.getMenuAppByConfKey(cat, confKey);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#getMenuAppByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenuappApi;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application
+ try {
+ MenuApp result = apiInstance.getMenuAppByConfKey(cat, confKey);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#getMenuAppByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ menuCatConfKey *cat = ; // Configuration key of Menu Category to work with
+confKey *confKey = ; // Configuration key of Menu Application
+
+MenuappApi *apiInstance = [[MenuappApi alloc] init];
+
+// Get Menu Application within a Menu Category by configuration key
+[apiInstance getMenuAppByConfKeyWith:cat
+ confKey:confKey
+ completionHandler: ^(MenuApp output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenuappApi()
+var cat = ; // {{menuCatConfKey}} Configuration key of Menu Category to work with
+var confKey = ; // {{confKey}} Configuration key of Menu Application
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getMenuAppByConfKey(cat, confKey, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getMenuAppByConfKeyExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenuappApi();
+ var cat = new menuCatConfKey(); // menuCatConfKey | Configuration key of Menu Category to work with
+ var confKey = new confKey(); // confKey | Configuration key of Menu Application
+
+ try
+ {
+ // Get Menu Application within a Menu Category by configuration key
+ MenuApp result = apiInstance.getMenuAppByConfKey(cat, confKey);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenuappApi.getMenuAppByConfKey: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenuappApi();
+$cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+$confKey = ; // confKey | Configuration key of Menu Application
+
+try {
+ $result = $api_instance->getMenuAppByConfKey($cat, $confKey);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling MenuappApi->getMenuAppByConfKey: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenuappApi;
+
+my $api_instance = WWW::SwaggerClient::MenuappApi->new();
+my $cat = ; # menuCatConfKey | Configuration key of Menu Category to work with
+my $confKey = ; # confKey | Configuration key of Menu Application
+
+eval {
+ my $result = $api_instance->getMenuAppByConfKey(cat => $cat, confKey => $confKey);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling MenuappApi->getMenuAppByConfKey: $@\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.MenuappApi()
+cat = # menuCatConfKey | Configuration key of Menu Category to work with
+confKey = # confKey | Configuration key of Menu Application
+
+try:
+ # Get Menu Application within a Menu Category by configuration key
+ api_response = api_instance.get_menu_app_by_conf_key(cat, confKey)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling MenuappApi->getMenuAppByConfKey: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
cat* | +
+
+
+
+
+
+
+
+
+ menuCatConfKey
+
+
+
+
+ Configuration key of Menu Category to work with
+
+
+ Required
+
+ |
+
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Application
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - Return a Menu Application
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + ++
getMenuApps
+Get Menu Applications within a Menu Category
+Return existing applications within a menu category
+ ++
/api/v1/menu/app/{cat}
+ +
Usage and SDK Samples
+ + + +curl -X GET "/api/v1/api/v1/menu/app/{cat}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenuappApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ try {
+ array[MenuApp] result = apiInstance.getMenuApps(cat);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#getMenuApps");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenuappApi;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ try {
+ array[MenuApp] result = apiInstance.getMenuApps(cat);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#getMenuApps");
+ e.printStackTrace();
+ }
+ }
+}
+ menuCatConfKey *cat = ; // Configuration key of Menu Category to work with
+
+MenuappApi *apiInstance = [[MenuappApi alloc] init];
+
+// Get Menu Applications within a Menu Category
+[apiInstance getMenuAppsWith:cat
+ completionHandler: ^(array[MenuApp] output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenuappApi()
+var cat = ; // {{menuCatConfKey}} Configuration key of Menu Category to work with
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getMenuApps(cat, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getMenuAppsExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenuappApi();
+ var cat = new menuCatConfKey(); // menuCatConfKey | Configuration key of Menu Category to work with
+
+ try
+ {
+ // Get Menu Applications within a Menu Category
+ array[MenuApp] result = apiInstance.getMenuApps(cat);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenuappApi.getMenuApps: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenuappApi();
+$cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+
+try {
+ $result = $api_instance->getMenuApps($cat);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling MenuappApi->getMenuApps: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenuappApi;
+
+my $api_instance = WWW::SwaggerClient::MenuappApi->new();
+my $cat = ; # menuCatConfKey | Configuration key of Menu Category to work with
+
+eval {
+ my $result = $api_instance->getMenuApps(cat => $cat);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling MenuappApi->getMenuApps: $@\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.MenuappApi()
+cat = # menuCatConfKey | Configuration key of Menu Category to work with
+
+try:
+ # Get Menu Applications within a Menu Category
+ api_response = api_instance.get_menu_apps(cat)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling MenuappApi->getMenuApps: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
cat* | +
+
+
+
+
+
+
+
+
+ menuCatConfKey
+
+
+
+
+ Configuration key of Menu Category to work with
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - Return a list of Menu Applications
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + ++
replaceMenuApp
+Replaces a Menu Application
++
/api/v1/menu/app/{cat}/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X PUT "/api/v1/api/v1/menu/app/{cat}/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenuappApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application that needs to be replaced
+ MenuApp body = ; // MenuApp |
+ try {
+ apiInstance.replaceMenuApp(cat, confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#replaceMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenuappApi;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application that needs to be replaced
+ MenuApp body = ; // MenuApp |
+ try {
+ apiInstance.replaceMenuApp(cat, confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#replaceMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ menuCatConfKey *cat = ; // Configuration key of Menu Category to work with
+confKey *confKey = ; // Configuration key of Menu Application that needs to be replaced
+MenuApp *body = ; // (optional)
+
+MenuappApi *apiInstance = [[MenuappApi alloc] init];
+
+// Replaces a Menu Application
+[apiInstance replaceMenuAppWith:cat
+ confKey:confKey
+ body:body
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenuappApi()
+var cat = ; // {{menuCatConfKey}} Configuration key of Menu Category to work with
+var confKey = ; // {{confKey}} Configuration key of Menu Application that needs to be replaced
+var opts = {
+ 'body': // {{MenuApp}}
+};
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.replaceMenuApp(catconfKey, opts, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class replaceMenuAppExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenuappApi();
+ var cat = new menuCatConfKey(); // menuCatConfKey | Configuration key of Menu Category to work with
+ var confKey = new confKey(); // confKey | Configuration key of Menu Application that needs to be replaced
+ var body = new MenuApp(); // MenuApp | (optional)
+
+ try
+ {
+ // Replaces a Menu Application
+ apiInstance.replaceMenuApp(cat, confKey, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenuappApi.replaceMenuApp: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenuappApi();
+$cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+$confKey = ; // confKey | Configuration key of Menu Application that needs to be replaced
+$body = ; // MenuApp |
+
+try {
+ $api_instance->replaceMenuApp($cat, $confKey, $body);
+} catch (Exception $e) {
+ echo 'Exception when calling MenuappApi->replaceMenuApp: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenuappApi;
+
+my $api_instance = WWW::SwaggerClient::MenuappApi->new();
+my $cat = ; # menuCatConfKey | Configuration key of Menu Category to work with
+my $confKey = ; # confKey | Configuration key of Menu Application that needs to be replaced
+my $body = WWW::SwaggerClient::Object::MenuApp->new(); # MenuApp |
+
+eval {
+ $api_instance->replaceMenuApp(cat => $cat, confKey => $confKey, body => $body);
+};
+if ($@) {
+ warn "Exception when calling MenuappApi->replaceMenuApp: $@\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.MenuappApi()
+cat = # menuCatConfKey | Configuration key of Menu Category to work with
+confKey = # confKey | Configuration key of Menu Application that needs to be replaced
+body = # MenuApp | (optional)
+
+try:
+ # Replaces a Menu Application
+ api_instance.replace_menu_app(cat, confKey, body=body)
+except ApiException as e:
+ print("Exception when calling MenuappApi->replaceMenuApp: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
cat* | +
+
+
+
+
+
+
+
+
+ menuCatConfKey
+
+
+
+
+ Configuration key of Menu Category to work with
+
+
+ Required
+
+ |
+
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Application that needs to be replaced
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body | ++ + + + + | +
Responses
+Status: 204 - Successful modification
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + +Status: 409 - The specified object could not be created because its configuration key, client_id or entityID already exists
+ + + ++
updateMenuApp
+Updates a Menu Application
++
/api/v1/menu/app/{cat}/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X PATCH "/api/v1/api/v1/menu/app/{cat}/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenuappApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application that needs to be updated
+ MenuAppUpdate body = ; // MenuAppUpdate |
+ try {
+ apiInstance.updateMenuApp(cat, confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#updateMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenuappApi;
+
+public class MenuappApiExample {
+
+ public static void main(String[] args) {
+ MenuappApi apiInstance = new MenuappApi();
+ menuCatConfKey cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+ confKey confKey = ; // confKey | Configuration key of Menu Application that needs to be updated
+ MenuAppUpdate body = ; // MenuAppUpdate |
+ try {
+ apiInstance.updateMenuApp(cat, confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenuappApi#updateMenuApp");
+ e.printStackTrace();
+ }
+ }
+}
+ menuCatConfKey *cat = ; // Configuration key of Menu Category to work with
+confKey *confKey = ; // Configuration key of Menu Application that needs to be updated
+MenuAppUpdate *body = ; // (optional)
+
+MenuappApi *apiInstance = [[MenuappApi alloc] init];
+
+// Updates a Menu Application
+[apiInstance updateMenuAppWith:cat
+ confKey:confKey
+ body:body
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenuappApi()
+var cat = ; // {{menuCatConfKey}} Configuration key of Menu Category to work with
+var confKey = ; // {{confKey}} Configuration key of Menu Application that needs to be updated
+var opts = {
+ 'body': // {{MenuAppUpdate}}
+};
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.updateMenuApp(catconfKey, opts, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class updateMenuAppExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenuappApi();
+ var cat = new menuCatConfKey(); // menuCatConfKey | Configuration key of Menu Category to work with
+ var confKey = new confKey(); // confKey | Configuration key of Menu Application that needs to be updated
+ var body = new MenuAppUpdate(); // MenuAppUpdate | (optional)
+
+ try
+ {
+ // Updates a Menu Application
+ apiInstance.updateMenuApp(cat, confKey, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenuappApi.updateMenuApp: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenuappApi();
+$cat = ; // menuCatConfKey | Configuration key of Menu Category to work with
+$confKey = ; // confKey | Configuration key of Menu Application that needs to be updated
+$body = ; // MenuAppUpdate |
+
+try {
+ $api_instance->updateMenuApp($cat, $confKey, $body);
+} catch (Exception $e) {
+ echo 'Exception when calling MenuappApi->updateMenuApp: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenuappApi;
+
+my $api_instance = WWW::SwaggerClient::MenuappApi->new();
+my $cat = ; # menuCatConfKey | Configuration key of Menu Category to work with
+my $confKey = ; # confKey | Configuration key of Menu Application that needs to be updated
+my $body = WWW::SwaggerClient::Object::MenuAppUpdate->new(); # MenuAppUpdate |
+
+eval {
+ $api_instance->updateMenuApp(cat => $cat, confKey => $confKey, body => $body);
+};
+if ($@) {
+ warn "Exception when calling MenuappApi->updateMenuApp: $@\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.MenuappApi()
+cat = # menuCatConfKey | Configuration key of Menu Category to work with
+confKey = # confKey | Configuration key of Menu Application that needs to be updated
+body = # MenuAppUpdate | (optional)
+
+try:
+ # Updates a Menu Application
+ api_instance.update_menu_app(cat, confKey, body=body)
+except ApiException as e:
+ print("Exception when calling MenuappApi->updateMenuApp: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
cat* | +
+
+
+
+
+
+
+
+
+ menuCatConfKey
+
+
+
+
+ Configuration key of Menu Category to work with
+
+
+ Required
+
+ |
+
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Application that needs to be updated
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body | ++ + + + + | +
Responses
+Status: 204 - Successful modification
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + +Status: 409 - The specified object could not be created because its configuration key, client_id or entityID already exists
+ + + ++
Menucat
+addMenuCat
+Create a new Menu Category
++
/api/v1/menu/cat
+ +
Usage and SDK Samples
+ + + +curl -X POST "/api/v1/api/v1/menu/cat"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenucatApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+
+ MenucatApi apiInstance = new MenucatApi();
+ MenuCat body = ; // MenuCat | Menu Category to add
+ try {
+ apiInstance.addMenuCat(body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#addMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenucatApi;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+ MenucatApi apiInstance = new MenucatApi();
+ MenuCat body = ; // MenuCat | Menu Category to add
+ try {
+ apiInstance.addMenuCat(body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#addMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ MenuCat *body = ; // Menu Category to add
+
+MenucatApi *apiInstance = [[MenucatApi alloc] init];
+
+// Create a new Menu Category
+[apiInstance addMenuCatWith:body
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenucatApi()
+var body = ; // {{MenuCat}} Menu Category to add
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.addMenuCat(body, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addMenuCatExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenucatApi();
+ var body = new MenuCat(); // MenuCat | Menu Category to add
+
+ try
+ {
+ // Create a new Menu Category
+ apiInstance.addMenuCat(body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenucatApi.addMenuCat: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenucatApi();
+$body = ; // MenuCat | Menu Category to add
+
+try {
+ $api_instance->addMenuCat($body);
+} catch (Exception $e) {
+ echo 'Exception when calling MenucatApi->addMenuCat: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenucatApi;
+
+my $api_instance = WWW::SwaggerClient::MenucatApi->new();
+my $body = WWW::SwaggerClient::Object::MenuCat->new(); # MenuCat | Menu Category to add
+
+eval {
+ $api_instance->addMenuCat(body => $body);
+};
+if ($@) {
+ warn "Exception when calling MenucatApi->addMenuCat: $@\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.MenucatApi()
+body = # MenuCat | Menu Category to add
+
+try:
+ # Create a new Menu Category
+ api_instance.add_menu_cat(body)
+except ApiException as e:
+ print("Exception when calling MenucatApi->addMenuCat: %s\n" % e)
+ Parameters
+ + + +Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 201 - Successful creation
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 409 - The specified object could not be created because its configuration key, client_id or entityID already exists
+ + + ++
deleteMenuCat
+Deletes a Menu Category
++
/api/v1/menu/cat/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X DELETE "/api/v1/api/v1/menu/cat/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenucatApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category to delete
+ try {
+ apiInstance.deleteMenuCat(confKey);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#deleteMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenucatApi;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category to delete
+ try {
+ apiInstance.deleteMenuCat(confKey);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#deleteMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ confKey *confKey = ; // Configuration key of Menu Category to delete
+
+MenucatApi *apiInstance = [[MenucatApi alloc] init];
+
+// Deletes a Menu Category
+[apiInstance deleteMenuCatWith:confKey
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenucatApi()
+var confKey = ; // {{confKey}} Configuration key of Menu Category to delete
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.deleteMenuCat(confKey, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class deleteMenuCatExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenucatApi();
+ var confKey = new confKey(); // confKey | Configuration key of Menu Category to delete
+
+ try
+ {
+ // Deletes a Menu Category
+ apiInstance.deleteMenuCat(confKey);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenucatApi.deleteMenuCat: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenucatApi();
+$confKey = ; // confKey | Configuration key of Menu Category to delete
+
+try {
+ $api_instance->deleteMenuCat($confKey);
+} catch (Exception $e) {
+ echo 'Exception when calling MenucatApi->deleteMenuCat: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenucatApi;
+
+my $api_instance = WWW::SwaggerClient::MenucatApi->new();
+my $confKey = ; # confKey | Configuration key of Menu Category to delete
+
+eval {
+ $api_instance->deleteMenuCat(confKey => $confKey);
+};
+if ($@) {
+ warn "Exception when calling MenucatApi->deleteMenuCat: $@\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.MenucatApi()
+confKey = # confKey | Configuration key of Menu Category to delete
+
+try:
+ # Deletes a Menu Category
+ api_instance.delete_menu_cat(confKey)
+except ApiException as e:
+ print("Exception when calling MenucatApi->deleteMenuCat: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Category to delete
+
+
+ Required
+
+ |
+
Responses
+Status: 204 - Successful modification
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + ++
findMenuCatByConfKey
+Finds Menu Categories by configuration key
+Takes a search pattern to be tested against existing categories
+ ++
/api/v1/menu/cat/findByConfKey
+ +
Usage and SDK Samples
+ + + +curl -X GET "/api/v1/api/v1/menu/cat/findByConfKey?pattern="
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenucatApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+
+ MenucatApi apiInstance = new MenucatApi();
+ String pattern = pattern_example; // String | Search pattern
+ try {
+ array[MenuCat] result = apiInstance.findMenuCatByConfKey(pattern);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#findMenuCatByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenucatApi;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+ MenucatApi apiInstance = new MenucatApi();
+ String pattern = pattern_example; // String | Search pattern
+ try {
+ array[MenuCat] result = apiInstance.findMenuCatByConfKey(pattern);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#findMenuCatByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ String *pattern = pattern_example; // Search pattern
+
+MenucatApi *apiInstance = [[MenucatApi alloc] init];
+
+// Finds Menu Categories by configuration key
+[apiInstance findMenuCatByConfKeyWith:pattern
+ completionHandler: ^(array[MenuCat] output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenucatApi()
+var pattern = pattern_example; // {{String}} Search pattern
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.findMenuCatByConfKey(pattern, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class findMenuCatByConfKeyExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenucatApi();
+ var pattern = pattern_example; // String | Search pattern
+
+ try
+ {
+ // Finds Menu Categories by configuration key
+ array[MenuCat] result = apiInstance.findMenuCatByConfKey(pattern);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenucatApi.findMenuCatByConfKey: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenucatApi();
+$pattern = pattern_example; // String | Search pattern
+
+try {
+ $result = $api_instance->findMenuCatByConfKey($pattern);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling MenucatApi->findMenuCatByConfKey: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenucatApi;
+
+my $api_instance = WWW::SwaggerClient::MenucatApi->new();
+my $pattern = pattern_example; # String | Search pattern
+
+eval {
+ my $result = $api_instance->findMenuCatByConfKey(pattern => $pattern);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling MenucatApi->findMenuCatByConfKey: $@\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.MenucatApi()
+pattern = pattern_example # String | Search pattern
+
+try:
+ # Finds Menu Categories by configuration key
+ api_response = api_instance.find_menu_cat_by_conf_key(pattern)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling MenucatApi->findMenuCatByConfKey: %s\n" % e)
+ Parameters
+ + + + + +Name | +Description | +
---|---|
pattern* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Search pattern
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - Return a list of Menu Categories
+ + + +Status: 400 - An error was encountered when processing the request
+ + + ++
getMenuCatByConfKey
+Get Menu Category by configuration key
+Returns a single Category
+ ++
/api/v1/menu/cat/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X GET "/api/v1/api/v1/menu/cat/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenucatApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category
+ try {
+ MenuCat result = apiInstance.getMenuCatByConfKey(confKey);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#getMenuCatByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenucatApi;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category
+ try {
+ MenuCat result = apiInstance.getMenuCatByConfKey(confKey);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#getMenuCatByConfKey");
+ e.printStackTrace();
+ }
+ }
+}
+ confKey *confKey = ; // Configuration key of Menu Category
+
+MenucatApi *apiInstance = [[MenucatApi alloc] init];
+
+// Get Menu Category by configuration key
+[apiInstance getMenuCatByConfKeyWith:confKey
+ completionHandler: ^(MenuCat output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenucatApi()
+var confKey = ; // {{confKey}} Configuration key of Menu Category
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getMenuCatByConfKey(confKey, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getMenuCatByConfKeyExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenucatApi();
+ var confKey = new confKey(); // confKey | Configuration key of Menu Category
+
+ try
+ {
+ // Get Menu Category by configuration key
+ MenuCat result = apiInstance.getMenuCatByConfKey(confKey);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenucatApi.getMenuCatByConfKey: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenucatApi();
+$confKey = ; // confKey | Configuration key of Menu Category
+
+try {
+ $result = $api_instance->getMenuCatByConfKey($confKey);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling MenucatApi->getMenuCatByConfKey: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenucatApi;
+
+my $api_instance = WWW::SwaggerClient::MenucatApi->new();
+my $confKey = ; # confKey | Configuration key of Menu Category
+
+eval {
+ my $result = $api_instance->getMenuCatByConfKey(confKey => $confKey);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling MenucatApi->getMenuCatByConfKey: $@\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.MenucatApi()
+confKey = # confKey | Configuration key of Menu Category
+
+try:
+ # Get Menu Category by configuration key
+ api_response = api_instance.get_menu_cat_by_conf_key(confKey)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling MenucatApi->getMenuCatByConfKey: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Category
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - Return a Menu Category
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + ++
replaceMenuCat
+Replaces a Menu Category
++
/api/v1/menu/cat/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X PUT "/api/v1/api/v1/menu/cat/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenucatApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category that needs to be replaced
+ MenuCat body = ; // MenuCat |
+ try {
+ apiInstance.replaceMenuCat(confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#replaceMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenucatApi;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category that needs to be replaced
+ MenuCat body = ; // MenuCat |
+ try {
+ apiInstance.replaceMenuCat(confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#replaceMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ confKey *confKey = ; // Configuration key of Menu Category that needs to be replaced
+MenuCat *body = ; // (optional)
+
+MenucatApi *apiInstance = [[MenucatApi alloc] init];
+
+// Replaces a Menu Category
+[apiInstance replaceMenuCatWith:confKey
+ body:body
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenucatApi()
+var confKey = ; // {{confKey}} Configuration key of Menu Category that needs to be replaced
+var opts = {
+ 'body': // {{MenuCat}}
+};
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.replaceMenuCat(confKey, opts, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class replaceMenuCatExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenucatApi();
+ var confKey = new confKey(); // confKey | Configuration key of Menu Category that needs to be replaced
+ var body = new MenuCat(); // MenuCat | (optional)
+
+ try
+ {
+ // Replaces a Menu Category
+ apiInstance.replaceMenuCat(confKey, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenucatApi.replaceMenuCat: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenucatApi();
+$confKey = ; // confKey | Configuration key of Menu Category that needs to be replaced
+$body = ; // MenuCat |
+
+try {
+ $api_instance->replaceMenuCat($confKey, $body);
+} catch (Exception $e) {
+ echo 'Exception when calling MenucatApi->replaceMenuCat: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenucatApi;
+
+my $api_instance = WWW::SwaggerClient::MenucatApi->new();
+my $confKey = ; # confKey | Configuration key of Menu Category that needs to be replaced
+my $body = WWW::SwaggerClient::Object::MenuCat->new(); # MenuCat |
+
+eval {
+ $api_instance->replaceMenuCat(confKey => $confKey, body => $body);
+};
+if ($@) {
+ warn "Exception when calling MenucatApi->replaceMenuCat: $@\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.MenucatApi()
+confKey = # confKey | Configuration key of Menu Category that needs to be replaced
+body = # MenuCat | (optional)
+
+try:
+ # Replaces a Menu Category
+ api_instance.replace_menu_cat(confKey, body=body)
+except ApiException as e:
+ print("Exception when calling MenucatApi->replaceMenuCat: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Category that needs to be replaced
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body | ++ + + + + | +
Responses
+Status: 204 - Successful modification
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + +Status: 409 - The specified object could not be created because its configuration key, client_id or entityID already exists
+ + + ++
updateMenuCat
+Updates a Menu Category
++
/api/v1/menu/cat/{confKey}
+ +
Usage and SDK Samples
+ + + +curl -X PATCH "/api/v1/api/v1/menu/cat/{confKey}"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.MenucatApi;
+
+import java.io.File;
+import java.util.*;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category that needs to be updated
+ MenuCatUpdate body = ; // MenuCatUpdate |
+ try {
+ apiInstance.updateMenuCat(confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#updateMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.MenucatApi;
+
+public class MenucatApiExample {
+
+ public static void main(String[] args) {
+ MenucatApi apiInstance = new MenucatApi();
+ confKey confKey = ; // confKey | Configuration key of Menu Category that needs to be updated
+ MenuCatUpdate body = ; // MenuCatUpdate |
+ try {
+ apiInstance.updateMenuCat(confKey, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling MenucatApi#updateMenuCat");
+ e.printStackTrace();
+ }
+ }
+}
+ confKey *confKey = ; // Configuration key of Menu Category that needs to be updated
+MenuCatUpdate *body = ; // (optional)
+
+MenucatApi *apiInstance = [[MenucatApi alloc] init];
+
+// Updates a Menu Category
+[apiInstance updateMenuCatWith:confKey
+ body:body
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var LemonLdapngManagerApi = require('lemon_ldapng_manager_api');
+
+var api = new LemonLdapngManagerApi.MenucatApi()
+var confKey = ; // {{confKey}} Configuration key of Menu Category that needs to be updated
+var opts = {
+ 'body': // {{MenuCatUpdate}}
+};
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.updateMenuCat(confKey, opts, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class updateMenuCatExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new MenucatApi();
+ var confKey = new confKey(); // confKey | Configuration key of Menu Category that needs to be updated
+ var body = new MenuCatUpdate(); // MenuCatUpdate | (optional)
+
+ try
+ {
+ // Updates a Menu Category
+ apiInstance.updateMenuCat(confKey, body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling MenucatApi.updateMenuCat: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiMenucatApi();
+$confKey = ; // confKey | Configuration key of Menu Category that needs to be updated
+$body = ; // MenuCatUpdate |
+
+try {
+ $api_instance->updateMenuCat($confKey, $body);
+} catch (Exception $e) {
+ echo 'Exception when calling MenucatApi->updateMenuCat: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::MenucatApi;
+
+my $api_instance = WWW::SwaggerClient::MenucatApi->new();
+my $confKey = ; # confKey | Configuration key of Menu Category that needs to be updated
+my $body = WWW::SwaggerClient::Object::MenuCatUpdate->new(); # MenuCatUpdate |
+
+eval {
+ $api_instance->updateMenuCat(confKey => $confKey, body => $body);
+};
+if ($@) {
+ warn "Exception when calling MenucatApi->updateMenuCat: $@\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.MenucatApi()
+confKey = # confKey | Configuration key of Menu Category that needs to be updated
+body = # MenuCatUpdate | (optional)
+
+try:
+ # Updates a Menu Category
+ api_instance.update_menu_cat(confKey, body=body)
+except ApiException as e:
+ print("Exception when calling MenucatApi->updateMenuCat: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
confKey* | +
+
+
+
+
+
+
+
+
+ confKey
+
+
+
+
+ Configuration key of Menu Category that needs to be updated
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body | ++ + + + + | +
Responses
+Status: 204 - Successful modification
+ + + +Status: 400 - An error was encountered when processing the request
+ + + +Status: 404 - The specified resource was not found
+ + + +Status: 409 - The specified object could not be created because its configuration key, client_id or entityID already exists
+ + + ++