<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XXC Api to update AP description in ExtremeCloud IQ Controller</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68461#M81</link>
    <description>Hi Franz&lt;BR /&gt;&lt;BR /&gt;I would recommend in the early stages to use a tool like Insomnia or Postman to test out your calls while you get used to the formatting etc.&amp;nbsp; I have attached a json from my lab but it's better if you pull your data first with a GET then make your change with a PUT.&amp;nbsp; In this example I changed the description from NULL to "GARETH Test"&lt;BR /&gt;&lt;BR /&gt;Screenshots from insomnia:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3fc6ea4d4f84403eb0e85f5d6134e753.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2378i96014387AECE29BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="3fc6ea4d4f84403eb0e85f5d6134e753.png" alt="3fc6ea4d4f84403eb0e85f5d6134e753.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4db89606e3e340358c8a54b9bc4223d8.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2821i4FAE82CACE7EA3A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="4db89606e3e340358c8a54b9bc4223d8.png" alt="4db89606e3e340358c8a54b9bc4223d8.png" /&gt;&lt;/span&gt;&lt;BR /&gt;GUI:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="67867366db2345818362ac5ca9c09244.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/607i667A1128A2F34CC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="67867366db2345818362ac5ca9c09244.png" alt="67867366db2345818362ac5ca9c09244.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I hope this helps&lt;BR /&gt;&lt;BR /&gt;-Gareth</description>
    <pubDate>Fri, 21 Jan 2022 13:04:26 GMT</pubDate>
    <dc:creator>Gareth_Mitchell</dc:creator>
    <dc:date>2022-01-21T13:04:26Z</dc:date>
    <item>
      <title>XXC Api to update AP description</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68457#M77</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We are trying to use the API to update de description field of an AP.&lt;BR /&gt;Looking at the API documentation the following fields are required to PUT:&lt;BR /&gt;&lt;SPAN&gt;serialNumber, hardwareType and apName&lt;BR /&gt;&lt;/SPAN&gt;But when trying to use the PUT call I get the following error:&lt;BR /&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;Validation of \"ip\" failed; ip_addr/gateway/netmask should be set&lt;SPAN class="Apple-converted-space"&gt; or&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;"Validation of \"radios\" failed; may not be null"&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;All APs used DHCP to get their IP address and IpAddress is not a mandatory field, so how should I interpret this message?&lt;BR /&gt;Or are other fields also mandatory?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Franz&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 18:19:05 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68457#M77</guid>
      <dc:creator>FranzS</dc:creator>
      <dc:date>2022-01-19T18:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: XXC Api to update AP description</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68458#M78</link>
      <description>Franz,&lt;BR /&gt;If you use the base API, you need to read the full config, modify what you want and push it back to the XCC.&lt;BR /&gt;Another way is to use the xccsdk library: https://test.pypi.org/project/pyxccsdk/ which makes things a little bit easier.&lt;BR /&gt;Mig</description>
      <pubDate>Thu, 20 Jan 2022 12:04:17 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68458#M78</guid>
      <dc:creator>Miguel-Angel_RO</dc:creator>
      <dc:date>2022-01-20T12:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: XXC Api to update AP description</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68459#M79</link>
      <description>Hi Franz&lt;BR /&gt;&lt;BR /&gt;In addition to what Mig said, you can also use the XCC GUI to find out what API calls it makes, see this article: https://extremeportal.force.com/ExtrArticleDetail?an=000093035&amp;amp;&lt;BR /&gt;&lt;BR /&gt;-Gareth</description>
      <pubDate>Thu, 20 Jan 2022 12:42:48 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68459#M79</guid>
      <dc:creator>Gareth_Mitchell</dc:creator>
      <dc:date>2022-01-20T12:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: XXC Api to update AP description</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68460#M80</link>
      <description>We are pretty new to the use of this API.&lt;BR /&gt;Getting info out of the system is no issue, but when trying to send info back, we keep running into issues.&lt;BR /&gt;Is there perhaps somewhere a working example of a json file for an AP?&lt;BR /&gt;BTW we are trying to use powershell instead of python, I can try python, but I don't think that will be the issue?&lt;BR /&gt;Even when I read the complete AP config from the API and I use that to put it back into to the AP with the API it is not working (different error Cannot deserialize instance of ...)</description>
      <pubDate>Thu, 20 Jan 2022 17:58:08 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68460#M80</guid>
      <dc:creator>FranzS</dc:creator>
      <dc:date>2022-01-20T17:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: XXC Api to update AP description</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68461#M81</link>
      <description>Hi Franz&lt;BR /&gt;&lt;BR /&gt;I would recommend in the early stages to use a tool like Insomnia or Postman to test out your calls while you get used to the formatting etc.&amp;nbsp; I have attached a json from my lab but it's better if you pull your data first with a GET then make your change with a PUT.&amp;nbsp; In this example I changed the description from NULL to "GARETH Test"&lt;BR /&gt;&lt;BR /&gt;Screenshots from insomnia:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3fc6ea4d4f84403eb0e85f5d6134e753.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2378i96014387AECE29BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="3fc6ea4d4f84403eb0e85f5d6134e753.png" alt="3fc6ea4d4f84403eb0e85f5d6134e753.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4db89606e3e340358c8a54b9bc4223d8.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2821i4FAE82CACE7EA3A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="4db89606e3e340358c8a54b9bc4223d8.png" alt="4db89606e3e340358c8a54b9bc4223d8.png" /&gt;&lt;/span&gt;&lt;BR /&gt;GUI:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="67867366db2345818362ac5ca9c09244.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/607i667A1128A2F34CC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="67867366db2345818362ac5ca9c09244.png" alt="67867366db2345818362ac5ca9c09244.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I hope this helps&lt;BR /&gt;&lt;BR /&gt;-Gareth</description>
      <pubDate>Fri, 21 Jan 2022 13:04:26 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68461#M81</guid>
      <dc:creator>Gareth_Mitchell</dc:creator>
      <dc:date>2022-01-21T13:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: XXC Api to update AP description</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68462#M82</link>
      <description>Hi Franz,&lt;BR /&gt;Attached is a sample python script exemplifying how to interact directly with the REST API to change a given AP's description. Its not Powershell, but&amp;nbsp; should provide with with the structure and list of operations that you could translate.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As &lt;A class="user-content-mention" data-sign="@" data-contactkey="3af6bc06-07be-4e65-a47e-53a425b3cb6b" data-tag-text="@Miguel-Angel RODRIGUEZ-GARCIA" href="https://community.extremenetworks.com/network/members/profile?UserKey=3af6bc06-07be-4e65-a47e-53a425b3cb6b" data-itemmentionkey="61dce8dd-c1de-44bd-afe4-7d2e0be55758"&gt;@Miguel-Angel RODRIGUEZ-GARCIA&lt;/A&gt; mentions, we would actually recommend you consider the XCC Python SDK (&lt;SPAN&gt;https://test.pypi.org/project/pyxccsdk/). The SDK abstracts most of the REST API operations as standard Python objects therefore greatly simplifying your application development.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;​​</description>
      <pubDate>Mon, 24 Jan 2022 18:32:46 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-controller/xxc-api-to-update-ap-description/m-p/68462#M82</guid>
      <dc:creator>Paulo_Francisco</dc:creator>
      <dc:date>2022-01-24T18:32:46Z</dc:date>
    </item>
  </channel>
</rss>

