Set Package Aggregation - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

AP Information

Set Package Aggregation

Example: set package aggregation to 1
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"pktAggregate" : "1"}' https://localhost/api/2.0/wifi/ap/pktAggregate
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Parameter Restrictions
The valid parameter is 0 or 1.
Get Country Code
Example: get country code
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/countryCode
Reply
{"countryCode":"1","success":"true","getAt":"2013-05-22 08:06:44"}
Set Country Code
Example: set country code to CN
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"countryCode" : "CN"}' https://localhost/api/2.0/wifi/ap/countryCode
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Parameter Restrictions
The valid parameter must have only 2 characters, for example, TW for Taiwan.
Get WMM Capable
Example: get WMM capable
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/wmmCapable
Reply
{"wmmCapable":"0","success":"true","getAt":"2013-05-22 08:06:44"}
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-34
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents