<?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: In ISE REST API there is a in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082167#M560225</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I got it work and got all resources from ISE. Thanks for the quick response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing though, why can't I see everything in the network device's resource, like parameters and their set values in the RADIUS Authentication Settings, IP, etc. Below is all I got back, only 3 fields per returned resource item.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{ 'id': '7c0138d0-e157-11e9-bedf-005056bf3145',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'link': 'https://&amp;lt;ISE-server-IP&amp;gt;:9060/ers/config/networkdevice/7c0138d0-e157-11e9-bedf-005056bf3145',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'name': 'abc'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I clicked on that URL link, I got this error message. Do you or anyone get the same thing? I included the code snippet at the end as well (note, I turned off ssl verification on purpose, to address the ssl handshake issue).&amp;nbsp; There is a page (my next post) about resource attributes on the SDK page, but no instructions on how to access those attributes.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ns3:ersResponse xmlns:xs="&lt;/SPAN&gt;&lt;A title="Original URL: http://www.w3.org/2001/XMLSchema. Click or tap if you trust this link." href="https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema&amp;amp;data=02%7C01%7Ckhoi.d.nguyen%40cerner.com%7C9444d190e94f4737807d08d7f377f7e9%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637245568894714675&amp;amp;sdata=wDwytE1qU22KRhwy8QqHp7fdNtEzaLHS4wPuWp0I%2F0o%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns3="ers.ise.cisco.com" operation="GET-get-networkdevice"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;link rel="related" href="https://&amp;lt;ISE-server-IP&amp;gt;:9060/ers/config/networkdevice/7c00eab0-e157-11e9-bedf-005056bf3145" type="application/xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;messages&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;message type="ERROR" code="Resource media type exception"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Illeagal Request Header: one or more of 'accept' / 'content-type' / 'ers-media-type' headers is not supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/message&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/messages&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ns3:ersResponse&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;payload = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;querystring = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;headers = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'accept': "application/json",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'authorization': " ".join(("Basic", encodedAuth)),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Content-Type': "application/json",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'cache-control': "no-cache",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;url = "https://" + ISE_SERVER + ":9060/ers/config/networkdevice?size=100&amp;amp;page="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;url = url + "1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;resp= requests.request("GET", url, data=payload, headers=headers, params=querystring, verify=False)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 18:07:55 GMT</pubDate>
    <dc:creator>pn2020</dc:creator>
    <dc:date>2020-05-08T18:07:55Z</dc:date>
    <item>
      <title>Cisco ISE ERS APIs for Network Devices  to get a device list with all ip addresses and device names</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/3053072#M23524</link>
      <description>&lt;P&gt;Does anybody&amp;nbsp;know how to use the ERS API in ISE, to export all the switches/wlc's (network devices) ? &lt;BR /&gt;I need GET&amp;nbsp;ALL request with Network devices.&lt;BR /&gt;&lt;BR /&gt;In API Documentation there are just two possibilities.&lt;/P&gt;
&lt;P&gt;Method GET&lt;BR /&gt;Url: https://hostname:9060/ers/config/networkdevice&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Method GET&lt;BR /&gt;Url: https://hostname:9060/ers/config/networkdevice/{id}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;And I want to get link&amp;nbsp;to hole info about all networkdevices (like with the second GET&amp;nbsp;id)&amp;nbsp;in one list&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 07:32:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/3053072#M23524</guid>
      <dc:creator>o.akymenko</dc:creator>
      <dc:date>2019-03-11T07:32:42Z</dc:date>
    </item>
    <item>
      <title>In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/3053073#M23528</link>
      <description>&lt;P&gt;In ISE REST API there is a method called GET-ALL for network devices&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;https://hostname:9060/ers/sdk#Get-All&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Will it work for you?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 14:43:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/3053073#M23528</guid>
      <dc:creator>Gennady Yakubovich</dc:creator>
      <dc:date>2017-03-15T14:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/3826624#M23530</link>
      <description>&lt;P&gt;If you have less than 100 devices total you could use following link to retrieve all of them&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET /ers/config/networkdevice?size=100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max resources per page cannot be more then 100 resources.&lt;/STRONG&gt; You need to use paging to retrieve all resources.&lt;/P&gt;&lt;P&gt;This is a little snippet from my code to get all records if you have more then 100...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;def get_device_list(s):
    """
    Return list of the Network Devices
    Maximum is 100 devices per page ?size=100
    Go through the pages &amp;amp;page = 1
    """
    url = "https://" + ISE_SERVER + ":9060/ers/config/networkdevice?size=100&amp;amp;page="
    url = url + "1"
     resp= requests.request("GET", url, data=payload, headers=headers, params=querystring)
    
    device_list = []

    if resp.status_code == 200:
        result  = resp.json()['SearchResult']
        total = result['total']
        pages = total / 100 + 1
        for page in range (1, int(pages + 1)):
            resp= requests.request("GET", url + str(page), data=payload, headers=headers, params=querystring)
            if resp.ok:
                result = resp.json()['SearchResult']['resources']
                for item in result:
                    device = {}
                    device['id'] = item['id']
                    device['name'] = item['name']
                    """ Not all devices has description field """
                    # device['description'] = item['description']
                    device['link'] = item['link']['href']
                    device_list.append(device)

    return device_list&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 21:26:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/3826624#M23530</guid>
      <dc:creator>Sergey Minsky</dc:creator>
      <dc:date>2019-03-26T21:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082123#M560219</link>
      <description>&lt;P&gt;This is great, thanks for sharing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway, you can share more code so I can test this function out in my IDE?&amp;nbsp; Specifically, the payload, headers and querystring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;   resp= requests.request("GET", url, data=payload, headers=headers, params=querystring)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 16:43:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082123#M560219</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-08T16:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082141#M560220</link>
      <description>&lt;P&gt;You could try with an empty payload and querystring&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;url = "https://IP_ADRESS:9060/ers/config/networkdevice"
