Sample Request
curl -X POST --cookie auth_token=$cookie http://134.141.242.93/nsight-ui/api/v1/ create-asa-schedule?treeSelection=%2FSystem -H "Content-Type: application/json" -d { "2GHz": { "chR":[ 1, 11 ], "dcTh": -90, "th": -105 }, "5GHz": { "chR":[ 36, 165 ], "dcTh": -90, "th": -105 }, "act": true, "ap": "ap8533-5C21F1", "apid": [{ "ap": "ap8533-5C21F1", "apid": "74-67-F7-5C-21-F1", "id": "extModel4069-3", "rfd": "test" }], "chGN": "custom", "chts": [ 1, 2, 3, 4, 5 ], "dt": 1000, "en": "enable", "pName": "test", "rf": "both", "sch": "test1", "sd":{ "dm": "", "dw": "", "edt": "2018-10-19", "rec": "Daily", "sdt": "2018-10-19", "t": "00:00" }, "st": 2 }}
Query String Parameters
Parameter | Required/Optional | Description | Data Type |
---|---|---|---|
treeSelection | Required | Configures ASA schedule across all sites. Default value is /System. | String |
Request Body Parameters
Parameter | Description | Data Type |
---|---|---|
chR | The channel range. | Integer Array |
dcTh | The duty cycle threshold in dB. | Integer |
th | The power threshold in dB. | Integer |
act | Active flag. | Boolean |
chGN | The chart group name - Utilization/Physical Layer/Interference/Spectrum detail/custom | String |
chts | Charts | Integer Array |
dt | The dwell time. | Integer |
pName | The profile name. | String |
rf | The RF mode. | String |
sch | Schedule | String |
dm | Month | Integer |
dw | Week | Integer |
edt | End date | String |
rec | Recurrence | String |
t | Time | String |
sdt | Start date | Timestamp |
Sample Response (200 OK)
{ "success":true, "return_code":0, "err":"none" }