API
Obtain the SSID profile information
Available in 7.1.1 or later
Input Parameters
Type | Notation | Mandatory | Description | |
id | Array | <numlist> | optional | ist the SSID Profile based on id, multiple values are accepted. When omitted, all profiles will be returned. |
Return Parameters
Return JSON
Type | Notation | Description | ||
order | Array | list of <profile_id> | The order of the SSID Profile ID | |
<profile_id> | Object | <SSID_Profile_Obj> | SSID Profile information |
<SSID_Profile_Obj>
Type | Notation | Description | |
name | String | <string> | SSID of the profile |
enable | Boolean | <boolean> | Profile enabled or not |
vlanID | Number | <integer> | VLAN ID of the profile, the field will not appear if use the LAN |
captivePortal | Boolean | <boolean> | Profile will use captive portal or not |
incontrolManaged | Boolean | <boolean> | InControl is managed this profile or not |
broadcast | Boolean | <boolean> | Broadcast the SSID or not |
security | Object | <SSID_Security_Obj> | The security policy and related information |
<SSID_Security_Obj>
Type | Notation | Description | |
policy | String | { WPA2 Personal, WPA/WPA2 Personal } | Security policy of the SSID profile |
wpa2Personal | Object | <WPA2_Personal_Obj> | WPA2 Personal related information |
WpaWpa2Personal | Object | <WPA2_Personal_Obj> | WPA/WPA2 Personal related information |
<WPA2_Personal_Obj>
Type | Notation | Description | |
fastTransition | Boolean | <boolean> | Fast Transition for WPA2, this field will not appear in WPA/WPA2 Personal This config does not take effect in 7.1.1 with WPA2 Enterprise |
key | String | <string> | Key for WPA2 Personal and WPA/WPA2 Personal |
cURL Example
curl -b cookies.txt http://192.168.1.1/api/config.ssid.profile?id=1 2
{ "stat": "ok", "response": { "1": { "name": "Main SSID", "enable": true, "captivePortal": true, "incontrolManaged": false, "broadcast": true, "security": { "policy": "WPA2 Personal", "wpa2Personal": { "fastTransition": true, "key": "pas53or2" } } }, "2": { "name": "Guest SSID", "enable": true, "captivePortal": true, "incontrolManaged": false, "broadcast": true, "vlanId": 1, "security": { "policy": "WPA2 Personal", "wpa2Personal": { "fastTransition": false, "key": "pass3ord" } } }, "order": [ 1, 2 ] } }