<?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: PI3.1 API - Rogue APs? in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502273#M1700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did use &lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;RogueApAlarms and not RogueA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;Alarms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is (part of) my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="color: #c678dd; font-size: 8pt; font-family: 'courier new', courier;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt; &lt;SPAN style="color: #c678dd;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #56b6c2;"&gt;Get-Credential&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_server&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"servername"&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #5c6370; font-style: italic;"&gt;# replace this with your servername&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;decryptedPassword&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Runtime.InteropServices.Marshal]&lt;/SPAN&gt;::PtrToStringAuto&lt;SPAN style="color: #c678dd;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Runtime.InteropServices.Marshal]&lt;/SPAN&gt;::SecureStringToBSTR&lt;SPAN style="color: #c678dd;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;.Password&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;base64password&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Convert]&lt;/SPAN&gt;::ToBase64String&lt;SPAN style="color: #c678dd;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[System.Text.Encoding]&lt;/SPAN&gt;::Default.GetBytes&lt;SPAN style="color: #c678dd;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;.UserName&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;decryptedPassword&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_path&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"webacs/api/v3/data"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_module&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"RogueApAlarms"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;extraurl&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"&amp;amp;severity=ne(CLEARED)&amp;amp;severity=ne(INFORMATION)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;baseuri&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.cisco.com/" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_server&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_path&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_module&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;?.maxResults=1000&amp;amp;.full=true&amp;amp;_ctx.domain=ROOT-DOMAIN&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;extraurl&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Net.ServicePointManager]&lt;/SPAN&gt;::SecurityProtocol &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Net.SecurityProtocolType]&lt;/SPAN&gt;::Tls12&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;RestSession&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; "New rest session started"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;result&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #56b6c2;"&gt;Invoke-RestMethod&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Uri &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;baseuri&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Method Get &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;ContentType &lt;SPAN style="color: #98c379;"&gt;"application/json"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Headers @{&lt;SPAN style="color: #98c379;"&gt;"Authorization"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"Basic &lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;base64password&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;} &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;SessionVariable RestSession&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c678dd; font-family: 'courier new', courier; font-size: 8pt;"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; "Excisting rest session used"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;result&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #56b6c2;"&gt;Invoke-RestMethod&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Uri &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;baseuri&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Method Get &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;ContentType &lt;SPAN style="color: #98c379;"&gt;"application/json"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Headers @{&lt;SPAN style="color: #98c379;"&gt;"Authorization"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"Basic &lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;base64password&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;} &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;WebSession &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;RestSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The result I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;PS H:\&amp;gt; C:\Users\phoving1\Dev\PrimeAPI\rogueapalarms.ps1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Excisting rest session used&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;At C:\Users\phoving1\Dev\PrimeAPI\rogueapalarms.ps1:25 char:15&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;+ ...&amp;nbsp;&amp;nbsp; $result = Invoke-RestMethod -Uri $baseuri -Method Get -ContentType&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;PS H:\&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2017 06:43:56 GMT</pubDate>
    <dc:creator>P.B.Hoving</dc:creator>
    <dc:date>2017-09-04T06:43:56Z</dc:date>
    <item>
      <title>PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502267#M1694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, is there a way to easily get Rogue AP information through the PI API instead of having to go through the "get alarms" call or "get reports" call?&amp;nbsp; If not, are there plans to do so in the future to help with PCI compliance reporting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is the better way to go through CMX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 18:46:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502267#M1694</guid>
      <dc:creator>biwong</dc:creator>
      <dc:date>2017-08-31T18:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502268#M1695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in 3.1, no.&amp;nbsp; We added &lt;A href="https://developer.cisco.com/media/pi_3_2_docs-v3/api/v3/data/RogueApAlarms@_docs.html"&gt;GET data/RogueApAlarms&lt;/A&gt; in 3.2 though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 20:37:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502268#M1695</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2017-08-31T20:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502269#M1696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some tests, is it possible that the &lt;STRONG&gt;.full=true&lt;/STRONG&gt; syntax does not work with &lt;STRONG&gt;GET data/RogueAPAlarms&lt;/STRONG&gt; ?&lt;/P&gt;&lt;P&gt;I get a 500 internal server error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:34:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502269#M1696</guid>
      <dc:creator>P.B.Hoving</dc:creator>
      <dc:date>2017-09-01T08:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502270#M1697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.full=true is supported for the RogueApAlarms resource.&amp;nbsp; The capitalization of the URL does matter, so it should be RogueApAlarms and not RogueA&lt;STRONG&gt;P&lt;/STRONG&gt;Alarms, but that would (in this case) yield a 404 error rather than a 500, so I'm guessing that's just a typo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the content of the error?&amp;nbsp; Do requests without .full=true or requests for particular alarms work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 15:13:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502270#M1697</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2017-09-01T15:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502271#M1698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Spencer, will see about upgrading to 3.2.&amp;nbsp; As a future request, it'll also be good if there's a way to classify rogues directly to PI.&amp;nbsp; I'm guessing one way to do this is to create a PI template to classify rogues (not sure if you can do that as a template) and then do an API call to the template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 15:32:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502271#M1698</guid>
      <dc:creator>biwong</dc:creator>
      <dc:date>2017-09-01T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502272#M1699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion.&amp;nbsp; We'll take it into consideration &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 15:43:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502272#M1699</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2017-09-01T15:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502273#M1700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did use &lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;RogueApAlarms and not RogueA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;Alarms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is (part of) my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="color: #c678dd; font-size: 8pt; font-family: 'courier new', courier;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt; &lt;SPAN style="color: #c678dd;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #56b6c2;"&gt;Get-Credential&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_server&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"servername"&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #5c6370; font-style: italic;"&gt;# replace this with your servername&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;decryptedPassword&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Runtime.InteropServices.Marshal]&lt;/SPAN&gt;::PtrToStringAuto&lt;SPAN style="color: #c678dd;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Runtime.InteropServices.Marshal]&lt;/SPAN&gt;::SecureStringToBSTR&lt;SPAN style="color: #c678dd;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;.Password&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;base64password&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Convert]&lt;/SPAN&gt;::ToBase64String&lt;SPAN style="color: #c678dd;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[System.Text.Encoding]&lt;/SPAN&gt;::Default.GetBytes&lt;SPAN style="color: #c678dd;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;getCred&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;.UserName&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;decryptedPassword&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_path&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"webacs/api/v3/data"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_module&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"RogueApAlarms"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;extraurl&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"&amp;amp;severity=ne(CLEARED)&amp;amp;severity=ne(INFORMATION)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;baseuri&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.cisco.com/" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_server&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_path&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;rest_module&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;?.maxResults=1000&amp;amp;.full=true&amp;amp;_ctx.domain=ROOT-DOMAIN&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;extraurl&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Net.ServicePointManager]&lt;/SPAN&gt;::SecurityProtocol &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;[Net.SecurityProtocolType]&lt;/SPAN&gt;::Tls12&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #c678dd;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;RestSession&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #d19a66;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; "New rest session started"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;result&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #56b6c2;"&gt;Invoke-RestMethod&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Uri &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;baseuri&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Method Get &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;ContentType &lt;SPAN style="color: #98c379;"&gt;"application/json"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Headers @{&lt;SPAN style="color: #98c379;"&gt;"Authorization"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"Basic &lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;base64password&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;} &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;SessionVariable RestSession&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c678dd; font-family: 'courier new', courier; font-size: 8pt;"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; "Excisting rest session used"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;result&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #56b6c2;"&gt;Invoke-RestMethod&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Uri &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;baseuri&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Method Get &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;ContentType &lt;SPAN style="color: #98c379;"&gt;"application/json"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;Headers @{&lt;SPAN style="color: #98c379;"&gt;"Authorization"&lt;/SPAN&gt; &lt;SPAN style="color: #c678dd;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #98c379;"&gt;"Basic &lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;base64password&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;"&lt;/SPAN&gt;} &lt;SPAN style="color: #c678dd;"&gt;-&lt;/SPAN&gt;WebSession &lt;SPAN style="color: #c678dd;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;RestSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The result I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;PS H:\&amp;gt; C:\Users\phoving1\Dev\PrimeAPI\rogueapalarms.ps1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Excisting rest session used&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;At C:\Users\phoving1\Dev\PrimeAPI\rogueapalarms.ps1:25 char:15&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;+ ...&amp;nbsp;&amp;nbsp; $result = Invoke-RestMethod -Uri $baseuri -Method Get -ContentType&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;PS H:\&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 06:43:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502273#M1700</guid>
      <dc:creator>P.B.Hoving</dc:creator>
      <dc:date>2017-09-04T06:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502274#M1701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW:&lt;/P&gt;&lt;P&gt;If I remove the .full=true syntax, I get results. :-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PS H:\&amp;gt; $result.queryResponse.entityId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #text&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RogueApAlarms &lt;A class="jive-link-external-small" href="https://gollum.ic.uva.nl/webacs/api/v3/data/RogueApAlarms/7273982985" rel="nofollow" target="_blank"&gt;https://servername/webacs/api/v3/data/RogueApAlarms/7273982985&lt;/A&gt; 7273982985&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RogueApAlarms &lt;A class="jive-link-external-small" href="https://gollum.ic.uva.nl/webacs/api/v3/data/RogueApAlarms/7273982986" rel="nofollow" target="_blank"&gt;https://servername/webacs/api/v3/data/RogueApAlarms/7273982986&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 7273982986&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 06:51:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502274#M1701</guid>
      <dc:creator>P.B.Hoving</dc:creator>
      <dc:date>2017-09-04T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502275#M1702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul, PowerShell is dropping some of the error response on the floor.&amp;nbsp; I can't remember off-the-top how to get it to return the full error response.&amp;nbsp; Could you please try the same request in a web browser?&amp;nbsp; In addition to the 500 response code there should be an error response body that will give us more insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:46:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502275#M1702</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2017-09-05T15:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502276#M1703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;P&gt;I cannot use the webbrowser. ("North Bound API users are not allowed to login via the web GUI.")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though I managed to get more info using powershell. This is a snippet:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;$baseuri ="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://servername/webacs/api/v3/data/RogueApAlarms?.full=true&amp;amp;.maxResults=1000&amp;amp;_ctx.domain=ROOT-DOMAIN&amp;amp;severity=ne(CLEARED)&amp;amp;severity=ne(INFORMATION" rel="nofollow" target="_blank"&gt;https://servername/webacs/api/v3/data/RogueApAlarms?.full=true&amp;amp;.maxResults=1000&amp;amp;_ctx.domain=ROOT-DOMAIN&amp;amp;severity=ne(CLEARED)&amp;amp;severity=ne(INFORMATION&lt;/A&gt;&lt;SPAN&gt;)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;try {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $result = Invoke-RestMethod -Uri $baseuri -Method Get -ContentType "application/json" -Headers @{"Authorization" = "Basic $base64password"} -WebSession $RestSession&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;} catch {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $response = $_.Exception.Response.GetResponseStream()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $reader = New-Object System.IO.StreamReader($response)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $reader.BaseStream.Position = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $reader.DiscardBufferedData()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $responseBody = $reader.ReadToEnd()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data in $responseBody is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;lt;?xml version="1.0" ?&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;lt;errorDocument&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;httpResponseCode&amp;gt;500&amp;lt;/httpResponseCode&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;httpMethod&amp;gt;GET&amp;lt;/httpMethod&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;message&amp;gt;could not execute query; SQL [select this_.ID as ID2489_0_, this_.Source as Source2489_0_, this_.Severity as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;this_.ID asc]; nested exception is org.hibernate.exception.SQLGrammarExcep&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;tion: could not execute query&amp;lt;/exception&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;uriPath&amp;gt;data/RogueApAlarms&amp;lt;/uriPath&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;queryParams&amp;gt;{.full=[true], .maxResults=[1000], _ctx.domain=[ROOT-DOMAIN], severity=[ne(CLEARED), ne(INFORMATION)]}&amp;lt;/queryParams&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;lt;/errorDocument&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(full text in the attachment)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 06:06:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502276#M1703</guid>
      <dc:creator>P.B.Hoving</dc:creator>
      <dc:date>2017-09-07T06:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502277#M1704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the underlying data structures were not created on your server.&amp;nbsp; What was your upgrade path?&amp;nbsp; For example, one upgrade path might be 2.2 fresh install -&amp;gt; 3.0 -&amp;gt; 3.0 MR2 -&amp;gt; 3.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:18:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502277#M1704</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2017-09-07T16:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502278#M1705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My &lt;SPAN lang="en"&gt;colleague has twice a week contact with the Prime business unit. Maybe it is better if he discuss this issue with them. (It gets a long thread this way.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;When the issue is solved I will post it for others to learn. :-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 07:14:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502278#M1705</guid>
      <dc:creator>P.B.Hoving</dc:creator>
      <dc:date>2017-09-08T07:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502279#M1706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Paul,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Did you end up resolving this issue? I am also experiencing the same issue (receiving a "httpResponseCode": 500, when trying to use the .full=true query parameter for &lt;A class="resourceUrl" href="https://developer.cisco.com/media/pi_3_2_docs-v3/api/v3/data/RogueApAlarms.html" style="color: #0094c2; font-family: Verdana; font-size: 12px;"&gt;/webacs/api/v3/data/RogueApAlarms&lt;/A&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 22:27:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502279#M1706</guid>
      <dc:creator>tplant</dc:creator>
      <dc:date>2017-11-02T22:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: PI3.1 API - Rogue APs?</title>
      <link>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502280#M1707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tested in the udated PI version 3.2.1, and I do not get any 500 internal server errors! :-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next problem to solve is the paging on a volatile dataset. I get a lot of changed data during the query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 13:20:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pi3-1-api-rogue-aps/m-p/3502280#M1707</guid>
      <dc:creator>P.B.Hoving</dc:creator>
      <dc:date>2017-11-14T13:20:14Z</dc:date>
    </item>
  </channel>
</rss>

