All URIs are relative to https://localhost/api/v5
| Method | HTTP request | Description |
|---|---|---|
| AddElement | POST /megamenus/menu/{mid}/{page}/{y}/{x} | Add element |
| CloseRenderer | DELETE /megamenus/render/{mid}/{viewer} | Close renderer |
| CreateMenu | POST /megamenus/menu | Create menu |
| CreateRenderer | POST /megamenus/render/{mid} | Create menu |
| DeleteElement | DELETE /megamenus/menu/{mid}/{page}/{y}/{x} | Delete menu |
| DeleteMenu | DELETE /megamenus/menu/{mid} | Delete menu |
| DeletePage | DELETE /megamenus/menu/{mid}/{page} | Delete a page of elements |
| DeleteRenderer | DELETE /megamenus/renderer/{mid} | Delete menu |
| FindRenderer | GET /megamenus/render/find/{viewer} | Get the renderer for viewer |
| GetElement | GET /megamenus/menu/{mid}/{page}/{y}/{x} | Get menu |
| GetMenu | GET /megamenus/menu/{mid} | Get menu |
| GetPage | GET /megamenus/menu/{mid}/{page} | Reads a single page of elements |
| GetRenderer | GET /megamenus/render/{mid} | Get the renderer for this menu |
| ListMenus | GET /megamenus/menu | List menus |
| ListRenderer | GET /megamenus/render | List renderer |
| OpenRenderer | PUT /megamenus/render/{mid}/{viewer} | Open renderer |
| SetElement | PUT /megamenus/menu/{mid}/{page}/{y}/{x} | Update menu |
| SetMenu | PUT /megamenus/menu/{mid} | Update menu |
MegaMenusElement AddElement (Guid? mid, int? page, int? y, int? x, MegaMenusElement body = null, bool? details = null, string accept = null, bool? pretty = null)
Add element
Adds an element to the menu Required permissions: - megamenus.megamenus.menu.edit
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class AddElementExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var page = 56; // int? |
var y = 56; // int? |
var x = 56; // int? |
var body = new MegaMenusElement(); // MegaMenusElement | (optional)
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Add element
MegaMenusElement result = apiInstance.AddElement(mid, page, y, x, body, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.AddElement: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| page | int? | ||
| y | int? | ||
| x | int? | ||
| body | MegaMenusElement | [optional] | |
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusRenderer CloseRenderer (Guid? mid, Guid? viewer, bool? details = null, string accept = null, bool? pretty = null)
Close renderer
Close the renderer for this viewer Required permissions: - megamenus.megamenus.renderer.close
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CloseRendererExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var viewer = new Guid?(); // Guid? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Close renderer
MegaMenusRenderer result = apiInstance.CloseRenderer(mid, viewer, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.CloseRenderer: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| viewer | Guid? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MenuMenusMenu CreateMenu (MenuMenusMenu body = null, bool? details = null, string accept = null, bool? pretty = null)
Create menu
Creates a new menu Required permissions: - megamenus.megamenus.menu.create
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateMenuExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var body = new MenuMenusMenu(); // MenuMenusMenu | (optional)
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Create menu
MenuMenusMenu result = apiInstance.CreateMenu(body, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.CreateMenu: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | MenuMenusMenu | [optional] | |
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusRenderer CreateRenderer (Guid? mid, MegaMenusRenderer body = null, bool? details = null, string accept = null, bool? pretty = null)
Create menu
Creates a new menu Required permissions: - megamenus.megamenus.renderer.create
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateRendererExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var body = new MegaMenusRenderer(); // MegaMenusRenderer | (optional)
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Create menu
MegaMenusRenderer result = apiInstance.CreateRenderer(mid, body, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.CreateRenderer: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| body | MegaMenusRenderer | [optional] | |
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusElement DeleteElement (Guid? mid, int? page, int? x, int? y, bool? details = null, string accept = null, bool? pretty = null)
Delete menu
Deletes a menu element Required permissions: - megamenus.megamenus.menu.edit
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class DeleteElementExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var page = 56; // int? |
var x = 56; // int? |
var y = 56; // int? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Delete menu
MegaMenusElement result = apiInstance.DeleteElement(mid, page, x, y, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.DeleteElement: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| page | int? | ||
| x | int? | ||
| y | int? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MenuMenusMenu DeleteMenu (Guid? mid, bool? details = null, string accept = null, bool? pretty = null)
Delete menu
Deletes a menu Required permissions: - megamenus.megamenus.menu.delete
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class DeleteMenuExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Delete menu
MenuMenusMenu result = apiInstance.DeleteMenu(mid, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.DeleteMenu: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MenuMenusMenu DeletePage (Guid? mid, int? page, bool? details = null, string accept = null, bool? pretty = null)
Delete a page of elements
**Required permissions:** - **megamenus.megamenus.menu.delete**
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class DeletePageExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var page = 56; // int? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Delete a page of elements
MenuMenusMenu result = apiInstance.DeletePage(mid, page, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.DeletePage: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| page | int? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusRenderer DeleteRenderer (Guid? mid, bool? details = null, string accept = null, bool? pretty = null)
Delete menu
Closes this renderer for all currently active viewers Required permissions: - megamenus.megamenus.renderer.close
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class DeleteRendererExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Delete menu
MegaMenusRenderer result = apiInstance.DeleteRenderer(mid, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.DeleteRenderer: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusRenderer FindRenderer (Guid? viewer, bool? details = null, string accept = null, bool? pretty = null)
Get the renderer for viewer
Returns the renderer the viewer is currently subject to Required permissions: - megamenus.megamenus.renderer.get
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class FindRendererExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var viewer = new Guid?(); // Guid? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Get the renderer for viewer
MegaMenusRenderer result = apiInstance.FindRenderer(viewer, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.FindRenderer: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| viewer | Guid? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusElement GetElement (Guid? mid, int? page, int? x, int? y, bool? details = null, string accept = null, bool? pretty = null)
Get menu
Read a menu with all elements Required permissions: - megamenus.megamenus.menu.edit
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetElementExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var page = 56; // int? |
var x = 56; // int? |
var y = 56; // int? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Get menu
MegaMenusElement result = apiInstance.GetElement(mid, page, x, y, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.GetElement: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| page | int? | ||
| x | int? | ||
| y | int? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MenuMenusMenu GetMenu (Guid? mid, bool? details = null, string accept = null, bool? pretty = null)
Get menu
Read a menu with all elements Required permissions: - megamenus.megamenus.menu.get
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetMenuExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Get menu
MenuMenusMenu result = apiInstance.GetMenu(mid, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.GetMenu: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List GetPage (Guid? mid, int? page, bool? details = null, string accept = null, bool? pretty = null)
Reads a single page of elements
**Required permissions:** - **megamenus.megamenus.menu.get**
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetPageExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var page = 56; // int? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Reads a single page of elements
List<MegaMenusElement> result = apiInstance.GetPage(mid, page, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.GetPage: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| page | int? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusRenderer GetRenderer (Guid? mid, bool? details = null, string accept = null, bool? pretty = null)
Get the renderer for this menu
**Required permissions:** - **megamenus.megamenus.renderer.get**
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetRendererExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Get the renderer for this menu
MegaMenusRenderer result = apiInstance.GetRenderer(mid, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.GetRenderer: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List ListMenus (bool? details = null, string accept = null, bool? pretty = null)
List menus
Returns a list of all menus Required permissions: - megamenus.megamenus.menu.list
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ListMenusExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// List menus
List<MenuMenusMenu> result = apiInstance.ListMenus(details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.ListMenus: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List ListRenderer (bool? details = null, string accept = null, bool? pretty = null)
List renderer
Returns a list of all renderer for menus created with WebAPI Required permissions: - megamenus.megamenus.renderer.list
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ListRendererExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// List renderer
List<MegaMenusRenderer> result = apiInstance.ListRenderer(details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.ListRenderer: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusRenderer OpenRenderer (Guid? mid, Guid? viewer, bool? details = null, string accept = null, bool? pretty = null)
Open renderer
Opens the renderer to viewer, effectively opening the menu Required permissions: - megamenus.megamenus.renderer.open
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class OpenRendererExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var viewer = new Guid?(); // Guid? |
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Open renderer
MegaMenusRenderer result = apiInstance.OpenRenderer(mid, viewer, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.OpenRenderer: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| viewer | Guid? | ||
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MegaMenusElement SetElement (Guid? mid, int? page, int? x, int? y, MegaMenusElement body = null, bool? details = null, string accept = null, bool? pretty = null)
Update menu
Update a menu element Required permissions: - megamenus.megamenus.menu.edit
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SetElementExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var page = 56; // int? |
var x = 56; // int? |
var y = 56; // int? |
var body = new MegaMenusElement(); // MegaMenusElement | (optional)
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Update menu
MegaMenusElement result = apiInstance.SetElement(mid, page, x, y, body, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.SetElement: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| page | int? | ||
| x | int? | ||
| y | int? | ||
| body | MegaMenusElement | [optional] | |
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MenuMenusMenu SetMenu (Guid? mid, MenuMenusMenu body = null, bool? details = null, string accept = null, bool? pretty = null)
Update menu
This will only update the title, elements have to be addressed through the respective endpoints Required permissions: - megamenus.megamenus.menu.update
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SetMenuExample
{
public void main()
{
// Configure API key authorization: ApiKeyHeader
Configuration.Default.AddApiKey("X-WebAPI-Key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("X-WebAPI-Key", "Bearer");
// Configure API key authorization: ApiKeyQuery
Configuration.Default.AddApiKey("key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("key", "Bearer");
var apiInstance = new MenuApi();
var mid = new Guid?(); // Guid? |
var body = new MenuMenusMenu(); // MenuMenusMenu | (optional)
var details = true; // bool? | Add to include additional details, omit or false otherwise (optional)
var accept = accept_example; // string | Override the 'Accept' request header (useful for debugging your requests) (optional)
var pretty = true; // bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) (optional)
try
{
// Update menu
MenuMenusMenu result = apiInstance.SetMenu(mid, body, details, accept, pretty);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MenuApi.SetMenu: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| mid | Guid? | ||
| body | MenuMenusMenu | [optional] | |
| details | bool? | Add to include additional details, omit or false otherwise | [optional] |
| accept | string | Override the 'Accept' request header (useful for debugging your requests) | [optional] |
| pretty | bool? | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]