<?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 Help with API Get format/syntax in Aerohive Migrated Content</title>
    <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-with-api-get-format-syntax/m-p/78408#M7817</link>
    <description>&lt;P&gt;I've been playing with the API and I've been successful with retrieving data with some of the simple Gets but this one is stumping me.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" alt="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" target="_blank"&gt;GET&lt;/A&gt;&amp;nbsp;&lt;A href="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" alt="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" target="_blank"&gt;/v2/clientlocation/clientpresence{?ownerId,apmac,location,timeUnit,startTime,endTime}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that either apmac or location are required but I am unable to figure out what the correct format for either are.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, using apmac, I have copied the mac address from the devices view in hivemanager with no dashes or colons and it returns no data.  I have also tried it with dashes and colons with the same result.   I've tried the mac address of the BSSID, no returned data.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With "location" I am unable to determine what it means by location from Hivemanager.  I ran the Get to pull in the devices and noticed there was a location field listed for each device that seemed to reference the 360 Plan structure but I have been unable to get any results no matter what I put in there.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation has not been very helpful and I've not been able to locate a good resource online.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or guidance would be much appreciated.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Wed, 04 Mar 2020 23:28:37 GMT</pubDate>
    <dc:creator>boleya</dc:creator>
    <dc:date>2020-03-04T23:28:37Z</dc:date>
    <item>
      <title>Help with API Get format/syntax</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-with-api-get-format-syntax/m-p/78408#M7817</link>
      <description>&lt;P&gt;I've been playing with the API and I've been successful with retrieving data with some of the simple Gets but this one is stumping me.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" alt="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" target="_blank"&gt;GET&lt;/A&gt;&amp;nbsp;&lt;A href="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" alt="https://developer.aerohive.com/docs/api-documentation#!/presence-analytics/getClientListTimeSeriesUsingGET_1" target="_blank"&gt;/v2/clientlocation/clientpresence{?ownerId,apmac,location,timeUnit,startTime,endTime}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that either apmac or location are required but I am unable to figure out what the correct format for either are.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, using apmac, I have copied the mac address from the devices view in hivemanager with no dashes or colons and it returns no data.  I have also tried it with dashes and colons with the same result.   I've tried the mac address of the BSSID, no returned data.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With "location" I am unable to determine what it means by location from Hivemanager.  I ran the Get to pull in the devices and noticed there was a location field listed for each device that seemed to reference the 360 Plan structure but I have been unable to get any results no matter what I put in there.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation has not been very helpful and I've not been able to locate a good resource online.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or guidance would be much appreciated.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 23:28:37 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-with-api-get-format-syntax/m-p/78408#M7817</guid>
      <dc:creator>boleya</dc:creator>
      <dc:date>2020-03-04T23:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with API Get format/syntax</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-with-api-get-format-syntax/m-p/78409#M7818</link>
      <description>&lt;P&gt;We haven't been able to get location to work in our lab yet, but we've had success with this format: &lt;A href="https://cloud-va2.aerohive.com/xapi/v2/clientlocation/clientpresence?apmac=9C5D127D22C0&amp;amp;ownerId=60827&amp;amp;endTime=2020-03-11T08:31:00.000Z&amp;amp;startTime=2020-03-01T08:00:00.000Z&amp;amp;timeUnit=OneDay" alt="https://cloud-va2.aerohive.com/xapi/v2/clientlocation/clientpresence?apmac=9C5D127D22C0&amp;amp;ownerId=60827&amp;amp;endTime=2020-03-11T08:31:00.000Z&amp;amp;startTime=2020-03-01T08:00:00.000Z&amp;amp;timeUnit=OneDay" target="_blank"&gt;https://cloud-va2.aerohive.com/xapi/v2/clientlocation/clientpresence?apmac=9C5D127D22C0&amp;amp;ownerId=60827&amp;amp;endTime=2020-03-11T08:31:00.000Z&amp;amp;startTime=2020-03-01T08:00:00.000Z&amp;amp;timeUnit=OneDay&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted to share that in case it helps. I'll keep looking in to this to see if I can find more for you. &lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 19:54:37 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-with-api-get-format-syntax/m-p/78409#M7818</guid>
      <dc:creator>samantha_lynn</dc:creator>
      <dc:date>2020-03-12T19:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with API Get format/syntax</title>
      <link>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-with-api-get-format-syntax/m-p/78410#M7819</link>
      <description>&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply, let me help you with what I figured out yesterday.   &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the first thing I needed was to enable Presence Analytics, made sense when I stumbled upon it.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the location to work, I needed to know where to retrieve the string to paste into Postman.  To find that, I had to go to ML Insights -&amp;gt; Network 360 Plan and select a building or floor.  Then I retrieved the numerical value from the URL that was unique for every building or floor selected and then I pasted that into Postman.  TADA!  Data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9e228be1393a4865bbc9eb4ca111bd66_0694Q000009I7QWQA0.jpg"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/4592i7DD831D661FB4E56/image-size/large?v=v2&amp;amp;px=999" role="button" title="9e228be1393a4865bbc9eb4ca111bd66_0694Q000009I7QWQA0.jpg" alt="9e228be1393a4865bbc9eb4ca111bd66_0694Q000009I7QWQA0.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 20:58:28 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/aerohive-migrated-content/help-with-api-get-format-syntax/m-p/78410#M7819</guid>
      <dc:creator>boleya</dc:creator>
      <dc:date>2020-03-12T20:58:28Z</dc:date>
    </item>
  </channel>
</rss>