payload = ""
querystring = ""
headers = {
'Accept': "application/json",
'Content-Type': "application/json",
'Authorization': "Basic ZXJzX2FkbWluOnBhc3N3b3JkCg=="
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where Auth is username and password encoded with Base64&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;echo ZXJzX2FkbWluOnBhc3N3b3JkCg== | base64 -d
ers_admin:password&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 May 2020 17:12:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082141#M560220</guid>
      <dc:creator>Sergey Minsky</dc:creator>
      <dc:date>2020-05-08T17:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082149#M560222</link>
      <description>&lt;P&gt;I got it work and got all resources from ISE. Thanks for the quick response!&lt;BR /&gt;&lt;BR /&gt;One thing though, why can't I see everything in the network device's resource, like parameters and their set values in the RADIUS Authentication Settings, IP, etc. Below is all I got back, only 3 fields per returned resource item.&lt;BR /&gt;&lt;BR /&gt;{ 'id': '7c0138d0-e157-11e9-bedf-005056bf3145',&lt;BR /&gt;'link': 'https://&amp;lt;ISE-server-IP&amp;gt;:9060/ers/config/networkdevice/7c0138d0-e157-11e9-bedf-005056bf3145',&lt;BR /&gt;'name': 'abc'}&lt;BR /&gt;&lt;BR /&gt;When I clicked on that URL link, I got this error message. Do you or anyone get the same thing? I included the code snippet at the end as well (note, I turned off ssl verification on purpose, to address the ssl handshake issue).&lt;BR /&gt;&lt;BR /&gt;&amp;lt;ns3:ersResponse xmlns:xs="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank" rel="noopener"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns:ns3="ers.ise.cisco.com" operation="GET-get-networkdevice"&amp;gt;&lt;BR /&gt;&amp;lt;link rel="related" href="https://&amp;lt;ISE-server-IP&amp;gt;:9060/ers/config/networkdevice/7c00eab0-e157-11e9-bedf-005056bf3145" type="application/xml"/&amp;gt;&lt;BR /&gt;&amp;lt;messages&amp;gt;&lt;BR /&gt;&amp;lt;message type="ERROR" code="Resource media type exception"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;&lt;BR /&gt;Illeagal Request Header: one or more of 'accept' / 'content-type' / 'ers-media-type' headers is not supported.&lt;BR /&gt;&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/messages&amp;gt;&lt;BR /&gt;&amp;lt;/ns3:ersResponse&amp;gt;&lt;BR /&gt;&lt;BR /&gt;payload = ""&lt;BR /&gt;querystring = ""&lt;BR /&gt;&lt;BR /&gt;headers = {&lt;BR /&gt;'accept': "application/json",&lt;BR /&gt;'authorization': " ".join(("Basic", encodedAuth)),&lt;BR /&gt;'Content-Type': "application/json",&lt;BR /&gt;'cache-control': "no-cache",&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;url = "https://" + ISE_SERVER + ":9060/ers/config/networkdevice?size=100&amp;amp;page="&lt;BR /&gt;url = url + "1"&lt;BR /&gt;resp= requests.request("GET", url, data=payload, headers=headers, params=querystring, verify=False)&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 17:40:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082149#M560222</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-08T17:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082154#M560223</link>
      <description>Why my last post got removed and was tagged as a spam? I don't see your last response either Sergey. Can you please respond again?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 May 2020 17:53:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082154#M560223</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-08T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082158#M560224</link>
      <description>&lt;P&gt;This is from the SDK page.&amp;nbsp; Maybe, I have to query for those attributes?&amp;nbsp; There is no instruction on how to do that though.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe Cisco experts here can help shred lights on that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same thing via postman, only 3 fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="picture.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/74071i6EBC9CCFFEA66399/image-size/large?v=v2&amp;amp;px=999" role="button" title="picture.png" alt="picture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 17:56:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082158#M560224</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-08T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082167#M560225</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I got it work and got all resources from ISE. Thanks for the quick response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing though, why can't I see everything in the network device's resource, like parameters and their set values in the RADIUS Authentication Settings, IP, etc. Below is all I got back, only 3 fields per returned resource item.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{ 'id': '7c0138d0-e157-11e9-bedf-005056bf3145',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'link': 'https://&amp;lt;ISE-server-IP&amp;gt;:9060/ers/config/networkdevice/7c0138d0-e157-11e9-bedf-005056bf3145',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'name': 'abc'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I clicked on that URL link, I got this error message. Do you or anyone get the same thing? I included the code snippet at the end as well (note, I turned off ssl verification on purpose, to address the ssl handshake issue).&amp;nbsp; There is a page (my next post) about resource attributes on the SDK page, but no instructions on how to access those attributes.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ns3:ersResponse xmlns:xs="&lt;/SPAN&gt;&lt;A title="Original URL: http://www.w3.org/2001/XMLSchema. Click or tap if you trust this link." href="https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema&amp;amp;data=02%7C01%7Ckhoi.d.nguyen%40cerner.com%7C9444d190e94f4737807d08d7f377f7e9%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637245568894714675&amp;amp;sdata=wDwytE1qU22KRhwy8QqHp7fdNtEzaLHS4wPuWp0I%2F0o%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns3="ers.ise.cisco.com" operation="GET-get-networkdevice"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;link rel="related" href="https://&amp;lt;ISE-server-IP&amp;gt;:9060/ers/config/networkdevice/7c00eab0-e157-11e9-bedf-005056bf3145" type="application/xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;messages&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;message type="ERROR" code="Resource media type exception"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Illeagal Request Header: one or more of 'accept' / 'content-type' / 'ers-media-type' headers is not supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/message&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/messages&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ns3:ersResponse&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;payload = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;querystring = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;headers = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'accept': "application/json",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'authorization': " ".join(("Basic", encodedAuth)),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Content-Type': "application/json",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'cache-control': "no-cache",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;url = "https://" + ISE_SERVER + ":9060/ers/config/networkdevice?size=100&amp;amp;page="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;url = url + "1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;resp= requests.request("GET", url, data=payload, headers=headers, params=querystring, verify=False)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 18:07:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082167#M560225</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-08T18:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082281#M560229</link>
      <description>&lt;P&gt;When you are getting the list of the devices you are getting their ID, Names and Link.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  "id": "9d362e00-fe4d-11e7-87dc-500f80ddff18",
        "name": "ISE_EST_Local_Host",
        "link": {
          "rel": "self",
          "href": "https://IP:9060/ers/config/networkdevice/9d362e00-fe4d-11e7-87dc-500f80ddff18",
          "type": "application/json"
        }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Inside of Link you have Href value with a valid link request to get all the information from the specific device using its ID&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;e.g.&amp;nbsp;&lt;SPAN&gt;9d362e00-fe4d-11e7-87dc-500f80ddff18&lt;/SPAN&gt; in my example&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Method: 	GET
URI: 	https://IP:9060/ers/config/networkdevice/{id}
HTTP 'Content-Type' Header:	application/xml | application/json
HTTP 'Accept' Header:	application/xml | application/json&lt;/PRE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Make sure you specify &lt;STRONG&gt;Accept&lt;/STRONG&gt; and &lt;STRONG&gt;Content-type&lt;/STRONG&gt; in the new requests, cause they are mandatory and this is what your error message is about.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 21:28:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082281#M560229</guid>
      <dc:creator>Sergey Minsky</dc:creator>
      <dc:date>2020-05-08T21:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082283#M560230</link>
      <description>&lt;P&gt;Yes, I realized that and expanded my code and got all the attributes.&amp;nbsp; Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 21:34:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/4082283#M560230</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-08T21:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: In ISE REST API there is a</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/5301380#M596877</link>
      <description>&lt;P&gt;can you please share your expanded code to use as reference.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jun 2025 08:23:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-ers-apis-for-network-devices-to-get-a-device-list-with/m-p/5301380#M596877</guid>
      <dc:creator>thecoolkid</dc:creator>
      <dc:date>2025-06-22T08:23:29Z</dc:date>
    </item>
  </channel>
</rss>

