<?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: location_id always empty in ExtremeCloud IQ Developer Community</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-developer/location-id-always-empty/m-p/89261#M28</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;There is a view option with that endpoint. By default it uses the basic view which doesn't provide the location information. Currently those fields are returned with a null value but soon they will be updated to not show at all. You can change the view by adding ?views=detail to the end of the url. &lt;SPAN&gt;Currently supported views are basic, detail, status, client, location, full. If you are just looking for the location id you could use &lt;A href="https://api.extremecloudiq.com/devices/" target="_blank" rel="noopener"&gt;https://api.extremecloudiq.com/devices/?views=location&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;But this will only return the location info. If you need location id and mac address or something you will need to use the detail (or full) view.&amp;nbsp;&lt;BR /&gt;There's more information about the different views in our documentation - https://extremecloudiq.com/api-docs/api-docs.html#_list_devices&lt;BR /&gt;&lt;BR /&gt;Also note that if you are collecting more than 10 devices you will need to change the limit and page through the devices to get all devices. The limit can be changed from the default 10 devices up to 100. If you have more than 100 devices you will have to page through them. For this the url will look like this - &lt;SPAN&gt;https://api.extremecloudiq.com/devices?page=1&amp;amp;limit=100&amp;amp;views=FULL&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;The response will have information about how many pages will be needed as well as total devices at the top of the response.&lt;BR /&gt;&lt;BR /&gt;Hopefully that is helpful. Reach out if you have any issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tim</description>
    <pubDate>Wed, 20 Apr 2022 15:35:13 GMT</pubDate>
    <dc:creator>TimS2</dc:creator>
    <dc:date>2022-04-20T15:35:13Z</dc:date>
    <item>
      <title>location_id always empty</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-developer/location-id-always-empty/m-p/89260#M27</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm using the new API and i'm always getting a empty respons on location_id and locations. I know for sure that the AP is assigned a location.&amp;nbsp;&lt;BR /&gt;I'm using https://api.extremecloudiq.com/devices/ as an endpoint. If i get the details of an devices the location id is also empty.&amp;nbsp;&lt;BR /&gt;Any suggestions?</description>
      <pubDate>Tue, 19 Apr 2022 15:04:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-developer/location-id-always-empty/m-p/89260#M27</guid>
      <dc:creator>GerbenN</dc:creator>
      <dc:date>2022-04-19T15:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: location_id always empty</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-developer/location-id-always-empty/m-p/89261#M28</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;There is a view option with that endpoint. By default it uses the basic view which doesn't provide the location information. Currently those fields are returned with a null value but soon they will be updated to not show at all. You can change the view by adding ?views=detail to the end of the url. &lt;SPAN&gt;Currently supported views are basic, detail, status, client, location, full. If you are just looking for the location id you could use &lt;A href="https://api.extremecloudiq.com/devices/" target="_blank" rel="noopener"&gt;https://api.extremecloudiq.com/devices/?views=location&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;But this will only return the location info. If you need location id and mac address or something you will need to use the detail (or full) view.&amp;nbsp;&lt;BR /&gt;There's more information about the different views in our documentation - https://extremecloudiq.com/api-docs/api-docs.html#_list_devices&lt;BR /&gt;&lt;BR /&gt;Also note that if you are collecting more than 10 devices you will need to change the limit and page through the devices to get all devices. The limit can be changed from the default 10 devices up to 100. If you have more than 100 devices you will have to page through them. For this the url will look like this - &lt;SPAN&gt;https://api.extremecloudiq.com/devices?page=1&amp;amp;limit=100&amp;amp;views=FULL&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;The response will have information about how many pages will be needed as well as total devices at the top of the response.&lt;BR /&gt;&lt;BR /&gt;Hopefully that is helpful. Reach out if you have any issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 20 Apr 2022 15:35:13 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-developer/location-id-always-empty/m-p/89261#M28</guid>
      <dc:creator>TimS2</dc:creator>
      <dc:date>2022-04-20T15:35:13Z</dc:date>
    </item>
  </channel>
</rss>

