Retrieves a list of the WLANs.
curl -X GET "https://localhost/mc2/rest/aps?page=&pageSize=&sort=&qsearch=&objGroupId=&devid=&apnodemac=&wsubjId=&status=&secproto=&secauth=&protocol=&channel=&channelnumber=&signal=&addTime=&tag=&macId=&ssid=&dupDetect=&allColumns="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApsApi;
import java.io.File;
import java.util.*;
public class ApsApiExample {
public static void main(String[] args) {
ApsApi apiInstance = new ApsApi();
Integer page = 56; // Integer | Results page to be retrieved
Integer pageSize = 56; // Integer | Number of records per page
String sort = sort_example; // String | Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"})
String qsearch = qsearch_example; // String | Search string
String objGroupId = objGroupId_example; // String | WLAN AP Name
String devid = devid_example; // String | WLAN Device ID
String apnodemac = apnodemac_example; // String | MAC
String wsubjId = wsubjId_example; // String | WLAN Group
String status = status_example; // String | WLAN status
String secproto = secproto_example; // String | Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs
String secauth = secauth_example; // String | Security Settings - Authentication Methods (1: PSK, 2: 802.1X)
String protocol = protocol_example; // String | Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N)
String channel = channel_example; // String | Frequency
String channelnumber = channelnumber_example; // String | Channel
String signal = signal_example; // String | Signal strength
String addTime = addTime_example; // String | Registered
String tag = tag_example; // String | Tag
String macId = macId_example; // String | MAC
String ssid = ssid_example; // String | SSID
Boolean dupDetect = true; // Boolean | Duplicated WLANs
Boolean allColumns = true; // Boolean | Viewing all columns
try {
apiInstance.getAPs(page, pageSize, sort, qsearch, objGroupId, devid, apnodemac, wsubjId, status, secproto, secauth, protocol, channel, channelnumber, signal, addTime, tag, macId, ssid, dupDetect, allColumns);
} catch (ApiException e) {
System.err.println("Exception when calling ApsApi#getAPs");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ApsApi;
public class ApsApiExample {
public static void main(String[] args) {
ApsApi apiInstance = new ApsApi();
Integer page = 56; // Integer | Results page to be retrieved
Integer pageSize = 56; // Integer | Number of records per page
String sort = sort_example; // String | Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"})
String qsearch = qsearch_example; // String | Search string
String objGroupId = objGroupId_example; // String | WLAN AP Name
String devid = devid_example; // String | WLAN Device ID
String apnodemac = apnodemac_example; // String | MAC
String wsubjId = wsubjId_example; // String | WLAN Group
String status = status_example; // String | WLAN status
String secproto = secproto_example; // String | Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs
String secauth = secauth_example; // String | Security Settings - Authentication Methods (1: PSK, 2: 802.1X)
String protocol = protocol_example; // String | Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N)
String channel = channel_example; // String | Frequency
String channelnumber = channelnumber_example; // String | Channel
String signal = signal_example; // String | Signal strength
String addTime = addTime_example; // String | Registered
String tag = tag_example; // String | Tag
String macId = macId_example; // String | MAC
String ssid = ssid_example; // String | SSID
Boolean dupDetect = true; // Boolean | Duplicated WLANs
Boolean allColumns = true; // Boolean | Viewing all columns
try {
apiInstance.getAPs(page, pageSize, sort, qsearch, objGroupId, devid, apnodemac, wsubjId, status, secproto, secauth, protocol, channel, channelnumber, signal, addTime, tag, macId, ssid, dupDetect, allColumns);
} catch (ApiException e) {
System.err.println("Exception when calling ApsApi#getAPs");
e.printStackTrace();
}
}
}
Integer *page = 56; // Results page to be retrieved (default to 1)
Integer *pageSize = 56; // Number of records per page (default to 30)
String *sort = sort_example; // Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"}) (optional)
String *qsearch = qsearch_example; // Search string (optional)
String *objGroupId = objGroupId_example; // WLAN AP Name (optional)
String *devid = devid_example; // WLAN Device ID (optional)
String *apnodemac = apnodemac_example; // MAC (optional)
String *wsubjId = wsubjId_example; // WLAN Group (optional)
String *status = status_example; // WLAN status (optional)
String *secproto = secproto_example; // Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs (optional)
String *secauth = secauth_example; // Security Settings - Authentication Methods (1: PSK, 2: 802.1X) (optional)
String *protocol = protocol_example; // Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N) (optional)
String *channel = channel_example; // Frequency (optional)
String *channelnumber = channelnumber_example; // Channel (optional)
String *signal = signal_example; // Signal strength (optional)
String *addTime = addTime_example; // Registered (optional)
String *tag = tag_example; // Tag (optional)
String *macId = macId_example; // MAC (optional)
String *ssid = ssid_example; // SSID (optional)
Boolean *dupDetect = true; // Duplicated WLANs (optional) (default to false)
Boolean *allColumns = true; // Viewing all columns (optional)
ApsApi *apiInstance = [[ApsApi alloc] init];
// List WLANs
[apiInstance getAPsWith:page
pageSize:pageSize
sort:sort
qsearch:qsearch
objGroupId:objGroupId
devid:devid
apnodemac:apnodemac
wsubjId:wsubjId
status:status
secproto:secproto
secauth:secauth
protocol:protocol
channel:channel
channelnumber:channelnumber
signal:signal
addTime:addTime
tag:tag
macId:macId
ssid:ssid
dupDetect:dupDetect
allColumns:allColumns
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var GenianNacRestApi = require('genian_nac_rest_api');
var api = new GenianNacRestApi.ApsApi()
var page = 56; // {Integer} Results page to be retrieved
var pageSize = 56; // {Integer} Number of records per page
var opts = {
'sort': sort_example, // {String} Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"})
'qsearch': qsearch_example, // {String} Search string
'objGroupId': objGroupId_example, // {String} WLAN AP Name
'devid': devid_example, // {String} WLAN Device ID
'apnodemac': apnodemac_example, // {String} MAC
'wsubjId': wsubjId_example, // {String} WLAN Group
'status': status_example, // {String} WLAN status
'secproto': secproto_example, // {String} Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs
'secauth': secauth_example, // {String} Security Settings - Authentication Methods (1: PSK, 2: 802.1X)
'protocol': protocol_example, // {String} Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N)
'channel': channel_example, // {String} Frequency
'channelnumber': channelnumber_example, // {String} Channel
'signal': signal_example, // {String} Signal strength
'addTime': addTime_example, // {String} Registered
'tag': tag_example, // {String} Tag
'macId': macId_example, // {String} MAC
'ssid': ssid_example, // {String} SSID
'dupDetect': true, // {Boolean} Duplicated WLANs
'allColumns': true // {Boolean} Viewing all columns
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.getAPs(page, pageSize, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class getAPsExample
{
public void main()
{
var apiInstance = new ApsApi();
var page = 56; // Integer | Results page to be retrieved (default to 1)
var pageSize = 56; // Integer | Number of records per page (default to 30)
var sort = sort_example; // String | Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"}) (optional)
var qsearch = qsearch_example; // String | Search string (optional)
var objGroupId = objGroupId_example; // String | WLAN AP Name (optional)
var devid = devid_example; // String | WLAN Device ID (optional)
var apnodemac = apnodemac_example; // String | MAC (optional)
var wsubjId = wsubjId_example; // String | WLAN Group (optional)
var status = status_example; // String | WLAN status (optional)
var secproto = secproto_example; // String | Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs (optional)
var secauth = secauth_example; // String | Security Settings - Authentication Methods (1: PSK, 2: 802.1X) (optional)
var protocol = protocol_example; // String | Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N) (optional)
var channel = channel_example; // String | Frequency (optional)
var channelnumber = channelnumber_example; // String | Channel (optional)
var signal = signal_example; // String | Signal strength (optional)
var addTime = addTime_example; // String | Registered (optional)
var tag = tag_example; // String | Tag (optional)
var macId = macId_example; // String | MAC (optional)
var ssid = ssid_example; // String | SSID (optional)
var dupDetect = true; // Boolean | Duplicated WLANs (optional) (default to false)
var allColumns = true; // Boolean | Viewing all columns (optional)
try
{
// List WLANs
apiInstance.getAPs(page, pageSize, sort, qsearch, objGroupId, devid, apnodemac, wsubjId, status, secproto, secauth, protocol, channel, channelnumber, signal, addTime, tag, macId, ssid, dupDetect, allColumns);
}
catch (Exception e)
{
Debug.Print("Exception when calling ApsApi.getAPs: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\ApsApi();
$page = 56; // Integer | Results page to be retrieved
$pageSize = 56; // Integer | Number of records per page
$sort = sort_example; // String | Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"})
$qsearch = qsearch_example; // String | Search string
$objGroupId = objGroupId_example; // String | WLAN AP Name
$devid = devid_example; // String | WLAN Device ID
$apnodemac = apnodemac_example; // String | MAC
$wsubjId = wsubjId_example; // String | WLAN Group
$status = status_example; // String | WLAN status
$secproto = secproto_example; // String | Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs
$secauth = secauth_example; // String | Security Settings - Authentication Methods (1: PSK, 2: 802.1X)
$protocol = protocol_example; // String | Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N)
$channel = channel_example; // String | Frequency
$channelnumber = channelnumber_example; // String | Channel
$signal = signal_example; // String | Signal strength
$addTime = addTime_example; // String | Registered
$tag = tag_example; // String | Tag
$macId = macId_example; // String | MAC
$ssid = ssid_example; // String | SSID
$dupDetect = true; // Boolean | Duplicated WLANs
$allColumns = true; // Boolean | Viewing all columns
try {
$api_instance->getAPs($page, $pageSize, $sort, $qsearch, $objGroupId, $devid, $apnodemac, $wsubjId, $status, $secproto, $secauth, $protocol, $channel, $channelnumber, $signal, $addTime, $tag, $macId, $ssid, $dupDetect, $allColumns);
} catch (Exception $e) {
echo 'Exception when calling ApsApi->getAPs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ApsApi;
my $api_instance = WWW::SwaggerClient::ApsApi->new();
my $page = 56; # Integer | Results page to be retrieved
my $pageSize = 56; # Integer | Number of records per page
my $sort = sort_example; # String | Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"})
my $qsearch = qsearch_example; # String | Search string
my $objGroupId = objGroupId_example; # String | WLAN AP Name
my $devid = devid_example; # String | WLAN Device ID
my $apnodemac = apnodemac_example; # String | MAC
my $wsubjId = wsubjId_example; # String | WLAN Group
my $status = status_example; # String | WLAN status
my $secproto = secproto_example; # String | Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs
my $secauth = secauth_example; # String | Security Settings - Authentication Methods (1: PSK, 2: 802.1X)
my $protocol = protocol_example; # String | Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N)
my $channel = channel_example; # String | Frequency
my $channelnumber = channelnumber_example; # String | Channel
my $signal = signal_example; # String | Signal strength
my $addTime = addTime_example; # String | Registered
my $tag = tag_example; # String | Tag
my $macId = macId_example; # String | MAC
my $ssid = ssid_example; # String | SSID
my $dupDetect = true; # Boolean | Duplicated WLANs
my $allColumns = true; # Boolean | Viewing all columns
eval {
$api_instance->getAPs(page => $page, pageSize => $pageSize, sort => $sort, qsearch => $qsearch, objGroupId => $objGroupId, devid => $devid, apnodemac => $apnodemac, wsubjId => $wsubjId, status => $status, secproto => $secproto, secauth => $secauth, protocol => $protocol, channel => $channel, channelnumber => $channelnumber, signal => $signal, addTime => $addTime, tag => $tag, macId => $macId, ssid => $ssid, dupDetect => $dupDetect, allColumns => $allColumns);
};
if ($@) {
warn "Exception when calling ApsApi->getAPs: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ApsApi()
page = 56 # Integer | Results page to be retrieved (default to 1)
pageSize = 56 # Integer | Number of records per page (default to 30)
sort = sort_example # String | Sorting criteria in the JSON ({"field": "ColumnName", "dir": "Direction"}) (optional)
qsearch = qsearch_example # String | Search string (optional)
objGroupId = objGroupId_example # String | WLAN AP Name (optional)
devid = devid_example # String | WLAN Device ID (optional)
apnodemac = apnodemac_example # String | MAC (optional)
wsubjId = wsubjId_example # String | WLAN Group (optional)
status = status_example # String | WLAN status (optional)
secproto = secproto_example # String | Security Settings - Protocol (1:OPEN, 2:WEP, 3:WPA, 4:WPA2, 5:WPAs (optional)
secauth = secauth_example # String | Security Settings - Authentication Methods (1: PSK, 2: 802.1X) (optional)
protocol = protocol_example # String | Protocol (1: A, 2: B ,4: G, 6: B/G, 9: A/N, 12: G/N, 14: B/G/N, 16: AC, 24: AC/N) (optional)
channel = channel_example # String | Frequency (optional)
channelnumber = channelnumber_example # String | Channel (optional)
signal = signal_example # String | Signal strength (optional)
addTime = addTime_example # String | Registered (optional)
tag = tag_example # String | Tag (optional)
macId = macId_example # String | MAC (optional)
ssid = ssid_example # String | SSID (optional)
dupDetect = true # Boolean | Duplicated WLANs (optional) (default to false)
allColumns = true # Boolean | Viewing all columns (optional)
try:
# List WLANs
api_instance.get_a_ps(page, pageSize, sort=sort, qsearch=qsearch, objGroupId=objGroupId, devid=devid, apnodemac=apnodemac, wsubjId=wsubjId, status=status, secproto=secproto, secauth=secauth, protocol=protocol, channel=channel, channelnumber=channelnumber, signal=signal, addTime=addTime, tag=tag, macId=macId, ssid=ssid, dupDetect=dupDetect, allColumns=allColumns)
except ApiException as e:
print("Exception when calling ApsApi->getAPs: %s\n" % e)