/meraki-node-sdk

Node SDK generated from the Cisco Meraki API OpenAPI specification via APImatic. - Dev Only

Primary LanguageJavaScriptOtherNOASSERTION

Getting started

The Cisco Meraki Dashboard API is a modern REST API based on the OpenAPI specification.

What can the API be used for?

The Dashboard API can be used for many purposes. It’s meant to be an open-ended tool. Here are some examples of use cases:

  • Add new organizations, admins, networks, devices, VLANs, and more
  • Configure networks at scale
  • Automatically on-board and off-board new employees’ teleworker setups
  • Build your own dashboard for store managers, field techs, or unique use cases

Enabling the Dashboard API

  1. Begin by logging into Meraki Dashboard and navigating to Organization > Settings

  2. Locate the section titled Dashboard API access and select Enable Access, then Save your changes

  3. After enabling the API, choose your username at the top-right of the Meraki Dashboard and select my profile

  4. Locate the section titled Dashboard API access and select Generate new API key

Note: The API key is associated with a Dashboard administrator account. You can generate, revoke, and regenerate your API key on your profile.

Keep your API key safe as it provides authentication to all of your organizations with the API enabled. If your API key is shared, you can regenerate your API key at any time. This will revoke the existing API key.

Copy and store your API key in a safe place. Dashboard does not store API keys in plaintext for security reasons, so this is the only time you will be able to record it. If you lose or forget your API key, you will have to revoke it and generate a new one.

Every request must specify an API key via a request header.

The API key must be specified in the URL header. The API will return a 404 (rather than a 403) in response to a request with a missing or incorrect API key in order to prevent leaking the existence of resources to unauthorized users.

X-Cisco-Meraki-API-Key: <secret key>

Read more about API authorization

Versioning

Once an API version is released, we will make only backwards-compatible changes to it. Backwards-compatible changes include:

  • Adding new API resources

  • Adding new optional request parameters to existing API methods

  • Adding new properties to existing API responses

  • Changing the order of properties in existing API responses

Rate Limit

  • The Dashboard API is limited to 5 calls per second, per organization.
  • A burst of 5 additional calls are allowed in the first second, so a maximum of 15 calls in the first 2 seconds.
  • The rate limiting technique is based off of the token bucket model.
  • An error with a 429 status code will be returned when the rate limit has been exceeded.
  • Expect to backoff for 1 - 2 seconds if the limit has been exceeded. You may have to wait potentially longer if a large number of requests were made within this timeframe.

Additional Details

Identifiers in the API are opaque strings. A {networkId}, for example, might be the string “126043”, whereas an {orderId} might contain characters, such as “4S1234567”. Client applications must not try to parse them as numbers. Even identifiers that look like numbers might be too long to encode without loss of precision in Javascript, where the only numeric type is IEEE 754 floating point.

Verbs in the API follow the usual REST conventions:

GET returns the value of a resource or a list of resources, depending on whether an identifier is specified. For example, a GET of /v0/organizations returns a list of organizations, whereas a GET of /v0/organizations/{organizationId} returns a particular organization.

POST adds a new resource, as in a POST to /v0/organizations/{organizationId}/admins, or performs some other non-idempotent change.

PUT updates a resource. PUTs are idempotent; they update a resource, creating it first if it does not already exist. A PUT should specify all the fields of a resource; the API will revert omitted fields to their default value.

DELETE removes a resource.

How to Build

The generated SDK relies on Node Package Manager (NPM) being available to resolve dependencies. If you don't already have NPM installed, please go ahead and follow instructions to install NPM from here. The SDK also requires Node to be installed. If Node isn't already installed, please install it from here

NPM is installed by default when Node is installed

To check if node and npm have been successfully installed, write the following commands in command prompt:

  • node --version
  • npm -version

Version Check

Now use npm to resolve all dependencies by running the following command in the root directory (of the SDK folder):

npm install

Resolve Dependencies

Resolve Dependencies

This will install all dependencies in the node_modules folder.

Once dependencies are resolved, you will need to move the folder Meraki in to your node_modules folder.

How to Use

The following section explains how to use the library in a new project.

1. Open Project Folder

Open an IDE/Text Editor for JavaScript like Sublime Text. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.

Click on File and select Open Folder.

Open Folder

Select the folder of your SDK and click on Select Folder to open it up in Sublime Text. The folder will become visible in the bar on the left.

Open Project

2. Creating a Test File

Now right click on the folder name and select the New File option to create a new test file. Save it as index.js Now import the generated NodeJS library using the following lines of code:

var lib = require('lib');

Save changes.

Create new file

Save new file

3. Running The Test File

To run the index.js file, open up the command prompt and navigate to the Path where the SDK folder resides. Type the following command to run the file:

node index.js

Run file

How to Test

These tests use Mocha framework for testing, coupled with Chai for assertions. These dependencies need to be installed for tests to run. Tests can be run in a number of ways:

Method 1 (Run all tests)

  1. Navigate to the root directory of the SDK folder from command prompt.
  2. Type mocha --recursive to run all the tests.

Method 2 (Run all tests)

  1. Navigate to the ../test/Controllers/ directory from command prompt.
  2. Type mocha * to run all the tests.

