Hi!
I'm a learn by example type and can't seem to find anything to help me get the syntax right to update AP information using the "add_access_points" API (below)
Does anyone have sample code with the correct way to use "requests" to update x, y locations for a given ap_id?
Thank you!
--Doug
Access Point Add/Update
URL
|
https://amp.airwave.com/visualrf/add_access_points
|
XML Schema
|
visualrf_site_access_points.xsd
|
Parameters
|
site_id: ID of the Site to add access points
xml XML: document following the above schema
When adding a planned AP, omit the id attribute and supply manufacturer and model Planning requires radio phy attribute Only AP name, x and y may be updated Only radio beamwidth, orientation, gain and mount may be updated
|
Example:
<?xml version='1.0' encoding='ISO-8859-1'?>
<visualrf:site_access_points xmlns:visualrf='http://www.airwave.com' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' version='1'>
<ap id='12660' x='50' y='80'>
<radio index='1' beamwidth='180' orientation='90' gain='2.5' mount='ceiling'/>
</ap>
</visualrf:site_access_points>