Method 3 (Run specific controller's tests)

  1. Navigate to the ../test/Controllers/ directory from command prompt.
  2. Type mocha Meraki Dashboard APIController to run all the tests in that controller file.

To increase mocha's default timeout, you can change the TEST_TIMEOUT parameter's value in TestBootstrap.js.

Run Tests

Initialization

Authentication

In order to setup authentication in the API client, you need the following information.

Parameter Description
xCiscoMerakiAPIKey Demo DevNet Sandbox

API client can be initialized as following:

const lib = require('lib');

// Configuration parameters and credentials
lib.Configuration.xCiscoMerakiAPIKey = "15da0c6ffff295f16267f88f98694cf29a86ed87"; // Demo DevNet Sandbox

Class Reference

List of Controllers

Class: OrganizationsController

Get singleton instance

The singleton instance of the OrganizationsController class can be accessed from the API Client.

var controller = lib.OrganizationsController;

Method: getOrganizations

List the organizations that the user has privileges on

function getOrganizations(callback)

Example Usage

    controller.getOrganizations(function(error, response, context) {

    
    });

Method: updateOrganizationThirdPartyVPNPeers

Update the third party VPN peers for an organization

function updateOrganizationThirdPartyVPNPeers(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
updateOrganizationThirdPartyVPNPeers Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationThirdPartyVPNPeers'] = new UpdateOrganizationThirdPartyVPNPeersModel({"key":"value"});

    controller.updateOrganizationThirdPartyVPNPeers(input, function(error, response, context) {

    
    });

Method: getOrganizationThirdPartyVPNPeers

Return the third party VPN peers for an organization

function getOrganizationThirdPartyVPNPeers(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationThirdPartyVPNPeers(organizationId, function(error, response, context) {

    
    });

Method: getOrganizationUplinksLossAndLatency

Return the uplink loss and latency for every MX in the organization from at latest 2 minutes ago

function getOrganizationUplinksLossAndLatency(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 5 minutes after t0. The latest possible time that t1 can be is 2 minutes into the past.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 5 minutes. The default is 5 minutes.
uplink Optional Optional filter for a specific WAN uplink. Valid uplinks are wan1, wan2, cellular. Default will return all uplinks.
ip Optional Optional filter for a specific destination IP. Default will return all destination IPs.

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['uplink'] = 'uplink';
        input['ip'] = 'ip';

    controller.getOrganizationUplinksLossAndLatency(input, function(error, response, context) {

    
    });

Method: claimOrganization

Claim a device, license key, or order into an organization. When claiming by order, all devices and licenses in the order will be claimed; licenses will be added to the organization and devices will be placed in the organization's inventory. These three types of claims are mutually exclusive and cannot be performed in one request.

function claimOrganization(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
claimOrganization Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['claimOrganization'] = new ClaimOrganizationModel({"key":"value"});

    controller.claimOrganization(input, function(error, response, context) {

    
    });

Method: getOrganizationDeviceStatuses

List the status of every Meraki device in the organization

function getOrganizationDeviceStatuses(id, callback)

Parameters

Parameter Tags Description
id Required TODO: Add a parameter description

Example Usage

    var id = 'id';

    controller.getOrganizationDeviceStatuses(id, function(error, response, context) {

    
    });

Method: getOrganizationInventory

Return the inventory for an organization

function getOrganizationInventory(id, callback)

Parameters

Parameter Tags Description
id Required TODO: Add a parameter description

Example Usage

    var id = 'id';

    controller.getOrganizationInventory(id, function(error, response, context) {

    
    });

Method: getOrganizationLicenseState

Return the license state for an organization

function getOrganizationLicenseState(id, callback)

Parameters

Parameter Tags Description
id Required TODO: Add a parameter description

Example Usage

    var id = 'id';

    controller.getOrganizationLicenseState(id, function(error, response, context) {

    
    });

Method: cloneOrganization

Create a new organization by cloning the addressed organization

function cloneOrganization(input, callback)

Parameters

Parameter Tags Description
id Required TODO: Add a parameter description
cloneOrganization Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['id'] = 'id';
        input['cloneOrganization'] = new CloneOrganizationModel({"key":"value"});

    controller.cloneOrganization(input, function(error, response, context) {

    
    });

Method: updateOrganization

Update an organization

function updateOrganization(input, callback)

Parameters

Parameter Tags Description
id Required TODO: Add a parameter description
updateOrganization Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['id'] = 'id';
        input['updateOrganization'] = new UpdateOrganizationModel({"key":"value"});

    controller.updateOrganization(input, function(error, response, context) {

    
    });

Method: getOrganization

Return an organization

function getOrganization(id, callback)

Parameters

Parameter Tags Description
id Required TODO: Add a parameter description

Example Usage

    var id = 'id';

    controller.getOrganization(id, function(error, response, context) {

    
    });

Method: createOrganization

Create a new organization

function createOrganization(createOrganization, callback)

Parameters

Parameter Tags Description
createOrganization Optional TODO: Add a parameter description

Example Usage

    var createOrganization = new CreateOrganizationModel({"key":"value"});

    controller.createOrganization(createOrganization, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MX1ManyNATRulesController

Get singleton instance

The singleton instance of the MX1ManyNATRulesController class can be accessed from the API Client.

var controller = lib.MX1ManyNATRulesController;

Method: updateNetworkOneToManyNatRules

Set the 1:Many NAT mapping rules for an MX network

function updateNetworkOneToManyNatRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkOneToManyNatRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkOneToManyNatRules'] = new UpdateNetworkOneToManyNatRulesModel({"key":"value"});

    controller.updateNetworkOneToManyNatRules(input, function(error, response, context) {

    
    });

Method: getNetworkOneToManyNatRules

Return the 1:Many NAT mapping rules for an MX network

function getNetworkOneToManyNatRules(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkOneToManyNatRules(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: FirewalledServicesController

Get singleton instance

The singleton instance of the FirewalledServicesController class can be accessed from the API Client.

var controller = lib.FirewalledServicesController;

Method: updateNetworkFirewalledService

Updates the accessibility settings for the given service ('ICMP', 'web', or 'SNMP')

function updateNetworkFirewalledService(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
service Required TODO: Add a parameter description
updateNetworkFirewalledService Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['service'] = 'service';
        input['updateNetworkFirewalledService'] = new UpdateNetworkFirewalledServiceModel({"key":"value"});

    controller.updateNetworkFirewalledService(input, function(error, response, context) {

    
    });

Method: getNetworkFirewalledService

Return the accessibility settings of the given service ('ICMP', 'web', or 'SNMP')

function getNetworkFirewalledService(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
service Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['service'] = 'service';

    controller.getNetworkFirewalledService(input, function(error, response, context) {

    
    });

Method: getNetworkFirewalledServices

List the appliance services and their accessibility rules

function getNetworkFirewalledServices(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkFirewalledServices(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: TrafficShapingController

Get singleton instance

The singleton instance of the TrafficShapingController class can be accessed from the API Client.

var controller = lib.TrafficShapingController;

Method: getNetworkSsidTrafficShaping

Display the traffic shaping settings for a SSID on an MR network

function getNetworkSsidTrafficShaping(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetworkSsidTrafficShaping(input, function(error, response, context) {

    
    });

Method: updateNetworkSsidTrafficShaping

Update the traffic shaping settings for an SSID on an MR network

function updateNetworkSsidTrafficShaping(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description
updateNetworkSsidTrafficShaping Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetworkSsidTrafficShaping'] = new UpdateNetworkSsidTrafficShapingModel({"key":"value"});

    controller.updateNetworkSsidTrafficShaping(input, function(error, response, context) {

    
    });

Method: getNetworkTrafficShaping

Display the traffic shaping settings for an MX network

function getNetworkTrafficShaping(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkTrafficShaping(networkId, function(error, response, context) {

    
    });

Method: updateNetworkTrafficShaping

Update the traffic shaping settings for an MX network

function updateNetworkTrafficShaping(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkTrafficShaping Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkTrafficShaping'] = new UpdateNetworkTrafficShapingModel({"key":"value"});

    controller.updateNetworkTrafficShaping(input, function(error, response, context) {

    
    });

Method: getNetworkTrafficShapingApplicationCategories

Returns the application categories for traffic shaping rules.

function getNetworkTrafficShapingApplicationCategories(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkTrafficShapingApplicationCategories(networkId, function(error, response, context) {

    
    });

Method: getNetworkTrafficShapingDscpTaggingOptions

Returns the available DSCP tagging options for your traffic shaping rules.

function getNetworkTrafficShapingDscpTaggingOptions(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkTrafficShapingDscpTaggingOptions(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: WirelessHealthController

Get singleton instance

The singleton instance of the WirelessHealthController class can be accessed from the API Client.

var controller = lib.WirelessHealthController;

Method: getNetworkClientConnectionStats

Aggregated connectivity info for a given client on this network. Clients are identified by their MAC.

function getNetworkClientConnectionStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';

    controller.getNetworkClientConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkLatencyStats

Aggregated latency info for this network

function getNetworkLatencyStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag
fields Optional Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkDevicesLatencyStats

Aggregated latency info for this network, grouped by node

function getNetworkDevicesLatencyStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag
fields Optional Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkDevicesLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceLatencyStats

Aggregated latency info for a given AP on this network

function getNetworkDeviceLatencyStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag
fields Optional Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkDeviceLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkClientsLatencyStats

Aggregated latency info for this network, grouped by clients

function getNetworkClientsLatencyStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag
fields Optional Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkClientsLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkClientLatencyStats

Aggregated latency info for a given client on this network. Clients are identified by their MAC.

function getNetworkClientLatencyStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag
fields Optional Partial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkClientLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkFailedConnections

List of all failed client connection events on this network in a given time range

function getNetworkFailedConnections(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag
serial Optional Filter by AP
clientId Optional Filter by client MAC

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';
        input['serial'] = 'serial';
        input['clientId'] = 'clientId';

    controller.getNetworkFailedConnections(input, function(error, response, context) {

    
    });

Method: getNetworkClientsConnectionStats

Aggregated connectivity info for this network, grouped by clients

function getNetworkClientsConnectionStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';

    controller.getNetworkClientsConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceConnectionStats

Aggregated connectivity info for a given AP on this network

function getNetworkDeviceConnectionStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';

    controller.getNetworkDeviceConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkDevicesConnectionStats

Aggregated connectivity info for this network, grouped by node

function getNetworkDevicesConnectionStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';

    controller.getNetworkDevicesConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkConnectionStats

Aggregated connectivity info for this network

function getNetworkConnectionStats(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssid Optional Filter results by SSID
vlan Optional Filter results by VLAN
apTag Optional Filter results by AP Tag

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['ssid'] = 168;
        input['vlan'] = 168;
        input['apTag'] = 'apTag';

    controller.getNetworkConnectionStats(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: AlertSettingsController

Get singleton instance

The singleton instance of the AlertSettingsController class can be accessed from the API Client.

var controller = lib.AlertSettingsController;

Method: getNetworkAlertSettings

Return the alert configuration for this network

function getNetworkAlertSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkAlertSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkAlertSettings

Update the alert configuration for this network

function updateNetworkAlertSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkAlertSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkAlertSettings'] = new UpdateNetworkAlertSettingsModel({"key":"value"});

    controller.updateNetworkAlertSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: AdminsController

Get singleton instance

The singleton instance of the AdminsController class can be accessed from the API Client.

var controller = lib.AdminsController;

Method: deleteOrganizationAdmin

Revoke all access for a dashboard administrator within this organization

function deleteOrganizationAdmin(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.deleteOrganizationAdmin(input, function(error, response, context) {

    
    });

Method: createOrganizationAdmin

Create a new dashboard administrator

function createOrganizationAdmin(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
createOrganizationAdmin Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationAdmin'] = new CreateOrganizationAdminModel({"key":"value"});

    controller.createOrganizationAdmin(input, function(error, response, context) {

    
    });

Method: getOrganizationAdmins

List the dashboard administrators in this organization

function getOrganizationAdmins(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationAdmins(organizationId, function(error, response, context) {

    
    });

Method: updateOrganizationAdmin

Update an administrator

function updateOrganizationAdmin(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
updateOrganizationAdmin Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';
        input['updateOrganizationAdmin'] = new UpdateOrganizationAdminModel({"key":"value"});

    controller.updateOrganizationAdmin(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ActionBatchesController

Get singleton instance

The singleton instance of the ActionBatchesController class can be accessed from the API Client.

var controller = lib.ActionBatchesController;

Method: deleteOrganizationActionBatch

Delete an action batch

function deleteOrganizationActionBatch(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.deleteOrganizationActionBatch(input, function(error, response, context) {

    
    });

Method: getOrganizationActionBatch

Return an action batch

function getOrganizationActionBatch(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.getOrganizationActionBatch(input, function(error, response, context) {

    
    });

Method: getOrganizationActionBatches

Return the list of action batches in the organization

function getOrganizationActionBatches(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationActionBatches(organizationId, function(error, response, context) {

    
    });

Method: createOrganizationActionBatch

Create an action batch

function createOrganizationActionBatch(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
createOrganizationActionBatch Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationActionBatch'] = new CreateOrganizationActionBatchModel({"key":"value"});

    controller.createOrganizationActionBatch(input, function(error, response, context) {

    
    });

Method: updateOrganizationActionBatch

Update an action batch

function updateOrganizationActionBatch(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
updateOrganizationActionBatch Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';
        input['updateOrganizationActionBatch'] = new UpdateOrganizationActionBatchModel({"key":"value"});

    controller.updateOrganizationActionBatch(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchPortsController

Get singleton instance

The singleton instance of the SwitchPortsController class can be accessed from the API Client.

var controller = lib.SwitchPortsController;

Method: updateDeviceSwitchPort

Update a switch port

function updateDeviceSwitchPort(input, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description
number Required TODO: Add a parameter description
updateDeviceSwitchPort Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['serial'] = 'serial';
        input['number'] = 'number';
        input['updateDeviceSwitchPort'] = new UpdateDeviceSwitchPortModel({"key":"value"});

    controller.updateDeviceSwitchPort(input, function(error, response, context) {

    
    });

Method: getDeviceSwitchPort

Return a switch port

function getDeviceSwitchPort(input, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description
number Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['serial'] = 'serial';
        input['number'] = 'number';

    controller.getDeviceSwitchPort(input, function(error, response, context) {

    
    });

Method: getDeviceSwitchPorts

List the switch ports for a switch

function getDeviceSwitchPorts(serial, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description

Example Usage

    var serial = 'serial';

    controller.getDeviceSwitchPorts(serial, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SsidsController

Get singleton instance

The singleton instance of the SsidsController class can be accessed from the API Client.

var controller = lib.SsidsController;

Method: updateNetworkSsid

Update the attributes of an SSID

function updateNetworkSsid(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description
updateNetworkSsid Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetworkSsid'] = new UpdateNetworkSsidModel({"key":"value"});

    controller.updateNetworkSsid(input, function(error, response, context) {

    
    });

Method: getNetworkSsid

Return a single SSID

function getNetworkSsid(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetworkSsid(input, function(error, response, context) {

    
    });

Method: getNetwork_ssids

List the SSIDs in a network. Supports networks with access points or wireless-enabled security appliances and teleworker gateways.

function getNetwork_ssids(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetwork_ssids(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SplashSettingsController

Get singleton instance

The singleton instance of the SplashSettingsController class can be accessed from the API Client.

var controller = lib.SplashSettingsController;

Method: updateNetwork_ssids_PlashSettings

Modify the splash page settings for the given SSID

function updateNetwork_ssids_PlashSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description
updateNetwork_ssids_PlashSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetwork_ssids_PlashSettings'] = new UpdateNetworkSsidsPlashSettingsModel({"key":"value"});

    controller.updateNetwork_ssids_PlashSettings(input, function(error, response, context) {

    
    });

Method: getNetwork_ssids_PlashSettings

Display the splash page settings for the given SSID

function getNetwork_ssids_PlashSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetwork_ssids_PlashSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SplashLoginAttemptsController

Get singleton instance

The singleton instance of the SplashLoginAttemptsController class can be accessed from the API Client.

var controller = lib.SplashLoginAttemptsController;

Method: getNetworkSplashLoginAttempts

List the splash login attempts for a network

function getNetworkSplashLoginAttempts(input, callback)

Parameters

Parameter Tags Description
id Required TODO: Add a parameter description
ssidNumber Optional Only return the login attempts for the specified SSID
loginIdentifier Optional The username, email, or phone number used during login
timespan Optional The timespan, in seconds, for the login attempts. The period will be from [timespan] seconds ago until now. The maximum timespan is 3 months

Example Usage

    var input = [];
        input['id'] = 'id';
        input['ssidNumber'] = 'ssidNumber';
        input['loginIdentifier'] = 'loginIdentifier';
        input['timespan'] = 'timespan';

    controller.getNetworkSplashLoginAttempts(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SMController

Get singleton instance

The singleton instance of the SMController class can be accessed from the API Client.

var controller = lib.SMController;

Method: getNetworkSmSoftwares

Get a list of softwares associated with a device

function getNetworkSmSoftwares(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmSoftwares(input, function(error, response, context) {

    
    });

Method: getNetworkSmUserSoftwares

Get a list of softwares associated with a user

function getNetworkSmUserSoftwares(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
userId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['userId'] = 'userId';

    controller.getNetworkSmUserSoftwares(input, function(error, response, context) {

    
    });

Method: getNetworkSmUsers

List the owners in an SM network with various specified fields and filters

function getNetworkSmUsers(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
ids Optional Filter users by id(s). Multiple ids can be passed in as comma separated values.
usernames Optional Filter users by username(s). Multiple usernames can be passed in as comma separated values.
emails Optional Filter users by email(s). Multiple emails can be passed in as comma separated values.
scope Optional Specifiy a scope (one of all, none, withAny, withAll, withoutAny, withoutAll) and a set of tags as comma separated values.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['ids'] = 'ids';
        input['usernames'] = 'usernames';
        input['emails'] = 'emails';
        input['scope'] = 'scope';

    controller.getNetworkSmUsers(input, function(error, response, context) {

    
    });

Method: getNetworkSmConnectivity

Returns historical connectivity data (whether a device is regularly checking in to Dashboard).

function getNetworkSmConnectivity(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
perPage Optional The number of entries per page returned
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmConnectivity(input, function(error, response, context) {

    
    });

Method: getNetworkSmDeviceCommandLogs

Return historical records of commands sent to Systems Manager devices.
<p>Note that this will include the name of the Dashboard user who initiated the command if it was generated
by a Dashboard admin rather than the automatic behavior of the system; you may wish to filter this out
of any reports.</p>
function getNetworkSmDeviceCommandLogs(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
perPage Optional The number of entries per page returned
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmDeviceCommandLogs(input, function(error, response, context) {

    
    });

Method: getNetworkSmDesktopLogs

Return historical records of various Systems Manager network connection details for desktop devices.

function getNetworkSmDesktopLogs(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
perPage Optional The number of entries per page returned
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmDesktopLogs(input, function(error, response, context) {

    
    });

Method: getNetworkSmPerformanceHistory

Return historical records of various Systems Manager client metrics for desktop devices.

function getNetworkSmPerformanceHistory(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
perPage Optional The number of entries per page returned
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, next or prev page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmPerformanceHistory(input, function(error, response, context) {

    
    });

Method: getNetworkSmCellularUsageHistory

Return the client's daily cellular data usage history. Usage data is in kilobytes.

function getNetworkSmCellularUsageHistory(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmCellularUsageHistory(input, function(error, response, context) {

    
    });

Method: getNetworkSmProfiles

List all the profiles in the network

function getNetworkSmProfiles(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSmProfiles(networkId, function(error, response, context) {

    
    });

Method: unenrollNetworkSmDevice

Unenroll a device

function unenrollNetworkSmDevice(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.unenrollNetworkSmDevice(input, function(error, response, context) {

    
    });

Method: moveNetworkSmDevices

Move a set of devices to a new network

function moveNetworkSmDevices(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
moveNetworkSmDevices Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['moveNetworkSmDevices'] = new MoveNetworkSmDevicesModel({"key":"value"});

    controller.moveNetworkSmDevices(input, function(error, response, context) {

    
    });

Method: checkinNetworkSmDevices

Force check-in a set of devices

function checkinNetworkSmDevices(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
checkinNetworkSmDevices Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['checkinNetworkSmDevices'] = new CheckinNetworkSmDevicesModel({"key":"value"});

    controller.checkinNetworkSmDevices(input, function(error, response, context) {

    
    });

Method: wipeNetworkSmDevice

Wipe a device

function wipeNetworkSmDevice(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
wipeNetworkSmDevice Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['wipeNetworkSmDevice'] = new WipeNetworkSmDeviceModel({"key":"value"});

    controller.wipeNetworkSmDevice(input, function(error, response, context) {

    
    });

Method: lockNetworkSmDevices

Lock a set of devices

function lockNetworkSmDevices(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
lockNetworkSmDevices Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['lockNetworkSmDevices'] = new LockNetworkSmDevicesModel({"key":"value"});

    controller.lockNetworkSmDevices(input, function(error, response, context) {

    
    });

Method: updateNetworkSmDeviceFields

Modify the fields of a device

function updateNetworkSmDeviceFields(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSmDeviceFields Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSmDeviceFields'] = new UpdateNetworkSmDeviceFieldsModel({"key":"value"});

    controller.updateNetworkSmDeviceFields(input, function(error, response, context) {

    
    });

Method: updateNetworkSmDevicesTags

Add, delete, or update the tags of a set of devices

function updateNetworkSmDevicesTags(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSmDevicesTags Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSmDevicesTags'] = new UpdateNetworkSmDevicesTagsModel({"key":"value"});

    controller.updateNetworkSmDevicesTags(input, function(error, response, context) {

    
    });

Method: getNetworkSmCerts

List the certs on a device

function getNetworkSmCerts(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmCerts(input, function(error, response, context) {

    
    });

Method: getNetworkSmRestrictions

List the restrictions on a device

function getNetworkSmRestrictions(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmRestrictions(input, function(error, response, context) {

    
    });

Method: getNetworkSmSecurityCenters

List the security centers on a device

function getNetworkSmSecurityCenters(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmSecurityCenters(input, function(error, response, context) {

    
    });

Method: getNetworkSmWlanLists

List the saved SSID names on a device

function getNetworkSmWlanLists(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmWlanLists(input, function(error, response, context) {

    
    });

Method: getNetworkSmNetworkAdapters

List the network adapters of a device

function getNetworkSmNetworkAdapters(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmNetworkAdapters(input, function(error, response, context) {

    
    });

Method: getNetworkSmDeviceProfiles

Get the profiles associated with a device

function getNetworkSmDeviceProfiles(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
deviceId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmDeviceProfiles(input, function(error, response, context) {

    
    });

Method: getNetworkSmUserDeviceProfiles

Get the profiles associated with a user

function getNetworkSmUserDeviceProfiles(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
userId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['userId'] = 'userId';

    controller.getNetworkSmUserDeviceProfiles(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmAppPolaris

Delete a Cisco Polaris app

function deleteNetworkSmAppPolaris(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
appId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['appId'] = 'appId';

    controller.deleteNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: updateNetworkSmAppPolaris

Update an existing Polaris app

function updateNetworkSmAppPolaris(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
appId Required TODO: Add a parameter description
updateNetworkSmAppPolaris Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['appId'] = 'appId';
        input['updateNetworkSmAppPolaris'] = new UpdateNetworkSmAppPolarisModel({"key":"value"});

    controller.updateNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: getNetworkSmAppPolaris

Get details for a Cisco Polaris app if it exists

function getNetworkSmAppPolaris(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
bundleId Optional The bundle ID of the app to be found, defaults to com.cisco.ciscosecurity.app

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['bundleId'] = 'bundleId';

    controller.getNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: createNetworkSmAppPolaris

Create a new Polaris app

function createNetworkSmAppPolaris(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkSmAppPolaris Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['createNetworkSmAppPolaris'] = new CreateNetworkSmAppPolarisModel({"key":"value"});

    controller.createNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmProfileUmbrella

Delete a Cisco Umbrella payload. Deletes the entire profile if it's empty after removing the payload

function deleteNetworkSmProfileUmbrella(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';

    controller.deleteNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: getNetworkSmProfileUmbrella

Get details for a Cisco Umbrella payload

function getNetworkSmProfileUmbrella(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';

    controller.getNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: addNetworkSmProfileUmbrella

Add a Cisco Umbrella payload to an existing profile

function addNetworkSmProfileUmbrella(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description
addNetworkSmProfileUmbrella Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';
        input['addNetworkSmProfileUmbrella'] = new AddNetworkSmProfileUmbrellaModel({"key":"value"});

    controller.addNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: updateNetworkSmProfileUmbrella

Update an existing profile containing a Cisco Umbrella payload

function updateNetworkSmProfileUmbrella(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description
updateNetworkSmProfileUmbrella Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';
        input['updateNetworkSmProfileUmbrella'] = new UpdateNetworkSmProfileUmbrellaModel({"key":"value"});

    controller.updateNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: createNetworkSmProfileUmbrella

Create a new profile containing a Cisco Umbrella payload

function createNetworkSmProfileUmbrella(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkSmProfileUmbrella Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['createNetworkSmProfileUmbrella'] = new CreateNetworkSmProfileUmbrellaModel({"key":"value"});

    controller.createNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmProfileClarity

Delete a Cisco Clarity payload. Deletes the entire profile if it's empty after removing the payload.

function deleteNetworkSmProfileClarity(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';

    controller.deleteNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: getNetworkSmProfileClarity

Get details for a Cisco Clarity payload

function getNetworkSmProfileClarity(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';

    controller.getNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: addNetworkSmProfileClarity

Add a Cisco Clarity payload to an existing profile

function addNetworkSmProfileClarity(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description
addNetworkSmProfileClarity Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';
        input['addNetworkSmProfileClarity'] = new AddNetworkSmProfileClarityModel({"key":"value"});

    controller.addNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: updateNetworkSmProfileClarity

Update an existing profile containing a Cisco Clarity payload

function updateNetworkSmProfileClarity(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
profileId Required TODO: Add a parameter description
updateNetworkSmProfileClarity Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['profileId'] = 'profileId';
        input['updateNetworkSmProfileClarity'] = new UpdateNetworkSmProfileClarityModel({"key":"value"});

    controller.updateNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: createNetworkSmProfileClarity

Create a new profile containing a Cisco Clarity payload

function createNetworkSmProfileClarity(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkSmProfileClarity Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = network_id;
        input['createNetworkSmProfileClarity'] = new CreateNetworkSmProfileClarityModel({"key":"value"});

    controller.createNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: getNetworkSmDevices

List the devices enrolled in an SM network with various specified fields and filters

function getNetworkSmDevices(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
fields Optional Additional fields that will be displayed for each device. Multiple fields can be passed in as comma separated values.
The default fields are: id, name, tags, ssid, wifiMac, osName, systemModel, uuid, and serialNumber. The additional fields are: ip,
systemType, availableDeviceCapacity, kioskAppName, biosVersion, lastConnected, missingAppsCount, userSuppliedAddress, location, lastUser,
ownerEmail, ownerUsername, publicIp, phoneNumber, diskInfoJson, deviceCapacity, isManaged, hadMdm, isSupervised, meid, imei, iccid,
simCarrierNetwork, cellularDataUsed, isHotspotEnabled, createdAt, batteryEstCharge, quarantined, avName, avRunning, asName, fwName,
isRooted, loginRequired, screenLockEnabled, screenLockDelay, autoLoginDisabled, autoTags, hasMdm, hasDesktopAgent, diskEncryptionEnabled,
hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, and androidSecurityPatchVersion. |

| wifiMacs | Optional | Filter devices by wifi mac(s). Multiple wifi macs can be passed in as comma separated values. | | serials | Optional | Filter devices by serial(s). Multiple serials can be passed in as comma separated values. | | ids | Optional | Filter devices by id(s). Multiple ids can be passed in as comma separated values. | | scope | Optional | Specify a scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags as comma separated values. | | batchToken | Optional | On networks with more than 1000 devices, the device list will be limited to 1000 devices per query. If there are more devices to be seen, a batch token will be returned as a part of the device list. To see the remainder of the devices, pass in the batchToken as a parameter in the next request. Requests made with the batchToken do not require additional parameters as the batchToken includes the parameters passed in with the original request. Additional parameters passed in with the batchToken will be ignored. |

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['fields'] = 'fields';
        input['wifiMacs'] = 'wifiMacs';
        input['serials'] = 'serials';
        input['ids'] = 'ids';
        input['scope'] = 'scope';
        input['batchToken'] = 'batchToken';

    controller.getNetworkSmDevices(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: NamedTagScopeController

Get singleton instance

The singleton instance of the NamedTagScopeController class can be accessed from the API Client.

var controller = lib.NamedTagScopeController;

Method: getNetworkSmTargetGroup

Return a target group

function getNetworkSmTargetGroup(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
targetGroupId Required TODO: Add a parameter description
withDetails Optional Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['targetGroupId'] = 'targetGroupId';
        input['withDetails'] = true;

    controller.getNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmTargetGroup

Delete a target group from a network

function deleteNetworkSmTargetGroup(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
targetGroupId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['targetGroupId'] = 'targetGroupId';

    controller.deleteNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Method: updateNetworkSmTargetGroup

Update a target group

function updateNetworkSmTargetGroup(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
targetGroupId Required TODO: Add a parameter description
updateNetworkSmTargetGroup Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['targetGroupId'] = 'targetGroupId';
        input['updateNetworkSmTargetGroup'] = new UpdateNetworkSmTargetGroupModel({"key":"value"});

    controller.updateNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Method: createNetworkSmTargetGroup

Add a target group

function createNetworkSmTargetGroup(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkSmTargetGroup Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSmTargetGroup'] = new CreateNetworkSmTargetGroupModel({"key":"value"});

    controller.createNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Method: getNetworkSmTargetGroups

List the target groups in this network

function getNetworkSmTargetGroups(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
withDetails Optional Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['withDetails'] = true;

    controller.getNetworkSmTargetGroups(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SAMLRolesController

Get singleton instance

The singleton instance of the SAMLRolesController class can be accessed from the API Client.

var controller = lib.SAMLRolesController;

Method: updateOrganizationSamlRole

Update a SAML role

function updateOrganizationSamlRole(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
updateOrganizationSamlRole Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';
        input['updateOrganizationSamlRole'] = new UpdateOrganizationSamlRoleModel({"key":"value"});

    controller.updateOrganizationSamlRole(input, function(error, response, context) {

    
    });

Method: deleteOrganizationSamlRole

Remove a SAML role

function deleteOrganizationSamlRole(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.deleteOrganizationSamlRole(input, function(error, response, context) {

    
    });

Method: getOrganizationSamlRole

Return a SAML role

function getOrganizationSamlRole(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.getOrganizationSamlRole(input, function(error, response, context) {

    
    });

Method: createOrganizationSamlRole

Create a SAML role

function createOrganizationSamlRole(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
createOrganizationSamlRole Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationSamlRole'] = new CreateOrganizationSamlRoleModel({"key":"value"});

    controller.createOrganizationSamlRole(input, function(error, response, context) {

    
    });

Method: getOrganizationSamlRoles

List the SAML roles for this organization

function getOrganizationSamlRoles(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationSamlRoles(organizationId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: PIIController

Get singleton instance

The singleton instance of the PIIController class can be accessed from the API Client.

var controller = lib.PIIController;

Method: getNetworkPiiSmOwnersForKey

Given a piece of Personally Identifiable Information (PII), return the Systems Manager owner ID(s) associated with that identifier. These owner IDs can be used with the Systems Manager API endpoints to retrieve owner details. Exactly one identifier will be accepted.

ALTERNATE PATH

/organizations/{organizationId}/pii/smOwnersForKey
function getNetworkPiiSmOwnersForKey(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
username Optional The username of a Systems Manager user
email Optional The email of a network user account or a Systems Manager device
mac Optional The MAC of a network client device or a Systems Manager device
serial Optional The serial of a Systems Manager device
imei Optional The IMEI of a Systems Manager device
bluetoothMac Optional The MAC of a Bluetooth client

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['username'] = 'username';
        input['email'] = 'email';
        input['mac'] = 'mac';
        input['serial'] = 'serial';
        input['imei'] = 'imei';
        input['bluetoothMac'] = 'bluetoothMac';

    controller.getNetworkPiiSmOwnersForKey(input, function(error, response, context) {

    
    });

Method: getNetworkPiiSmDevicesForKey

Given a piece of Personally Identifiable Information (PII), return the Systems Manager device ID(s) associated with that identifier. These device IDs can be used with the Systems Manager API endpoints to retrieve device details. Exactly one identifier will be accepted.

ALTERNATE PATH

/organizations/{organizationId}/pii/smDevicesForKey
function getNetworkPiiSmDevicesForKey(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
username Optional The username of a Systems Manager user
email Optional The email of a network user account or a Systems Manager device
mac Optional The MAC of a network client device or a Systems Manager device
serial Optional The serial of a Systems Manager device
imei Optional The IMEI of a Systems Manager device
bluetoothMac Optional The MAC of a Bluetooth client

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['username'] = 'username';
        input['email'] = 'email';
        input['mac'] = 'mac';
        input['serial'] = 'serial';
        input['imei'] = 'imei';
        input['bluetoothMac'] = 'bluetoothMac';

    controller.getNetworkPiiSmDevicesForKey(input, function(error, response, context) {

    
    });

Method: getNetworkPiiPiiKeys

List the keys required to access Personally Identifiable Information (PII) for a given identifier. Exactly one identifier will be accepted. If the organization contains org-wide Systems Manager users matching the key provided then there will be an entry with the key "0" containing the applicable keys.

ALTERNATE PATH

/organizations/{organizationId}/pii/piiKeys
function getNetworkPiiPiiKeys(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
username Optional The username of a Systems Manager user
email Optional The email of a network user account or a Systems Manager device
mac Optional The MAC of a network client device or a Systems Manager device
serial Optional The serial of a Systems Manager device
imei Optional The IMEI of a Systems Manager device
bluetoothMac Optional The MAC of a Bluetooth client

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['username'] = 'username';
        input['email'] = 'email';
        input['mac'] = 'mac';
        input['serial'] = 'serial';
        input['imei'] = 'imei';
        input['bluetoothMac'] = 'bluetoothMac';

    controller.getNetworkPiiPiiKeys(input, function(error, response, context) {

    
    });

Method: deleteNetworkPiiRequest

Delete a restrict processing PII request

ALTERNATE PATH

/organizations/{organizationId}/pii/requests/{requestId}
function deleteNetworkPiiRequest(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
requestId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['requestId'] = 'requestId';

    controller.deleteNetworkPiiRequest(input, function(error, response, context) {

    
    });

Method: getNetworkPiiRequest

Return a PII request

ALTERNATE PATH

/organizations/{organizationId}/pii/requests/{requestId}
function getNetworkPiiRequest(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
requestId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['requestId'] = 'requestId';

    controller.getNetworkPiiRequest(input, function(error, response, context) {

    
    });

Method: createNetworkPiiRequest

Submit a new delete or restrict processing PII request

ALTERNATE PATH

/organizations/{organizationId}/pii/requests
function createNetworkPiiRequest(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkPiiRequest Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkPiiRequest'] = new CreateNetworkPiiRequestModel({"key":"value"});

    controller.createNetworkPiiRequest(input, function(error, response, context) {

    
    });

Method: getNetworkPiiRequests

List the PII requests for this network or organization

ALTERNATE PATH

/organizations/{organizationId}/pii/requests
function getNetworkPiiRequests(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkPiiRequests(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: OpenAPISpecController

Get singleton instance

The singleton instance of the OpenAPISpecController class can be accessed from the API Client.

var controller = lib.OpenAPISpecController;

Method: getOrganizationOpenapiSpec

Return the OpenAPI 2.0 Specification of the organization's API documentation in JSON

function getOrganizationOpenapiSpec(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationOpenapiSpec(organizationId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ManagementInterfaceSettingsController

Get singleton instance

The singleton instance of the ManagementInterfaceSettingsController class can be accessed from the API Client.

var controller = lib.ManagementInterfaceSettingsController;

Method: updateNetworkDeviceManagementInterfaceSettings

Update the management interface settings for a device

function updateNetworkDeviceManagementInterfaceSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
updateNetworkDeviceManagementInterfaceSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['updateNetworkDeviceManagementInterfaceSettings'] = new UpdateNetworkDeviceManagementInterfaceSettingsModel({"key":"value"});

    controller.updateNetworkDeviceManagementInterfaceSettings(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceManagementInterfaceSettings

Return the management interface settings for a device

function getNetworkDeviceManagementInterfaceSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDeviceManagementInterfaceSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MRL3FirewallController

Get singleton instance

The singleton instance of the MRL3FirewallController class can be accessed from the API Client.

var controller = lib.MRL3FirewallController;

Method: updateNetworkSsidL3FirewallRules

Update the L3 firewall rules of an SSID on an MR network

function updateNetworkSsidL3FirewallRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description
updateNetworkSsidL3FirewallRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetworkSsidL3FirewallRules'] = new UpdateNetworkSsidL3FirewallRulesModel({"key":"value"});

    controller.updateNetworkSsidL3FirewallRules(input, function(error, response, context) {

    
    });

Method: getNetworkSsidL3FirewallRules

Return the L3 firewall rules for an SSID on an MR network

function getNetworkSsidL3FirewallRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
number Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetworkSsidL3FirewallRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXL7FirewallController

Get singleton instance

The singleton instance of the MXL7FirewallController class can be accessed from the API Client.

var controller = lib.MXL7FirewallController;

Method: updateNetworkL7FirewallRules

Update the MX L7 firewall rules for an MX network

function updateNetworkL7FirewallRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkL7FirewallRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkL7FirewallRules'] = new UpdateNetworkL7FirewallRulesModel({"key":"value"});

    controller.updateNetworkL7FirewallRules(input, function(error, response, context) {

    
    });

Method: getNetworkL7FirewallRules

List the MX L7 firewall rules for an MX network

function getNetworkL7FirewallRules(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkL7FirewallRules(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: GroupPoliciesController

Get singleton instance

The singleton instance of the GroupPoliciesController class can be accessed from the API Client.

var controller = lib.GroupPoliciesController;

Method: updateNetworkGroupPolicy

Update a group policy

function updateNetworkGroupPolicy(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
groupPolicyId Required TODO: Add a parameter description
updateNetworkGroupPolicy Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['groupPolicyId'] = 'groupPolicyId';
        input['updateNetworkGroupPolicy'] = new UpdateNetworkGroupPolicyModel({"key":"value"});

    controller.updateNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Method: deleteNetworkGroupPolicy

Delete a group policy

function deleteNetworkGroupPolicy(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
groupPolicyId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['groupPolicyId'] = 'groupPolicyId';

    controller.deleteNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Method: getNetworkGroupPolicy

Display a group policy

function getNetworkGroupPolicy(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
groupPolicyId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['groupPolicyId'] = 'groupPolicyId';

    controller.getNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Method: createNetworkGroupPolicy

Create a group policy

function createNetworkGroupPolicy(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkGroupPolicy Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkGroupPolicy'] = new CreateNetworkGroupPolicyModel({"key":"value"});

    controller.createNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Method: getNetworkGroupPolicies

List the group policies in a network

function getNetworkGroupPolicies(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkGroupPolicies(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: NetworksController

Get singleton instance

The singleton instance of the NetworksController class can be accessed from the API Client.

var controller = lib.NetworksController;

Method: getNetwork

Return a network

function getNetwork(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetwork(networkId, function(error, response, context) {

    
    });

Method: createOrganizationNetwork

Create a network

function createOrganizationNetwork(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
createOrganizationNetwork Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationNetwork'] = new CreateOrganizationNetworkModel({"key":"value"});

    controller.createOrganizationNetwork(input, function(error, response, context) {

    
    });

Method: getOrganizationNetworks

List the networks in an organization

function getOrganizationNetworks(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
configTemplateId Optional An optional parameter that is the ID of a config template. Will return all networks bound to that template.

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['configTemplateId'] = 'configTemplateId';

    controller.getOrganizationNetworks(input, function(error, response, context) {

    
    });

Method: updateNetworkBluetoothSettings

Update the Bluetooth settings for a network. See the docs page for Bluetooth settings.

function updateNetworkBluetoothSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkBluetoothSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkBluetoothSettings'] = new UpdateNetworkBluetoothSettingsModel({"key":"value"});

    controller.updateNetworkBluetoothSettings(input, function(error, response, context) {

    
    });

Method: getNetworkBluetoothSettings

Return the Bluetooth settings for a network. Bluetooth settings must be enabled on the network.

function getNetworkBluetoothSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkBluetoothSettings(networkId, function(error, response, context) {

    
    });

Method: deleteNetwork

Delete a network

function deleteNetwork(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.deleteNetwork(networkId, function(error, response, context) {

    
    });

Method: updateNetwork

Update a network

function updateNetwork(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetwork Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetwork'] = new UpdateNetworkModel({"key":"value"});

    controller.updateNetwork(input, function(error, response, context) {

    
    });

Method: updateNetworkSiteToSiteVpn

Update the site-to-site VPN settings of a network. Only valid for MX networks in NAT mode.

function updateNetworkSiteToSiteVpn(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSiteToSiteVpn Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSiteToSiteVpn'] = new UpdateNetworkSiteToSiteVpnModel({"key":"value"});

    controller.updateNetworkSiteToSiteVpn(input, function(error, response, context) {

    
    });

Method: getNetworkSiteToSiteVpn

Return the site-to-site VPN settings of a network. Only valid for MX networks.

function getNetworkSiteToSiteVpn(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSiteToSiteVpn(networkId, function(error, response, context) {

    
    });

Method: splitNetwork

Split a combined network into individual networks for each type of device

function splitNetwork(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.splitNetwork(networkId, function(error, response, context) {

    
    });

Method: combineOrganizationNetworks

Combine multiple networks into a single network

function combineOrganizationNetworks(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
combineOrganizationNetworks Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['combineOrganizationNetworks'] = new CombineOrganizationNetworksModel({"key":"value"});

    controller.combineOrganizationNetworks(input, function(error, response, context) {

    
    });

Method: getNetworkAccessPolicies

List the access policies for this network. Only valid for MS networks.

function getNetworkAccessPolicies(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkAccessPolicies(networkId, function(error, response, context) {

    
    });

Method: unbindNetwork

Unbind a network from a template.

function unbindNetwork(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.unbindNetwork(networkId, function(error, response, context) {

    
    });

Method: bindNetwork

Bind a network to a template.

function bindNetwork(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
bindNetwork Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['bindNetwork'] = new BindNetworkModel({"key":"value"});

    controller.bindNetwork(input, function(error, response, context) {

    
    });

Method: getNetworkAirMarshal

List Air Marshal scan results from a network

function getNetworkAirMarshal(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['timespan'] = 168;

    controller.getNetworkAirMarshal(input, function(error, response, context) {

    
    });

Method: getNetworkTraffic

The traffic analysis data for this network. Traffic Analysis with Hostname Visibility must be enabled on the network.

function getNetworkTraffic(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
timespan Required The timespan for the data. Must be an integer representing a duration in seconds between two hours and one month. (Mandatory.)
deviceType Optional Filter the data by device type: combined (default), wireless, switch, appliance. When using combined, for each rule the data will come from the device type with the most usage.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['timespan'] = 'timespan';
        input['deviceType'] = 'deviceType';

    controller.getNetworkTraffic(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MVSenseController

Get singleton instance

The singleton instance of the MVSenseController class can be accessed from the API Client.

var controller = lib.MVSenseController;

Method: getDeviceCameraAnalyticsLive

Returns live state from camera of analytics zones

function getDeviceCameraAnalyticsLive(serial, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description

Example Usage

    var serial = 'serial';

    controller.getDeviceCameraAnalyticsLive(serial, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsRecent

Returns most recent record for analytics zones

function getDeviceCameraAnalyticsRecent(serial, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description

Example Usage

    var serial = 'serial';

    controller.getDeviceCameraAnalyticsRecent(serial, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsZones

Returns all configured analytic zones for this camera

function getDeviceCameraAnalyticsZones(serial, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description

Example Usage

    var serial = 'serial';

    controller.getDeviceCameraAnalyticsZones(serial, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsZoneHistory

Return historical records for analytic zones

function getDeviceCameraAnalyticsZoneHistory(input, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description
zoneId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 14 hours after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour.
resolution Optional The time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60.

Example Usage

    var input = [];
        input['serial'] = 'serial';
        input['zoneId'] = 'zoneId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;
        input['resolution'] = 168;

    controller.getDeviceCameraAnalyticsZoneHistory(input, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsOverview

Returns an overview of aggregate analytics data for a timespan

function getDeviceCameraAnalyticsOverview(input, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 1 hour.

Example Usage

    var input = [];
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 168;

    controller.getDeviceCameraAnalyticsOverview(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: VlansController

Get singleton instance

The singleton instance of the VlansController class can be accessed from the API Client.

var controller = lib.VlansController;

Method: getNetwork_vlans

List the VLANs for an MX network

function getNetwork_vlans(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetwork_vlans(networkId, function(error, response, context) {

    
    });

Method: getNetwork_vlans_EnabledState

Returns the enabled status of VLANs for the network

function getNetwork_vlans_EnabledState(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetwork_vlans_EnabledState(networkId, function(error, response, context) {

    
    });

Method: deleteNetworkVlan

Delete a VLAN from a network

function deleteNetworkVlan(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
vlanId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['vlanId'] = 'vlanId';

    controller.deleteNetworkVlan(input, function(error, response, context) {

    
    });

Method: createNetworkVlan

Add a VLAN

function createNetworkVlan(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkVlan Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkVlan'] = new CreateNetworkVlanModel({"key":"value"});

    controller.createNetworkVlan(input, function(error, response, context) {

    
    });

Method: updateNetwork_vlans_EnabledState

Enable/Disable VLANs for the given network

function updateNetwork_vlans_EnabledState(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetwork_vlans_EnabledState Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetwork_vlans_EnabledState'] = new UpdateNetworkVlansEnabledStateModel({"key":"value"});

    controller.updateNetwork_vlans_EnabledState(input, function(error, response, context) {

    
    });

Method: updateNetworkVlan

Update a VLAN

function updateNetworkVlan(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
vlanId Required TODO: Add a parameter description
updateNetworkVlan Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['vlanId'] = 'vlanId';
        input['updateNetworkVlan'] = new UpdateNetworkVlanModel({"key":"value"});

    controller.updateNetworkVlan(input, function(error, response, context) {

    
    });

Method: getNetworkVlan

Return a VLAN

function getNetworkVlan(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
vlanId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['vlanId'] = 'vlanId';

    controller.getNetworkVlan(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: UplinkSettingsController

Get singleton instance

The singleton instance of the UplinkSettingsController class can be accessed from the API Client.

var controller = lib.UplinkSettingsController;

Method: updateNetworkUplinkSettings

Updates the uplink settings for your MX network.

function updateNetworkUplinkSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkUplinkSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkUplinkSettings'] = new UpdateNetworkUplinkSettingsModel({"key":"value"});

    controller.updateNetworkUplinkSettings(input, function(error, response, context) {

    
    });

Method: getNetworkUplinkSettings

Returns the uplink settings for your MX network.

function getNetworkUplinkSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkUplinkSettings(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: StaticRoutesController

Get singleton instance

The singleton instance of the StaticRoutesController class can be accessed from the API Client.

var controller = lib.StaticRoutesController;

Method: deleteNetworkStaticRoute

Delete a static route from a network

function deleteNetworkStaticRoute(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
srId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['srId'] = 'srId';

    controller.deleteNetworkStaticRoute(input, function(error, response, context) {

    
    });

Method: getNetworkStaticRoute

Return a static route

function getNetworkStaticRoute(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
srId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['srId'] = 'srId';

    controller.getNetworkStaticRoute(input, function(error, response, context) {

    
    });

Method: createNetworkStaticRoute

Add a static route

function createNetworkStaticRoute(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkStaticRoute Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkStaticRoute'] = new CreateNetworkStaticRouteModel({"key":"value"});

    controller.createNetworkStaticRoute(input, function(error, response, context) {

    
    });

Method: getNetworkStaticRoutes

List the static routes for this network

function getNetworkStaticRoutes(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkStaticRoutes(networkId, function(error, response, context) {

    
    });

Method: updateNetworkStaticRoute

Update a static route

function updateNetworkStaticRoute(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
srId Required TODO: Add a parameter description
updateNetworkStaticRoute Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['srId'] = 'srId';
        input['updateNetworkStaticRoute'] = new UpdateNetworkStaticRouteModel({"key":"value"});

    controller.updateNetworkStaticRoute(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXPortForwardingRulesController

Get singleton instance

The singleton instance of the MXPortForwardingRulesController class can be accessed from the API Client.

var controller = lib.MXPortForwardingRulesController;

Method: updateNetworkPortForwardingRules

Update the port forwarding rules for an MX network

function updateNetworkPortForwardingRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkPortForwardingRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkPortForwardingRules'] = new UpdateNetworkPortForwardingRulesModel({"key":"value"});

    controller.updateNetworkPortForwardingRules(input, function(error, response, context) {

    
    });

Method: getNetworkPortForwardingRules

Return the port forwarding rules for an MX network

function getNetworkPortForwardingRules(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkPortForwardingRules(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MX11NATRulesController

Get singleton instance

The singleton instance of the MX11NATRulesController class can be accessed from the API Client.

var controller = lib.MX11NATRulesController;

Method: getNetworkOneToOneNatRules

Return the 1:1 NAT mapping rules for an MX network

function getNetworkOneToOneNatRules(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkOneToOneNatRules(networkId, function(error, response, context) {

    
    });

Method: updateNetworkOneToOneNatRules

Set the 1:1 NAT mapping rules for an MX network

function updateNetworkOneToOneNatRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkOneToOneNatRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkOneToOneNatRules'] = new UpdateNetworkOneToOneNatRulesModel({"key":"value"});

    controller.updateNetworkOneToOneNatRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ContentFilteringRulesController

Get singleton instance

The singleton instance of the ContentFilteringRulesController class can be accessed from the API Client.

var controller = lib.ContentFilteringRulesController;

Method: updateNetworkContentFiltering

Update the content filtering settings for an MX network

function updateNetworkContentFiltering(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkContentFiltering Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkContentFiltering'] = new UpdateNetworkContentFilteringModel({"key":"value"});

    controller.updateNetworkContentFiltering(input, function(error, response, context) {

    
    });

Method: getNetworkContentFiltering

Return the content filtering settings for an MX network

function getNetworkContentFiltering(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkContentFiltering(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ContentFilteringCategoriesController

Get singleton instance

The singleton instance of the ContentFilteringCategoriesController class can be accessed from the API Client.

var controller = lib.ContentFilteringCategoriesController;

Method: getNetworkContentFilteringCategories

List all available content filtering categories for an MX network

function getNetworkContentFilteringCategories(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkContentFilteringCategories(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SyslogServersController

Get singleton instance

The singleton instance of the SyslogServersController class can be accessed from the API Client.

var controller = lib.SyslogServersController;

Method: updateNetworkSyslogServers

Update the syslog servers for a network

function updateNetworkSyslogServers(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSyslogServers Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSyslogServers'] = new UpdateNetworkSyslogServersModel({"key":"value"});

    controller.updateNetworkSyslogServers(input, function(error, response, context) {

    
    });

Method: getNetworkSyslogServers

List the syslog servers for a network

function getNetworkSyslogServers(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSyslogServers(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchStacksController

Get singleton instance

The singleton instance of the SwitchStacksController class can be accessed from the API Client.

var controller = lib.SwitchStacksController;

Method: removeNetworkSwitchStack

Remove a switch from a stack

function removeNetworkSwitchStack(input, callback)

Parameters

Parameter Tags Description
networkID Required TODO: Add a parameter description
switchStackId Required TODO: Add a parameter description
removeNetworkSwitchStack Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkID'] = 'networkID';
        input['switchStackId'] = 'switchStackId';
        input['removeNetworkSwitchStack'] = new RemoveNetworkSwitchStackModel({"key":"value"});

    controller.removeNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: addNetworkSwitchStack

Add a switch to a stack

function addNetworkSwitchStack(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
switchStackId Required TODO: Add a parameter description
addNetworkSwitchStack Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['switchStackId'] = 'switchStackId';
        input['addNetworkSwitchStack'] = new AddNetworkSwitchStackModel({"key":"value"});

    controller.addNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: deleteNetworkSwitchStack

Delete a stack

function deleteNetworkSwitchStack(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
switchStackId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['switchStackId'] = 'switchStackId';

    controller.deleteNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchStack

Show a switch stack

function getNetworkSwitchStack(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
switchStackId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['switchStackId'] = 'switchStackId';

    controller.getNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: createNetworkSwitchStack

Create a stack

function createNetworkSwitchStack(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkSwitchStack Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSwitchStack'] = new CreateNetworkSwitchStackModel({"key":"value"});

    controller.createNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchStacks

List the switch stacks in a network

function getNetworkSwitchStacks(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSwitchStacks(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchProfilesController

Get singleton instance

The singleton instance of the SwitchProfilesController class can be accessed from the API Client.

var controller = lib.SwitchProfilesController;

Method: getOrganizationConfigTemplateSwitchProfiles

List the switch profiles for your switch template configuration

function getOrganizationConfigTemplateSwitchProfiles(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
configTemplateId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['configTemplateId'] = 'configTemplateId';

    controller.getOrganizationConfigTemplateSwitchProfiles(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchSettingsController

Get singleton instance

The singleton instance of the SwitchSettingsController class can be accessed from the API Client.

var controller = lib.SwitchSettingsController;

Method: updateNetworkSwitchSettings

Update switch network settings

function updateNetworkSwitchSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSwitchSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSwitchSettings'] = new UpdateNetworkSwitchSettingsModel({"key":"value"});

    controller.updateNetworkSwitchSettings(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchSettings

Returns the switch network settings

function getNetworkSwitchSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSwitchSettings(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SNMPSettingsController

Get singleton instance

The singleton instance of the SNMPSettingsController class can be accessed from the API Client.

var controller = lib.SNMPSettingsController;

Method: updateOrganizationSnmp

Update the SNMP settings for an organization

function updateOrganizationSnmp(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
updateOrganizationSnmp Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationSnmp'] = new UpdateOrganizationSnmpModel({"key":"value"});

    controller.updateOrganizationSnmp(input, function(error, response, context) {

    
    });

Method: getOrganizationSnmp

Return the SNMP settings for an organization

function getOrganizationSnmp(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationSnmp(organizationId, function(error, response, context) {

    
    });

Method: updateNetworkSnmpSettings

Update the SNMP settings for a network

function updateNetworkSnmpSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSnmpSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSnmpSettings'] = new UpdateNetworkSnmpSettingsModel({"key":"value"});

    controller.updateNetworkSnmpSettings(input, function(error, response, context) {

    
    });

Method: getNetworkSnmpSettings

Return the SNMP settings for a network

function getNetworkSnmpSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSnmpSettings(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MalwareSettingsController

Get singleton instance

The singleton instance of the MalwareSettingsController class can be accessed from the API Client.

var controller = lib.MalwareSettingsController;

Method: updateNetworkSecurityMalwareSettings

Set the supported malware settings for an MX network

function updateNetworkSecurityMalwareSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSecurityMalwareSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSecurityMalwareSettings'] = new UpdateNetworkSecurityMalwareSettingsModel({"key":"value"});

    controller.updateNetworkSecurityMalwareSettings(input, function(error, response, context) {

    
    });

Method: getNetworkSecurityMalwareSettings

Returns all supported malware settings for an MX network

function getNetworkSecurityMalwareSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSecurityMalwareSettings(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: IntrusionSettingsController

Get singleton instance

The singleton instance of the IntrusionSettingsController class can be accessed from the API Client.

var controller = lib.IntrusionSettingsController;

Method: updateOrganizationSecurityIntrusionSettings

Sets supported intrusion settings for an organization

function updateOrganizationSecurityIntrusionSettings(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
updateOrganizationSecurityIntrusionSettings Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationSecurityIntrusionSettings'] = new UpdateOrganizationSecurityIntrusionSettingsModel({"key":"value"});

    controller.updateOrganizationSecurityIntrusionSettings(input, function(error, response, context) {

    
    });

Method: getOrganizationSecurityIntrusionSettings

Returns all supported intrusion settings for an organization

function getOrganizationSecurityIntrusionSettings(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationSecurityIntrusionSettings(organizationId, function(error, response, context) {

    
    });

Method: updateNetworkSecurityIntrusionSettings

Set the supported instrusion settings for an MX network

function updateNetworkSecurityIntrusionSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkSecurityIntrusionSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSecurityIntrusionSettings'] = new UpdateNetworkSecurityIntrusionSettingsModel({"key":"value"});

    controller.updateNetworkSecurityIntrusionSettings(input, function(error, response, context) {

    
    });

Method: getNetworkSecurityIntrusionSettings

Returns all supported intrusion settings for an MX network

function getNetworkSecurityIntrusionSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkSecurityIntrusionSettings(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: RadioSettingsController

Get singleton instance

The singleton instance of the RadioSettingsController class can be accessed from the API Client.

var controller = lib.RadioSettingsController;

Method: getNetworkWirelessRfProfiles

List the non-basic RF profiles for this network

function getNetworkWirelessRfProfiles(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
includeTemplateProfiles Optional If the network is bound to a template, this parameter controls whether or not the non-basic RF profiles defined on the template
  should be included in the response alongside the non-basic profiles defined on the bound network. Defaults to false. |

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['includeTemplateProfiles'] = false;

    controller.getNetworkWirelessRfProfiles(input, function(error, response, context) {

    
    });

Method: updateNetworkDeviceWirelessRadioSettings

Update the radio settings of a device

function updateNetworkDeviceWirelessRadioSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
updateNetworkDeviceWirelessRadioSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['updateNetworkDeviceWirelessRadioSettings'] = new UpdateNetworkDeviceWirelessRadioSettingsModel({"key":"value"});

    controller.updateNetworkDeviceWirelessRadioSettings(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceWirelessRadioSettings

Return the radio settings of a device

function getNetworkDeviceWirelessRadioSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDeviceWirelessRadioSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ClientsController

Get singleton instance

The singleton instance of the ClientsController class can be accessed from the API Client.

var controller = lib.ClientsController;

Method: getNetworkClientLatencyHistory

Return the latency history for a client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP. The latency data is from a sample of 2% of packets and is grouped into 4 traffic categories: background, best effort, video, voice. Within these categories the sampled packet counters are bucketed by latency in milliseconds.

function getNetworkClientLatencyHistory(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 791 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 791 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 791 days. The default is 1 day.
resolution Optional The time resolution in seconds for returned data. The valid resolutions are: 86400. The default is 86400.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 5;
        input['resolution'] = 5;

    controller.getNetworkClientLatencyHistory(input, function(error, response, context) {

    
    });

Method: getNetworkClients

List the clients that have used this network in the timespan

function getNetworkClients(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000. Default is 10.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['timespan'] = 5;
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClients(input, function(error, response, context) {

    
    });

Method: getNetworkClientSplashAuthorizationStatus

Return the splash authorization for a client, for each SSID they've associated with through splash. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientSplashAuthorizationStatus(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClientSplashAuthorizationStatus(input, function(error, response, context) {

    
    });

Method: getNetworkClientPolicy

Return the policy assigned to a client on the network. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientPolicy(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClientPolicy(input, function(error, response, context) {

    
    });

Method: getNetworkClientUsageHistory

Return the client's daily usage history. Usage data is in kilobytes. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientUsageHistory(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClientUsageHistory(input, function(error, response, context) {

    
    });

Method: provisionNetworkClients

Provisions a client with a name and policy. Clients can be provisioned before they associate to the network.

function provisionNetworkClients(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
provisionNetworkClients Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['provisionNetworkClients'] = new ProvisionNetworkClientsModel({"key":"value"});

    controller.provisionNetworkClients(input, function(error, response, context) {

    
    });

Method: getNetworkClientEvents

Return the events associated with this client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientEvents(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
perPage Optional The number of entries per page returned. Acceptable range is 3 - 100. Default is 100.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClientEvents(input, function(error, response, context) {

    
    });

Method: getNetworkClientTrafficHistory

Return the client's network traffic data over time. Usage data is in kilobytes. This endpoint requires detailed traffic analysis to be enabled on the Network-wide > General page. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientTrafficHistory(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClientTrafficHistory(input, function(error, response, context) {

    
    });

Method: getDeviceClients

List the clients of a device, up to a maximum of a month ago. The usage of each client is returned in kilobytes. If the device is a switch, the switchport is returned; otherwise the switchport field is null.

function getDeviceClients(input, callback)

Parameters

Parameter Tags Description
serial Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

Example Usage

    var input = [];
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['timespan'] = 5;

    controller.getDeviceClients(input, function(error, response, context) {

    
    });

Method: updateNetworkClientSplashAuthorizationStatus

Update a client's splash authorization. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function updateNetworkClientSplashAuthorizationStatus(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
updateNetworkClientSplashAuthorizationStatus Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['updateNetworkClientSplashAuthorizationStatus'] = new UpdateNetworkClientSplashAuthorizationStatusModel({"key":"value"});

    controller.updateNetworkClientSplashAuthorizationStatus(input, function(error, response, context) {

    
    });

Method: updateNetworkClientPolicy

Update the policy assigned to a client on the network. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function updateNetworkClientPolicy(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
updateNetworkClientPolicy Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['updateNetworkClientPolicy'] = new UpdateNetworkClientPolicyModel({"key":"value"});

    controller.updateNetworkClientPolicy(input, function(error, response, context) {

    
    });

Method: getNetworkClient

Return the client associated with the given identifier. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClient(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClient(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: APIUsageController

Get singleton instance

The singleton instance of the APIUsageController class can be accessed from the API Client.

var controller = lib.APIUsageController;

Method: getOrganizationApiRequests

List the API requests made by an organization

function getOrganizationApiRequests(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 31 days.
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000. Default is 50.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
adminId Optional Filter the results by the ID of the admin who made the API requests
path Optional Filter the results by the path of the API requests
method Optional Filter the results by the method of the API requests (must be 'GET', 'PUT', 'POST' or 'DELETE')
responseCode Optional Filter the results by the response code of the API requests

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 5;
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';
        input['adminId'] = 'adminId';
        input['path'] = 'path';
        input['method'] = 'method';
        input['responseCode'] = 5;

    controller.getOrganizationApiRequests(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: NetFlowSettingsController

Get singleton instance

The singleton instance of the NetFlowSettingsController class can be accessed from the API Client.

var controller = lib.NetFlowSettingsController;

Method: updateNetworkNetflowSettings

Update the NetFlow traffic reporting settings for a network

function updateNetworkNetflowSettings(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkNetflowSettings Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkNetflowSettings'] = new UpdateNetworkNetflowSettingsModel({"key":"value"});

    controller.updateNetworkNetflowSettings(input, function(error, response, context) {

    
    });

Method: getNetworkNetflowSettings

Return the NetFlow traffic reporting settings for a network

function getNetworkNetflowSettings(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkNetflowSettings(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MerakiAuthUsersController

Get singleton instance

The singleton instance of the MerakiAuthUsersController class can be accessed from the API Client.

var controller = lib.MerakiAuthUsersController;

Method: getNetworkMerakiAuthUser

Return the Meraki Auth splash or RADIUS user

function getNetworkMerakiAuthUser(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';

    controller.getNetworkMerakiAuthUser(input, function(error, response, context) {

    
    });

Method: getNetworkMerakiAuthUsers

List the splash or RADIUS users configured under Meraki Authentication for a network

function getNetworkMerakiAuthUsers(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkMerakiAuthUsers(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: HTTPServersController

Get singleton instance

The singleton instance of the HTTPServersController class can be accessed from the API Client.

var controller = lib.HTTPServersController;

Method: getNetworkHttpServersWebhookTest

Return the status of a webhook test

function getNetworkHttpServersWebhookTest(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';

    controller.getNetworkHttpServersWebhookTest(input, function(error, response, context) {

    
    });

Method: createNetworkHttpServersWebhookTest

Send a test webhook

function createNetworkHttpServersWebhookTest(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkHttpServersWebhookTest Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkHttpServersWebhookTest'] = new CreateNetworkHttpServersWebhookTestModel({"key":"value"});

    controller.createNetworkHttpServersWebhookTest(input, function(error, response, context) {

    
    });

Method: deleteNetworkHttpServer

Delete an HTTP server

function deleteNetworkHttpServer(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';

    controller.deleteNetworkHttpServer(input, function(error, response, context) {

    
    });

Method: updateNetworkHttpServer

Update an HTTP server

function updateNetworkHttpServer(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description
updateNetworkHttpServer Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';
        input['updateNetworkHttpServer'] = new UpdateNetworkHttpServerModel({"key":"value"});

    controller.updateNetworkHttpServer(input, function(error, response, context) {

    
    });

Method: getNetworkHttpServer

Return an HTTP server

function getNetworkHttpServer(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';

    controller.getNetworkHttpServer(input, function(error, response, context) {

    
    });

Method: createNetworkHttpServer

Add an HTTP server

function createNetworkHttpServer(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
createNetworkHttpServer Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkHttpServer'] = new CreateNetworkHttpServerModel({"key":"value"});

    controller.createNetworkHttpServer(input, function(error, response, context) {

    
    });

Method: getNetworkHttpServers

List the HTTP servers for a network

function getNetworkHttpServers(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkHttpServers(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXVPNFirewallController

Get singleton instance

The singleton instance of the MXVPNFirewallController class can be accessed from the API Client.

var controller = lib.MXVPNFirewallController;

Method: updateOrganizationVpnFirewallRules

Update the firewall rules of an organization's site-to-site VPN

function updateOrganizationVpnFirewallRules(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
updateOrganizationVpnFirewallRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationVpnFirewallRules'] = new UpdateOrganizationVpnFirewallRulesModel({"key":"value"});

    controller.updateOrganizationVpnFirewallRules(input, function(error, response, context) {

    
    });

Method: getOrganizationVpnFirewallRules

Return the firewall rules for an organization's site-to-site VPN

function getOrganizationVpnFirewallRules(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationVpnFirewallRules(organizationId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXL7ApplicationCategoriesController

Get singleton instance

The singleton instance of the MXL7ApplicationCategoriesController class can be accessed from the API Client.

var controller = lib.MXL7ApplicationCategoriesController;

Method: getNetworkL7FirewallRulesApplicationCategories

Return the L7 firewall application categories and their associated applications for an MX network

function getNetworkL7FirewallRulesApplicationCategories(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkL7FirewallRulesApplicationCategories(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXL3FirewallController

Get singleton instance

The singleton instance of the MXL3FirewallController class can be accessed from the API Client.

var controller = lib.MXL3FirewallController;

Method: updateNetworkL3FirewallRules

Update the L3 firewall rules of an MX network

function updateNetworkL3FirewallRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkL3FirewallRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkL3FirewallRules'] = new UpdateNetworkL3FirewallRulesModel({"key":"value"});

    controller.updateNetworkL3FirewallRules(input, function(error, response, context) {

    
    });

Method: getNetworkL3FirewallRules

Return the L3 firewall rules for an MX network

function getNetworkL3FirewallRules(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkL3FirewallRules(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXCellularFirewallController

Get singleton instance

The singleton instance of the MXCellularFirewallController class can be accessed from the API Client.

var controller = lib.MXCellularFirewallController;

Method: updateNetworkCellularFirewallRules

Update the cellular firewall rules of an MX network

function updateNetworkCellularFirewallRules(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
updateNetworkCellularFirewallRules Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkCellularFirewallRules'] = new UpdateNetworkCellularFirewallRulesModel({"key":"value"});

    controller.updateNetworkCellularFirewallRules(input, function(error, response, context) {

    
    });

Method: getNetworkCellularFirewallRules

Return the cellular firewall rules for an MX network

function getNetworkCellularFirewallRules(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkCellularFirewallRules(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: DevicesController

Get singleton instance

The singleton instance of the DevicesController class can be accessed from the API Client.

var controller = lib.DevicesController;

Method: blinkNetworkDeviceLeds

Blink the LEDs on a device

function blinkNetworkDeviceLeds(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
blinkNetworkDeviceLeds Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['blinkNetworkDeviceLeds'] = new BlinkNetworkDeviceLedsModel({"key":"value"});

    controller.blinkNetworkDeviceLeds(input, function(error, response, context) {

    
    });

Method: rebootNetworkDevice

Reboot a device

function rebootNetworkDevice(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.rebootNetworkDevice(input, function(error, response, context) {

    
    });

Method: removeNetworkDevice

Remove a single device

function removeNetworkDevice(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.removeNetworkDevice(input, function(error, response, context) {

    
    });

Method: claimNetworkDevices

Claim a device into a network

function claimNetworkDevices(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
claimNetworkDevices Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['claimNetworkDevices'] = new ClaimNetworkDevicesModel({"key":"value"});

    controller.claimNetworkDevices(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceUplink

Return the uplink information for a device.

function getNetworkDeviceUplink(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDeviceUplink(input, function(error, response, context) {

    
    });

Method: getNetworkDevicePerformance

Return the performance score for a single device. Only primary MX devices supported. If no data is available, a 204 error code is returned.

function getNetworkDevicePerformance(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDevicePerformance(input, function(error, response, context) {

    
    });

Method: getNetworkDevice

Return a single device

function getNetworkDevice(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDevice(input, function(error, response, context) {

    
    });

Method: getNetworkDevices

List the devices in a network

function getNetworkDevices(networkId, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description

Example Usage

    var networkId = 'networkId';

    controller.getNetworkDevices(networkId, function(error, response, context) {

    
    });

Method: updateNetworkDevice

Update the attributes of a device

function updateNetworkDevice(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
updateNetworkDevice Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['updateNetworkDevice'] = new UpdateNetworkDeviceModel({"key":"value"});

    controller.updateNetworkDevice(input, function(error, response, context) {

    
    });

Method: getOrganizationDevices

List the devices in an organization

function getOrganizationDevices(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getOrganizationDevices(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceLldpCdp

List LLDP and CDP information for a device

function getNetworkDeviceLldpCdp(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
timespan Optional The timespan for which LLDP and CDP information will be fetched. Must be in seconds and less than or equal to a month (2592000 seconds). LLDP and CDP information is sent to the Meraki dashboard every 10 minutes. In instances where this LLDP and CDP information matches an existing entry in the Meraki dashboard, the data is updated once every two hours. Meraki recommends querying LLDP and CDP information at an interval slightly greater than two hours, to ensure that unchanged CDP / LLDP information can be queried consistently.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['timespan'] = 'timespan';

    controller.getNetworkDeviceLldpCdp(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceLossAndLatencyHistory

Get the uplink loss percentage and latency in milliseconds for a wired network device.

function getNetworkDeviceLossAndLatencyHistory(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
ip Required The destination IP used to obtain the requested stats. This is required.
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.
resolution Optional The time resolution in seconds for returned data. The valid resolutions are: 60, 600, 3600, 86400. The default is 60.
uplink Optional The WAN uplink used to obtain the requested stats. Valid uplinks are wan1, wan2, cellular. The default is wan1.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['ip'] = 'ip';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 5;
        input['resolution'] = 5;
        input['uplink'] = 'uplink';

    controller.getNetworkDeviceLossAndLatencyHistory(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ConfigTemplatesController

Get singleton instance

The singleton instance of the ConfigTemplatesController class can be accessed from the API Client.

var controller = lib.ConfigTemplatesController;

Method: deleteOrganizationConfigTemplate

Remove a configuration template

function deleteOrganizationConfigTemplate(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
id Required TODO: Add a parameter description

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.deleteOrganizationConfigTemplate(input, function(error, response, context) {

    
    });

Method: getOrganizationConfigTemplates

List the configuration templates for this organization

function getOrganizationConfigTemplates(organizationId, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description

Example Usage

    var organizationId = 'organizationId';

    controller.getOrganizationConfigTemplates(organizationId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: CamerasController

Get singleton instance

The singleton instance of the CamerasController class can be accessed from the API Client.

var controller = lib.CamerasController;

Method: generateNetworkCameraSnapshot

Generate a snapshot of what the camera sees at the specified time and return a link to that image.

function generateNetworkCameraSnapshot(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
generateNetworkCameraSnapshot Optional TODO: Add a parameter description

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['generateNetworkCameraSnapshot'] = new GenerateNetworkCameraSnapshotModel({"key":"value"});

    controller.generateNetworkCameraSnapshot(input, function(error, response, context) {

    
    });

Method: getNetworkCameraVideoLink

Returns video link for the specified camera. If a timestamp supplied, it links to that time.

function getNetworkCameraVideoLink(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
serial Required TODO: Add a parameter description
timestamp Optional The video link will start at this timestamp. The timestamp is in UNIX Epoch time (milliseconds).

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['timestamp'] = 'timestamp';

    controller.getNetworkCameraVideoLink(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: BluetoothClientsController

Get singleton instance

The singleton instance of the BluetoothClientsController class can be accessed from the API Client.

var controller = lib.BluetoothClientsController;

Method: getNetworkBluetoothClients

List the Bluetooth clients seen by APs in this network

function getNetworkBluetoothClients(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
perPage Optional The number of entries per page returned. Acceptable range is 5 - 1000. Default is 10.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
timespan Optional The timespan, in seconds, used to look back from now for bluetooth clients
includeConnectivityHistory Optional Include the connectivity history for this client

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';
        input['timespan'] = 'timespan';
        input['includeConnectivityHistory'] = 'includeConnectivityHistory';

    controller.getNetworkBluetoothClients(input, function(error, response, context) {

    
    });

Method: getNetworkBluetoothClient

Return a Bluetooth client. Bluetooth clients can be identified by their ID or their MAC.

function getNetworkBluetoothClient(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
bluetoothClientId Required TODO: Add a parameter description
includeConnectivityHistory Optional Include the connectivity history for this client
connectivityHistoryTimespan Optional The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['bluetoothClientId'] = 'bluetoothClientId';
        input['includeConnectivityHistory'] = 'includeConnectivityHistory';
        input['connectivityHistoryTimespan'] = 'connectivityHistoryTimespan';

    controller.getNetworkBluetoothClient(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SecurityEventsController

Get singleton instance

The singleton instance of the SecurityEventsController class can be accessed from the API Client.

var controller = lib.SecurityEventsController;

Method: getOrganizationSecurityEvents

List the security events for an organization

function getOrganizationSecurityEvents(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 365 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days.
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 5;
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getOrganizationSecurityEvents(input, function(error, response, context) {

    
    });

Method: getNetworkSecurityEvents

List the security events for a network

function getNetworkSecurityEvents(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 365 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days.
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 5;
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSecurityEvents(input, function(error, response, context) {

    
    });

Method: getNetworkClientSecurityEvents

List the security events for a client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientSecurityEvents(input, callback)

Parameters

Parameter Tags Description
networkId Required TODO: Add a parameter description
clientId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 791 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 791 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 791 days. The default is 31 days.
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

Example Usage

    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 5;
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClientSecurityEvents(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: WebhookLogsController

Get singleton instance

The singleton instance of the WebhookLogsController class can be accessed from the API Client.

var controller = lib.WebhookLogsController;

Method: getOrganizationWebhookLogs

Return the log of webhook POSTs sent

function getOrganizationWebhookLogs(input, callback)

Parameters

Parameter Tags Description
organizationId Required TODO: Add a parameter description
t0 Optional The beginning of the timespan for the data. The maximum lookback period is 90 days from today.
t1 Optional The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
timespan Optional The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.
perPage Optional The number of entries per page returned. Acceptable range is 3 - 1000. Default is 50.
startingAfter Optional A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore Optional A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
url Optional The URL the webhook was sent to

Example Usage

    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 5;
        input['perPage'] = 5;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';
        input['url'] = 'url';

    controller.getOrganizationWebhookLogs(input, function(error, response, context) {

    
    });

Back to List of Controllers