<?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: How to perform a bulk read/get via Cisco ISE ERS API's in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4925552#M584121</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/192011"&gt;@paul&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I don't see anything about bulk read in the ERS documentation.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The first line in the &lt;A href="https://developer.cisco.com/docs/identity-services-engine/3.0/#!bulk-operations/sending-bulk-request" target="_self"&gt;bulk operations documentation&lt;/A&gt; states "Bulk request will allow client to send up to 500 (or 5000 for 'id type') CRUD operations in a single request.".&lt;/P&gt;
&lt;P&gt;CRUD includes Read...&amp;nbsp; just lazy documentation on Cisco's part?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 07:39:52 GMT</pubDate>
    <dc:creator>pcampbell</dc:creator>
    <dc:date>2023-09-19T07:39:52Z</dc:date>
    <item>
      <title>How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083259#M560260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get bulk create, bulk delete and bulk status (using a bulk ID) to work, but not bulk read.&amp;nbsp; What is the format?&amp;nbsp; ISE documentation on SDK is bad, nothing on bulk read and delete.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;&lt;SPAN&gt;operationType="get", and&amp;nbsp;operationType="read", with PUT and GET. Nothing works.&amp;nbsp; I use ISE 2.4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help!&amp;nbsp; Below is what I used in POSTMAN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ACCEPT:&amp;nbsp;application/vnd.com.cisco.ise.network.networkdevicebulkrequest.1.1+xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Content-Type:&amp;nbsp;application/vnd.com.cisco.ise.network.networkdevicebulkrequest.1.1+xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GET https://&amp;lt;ise-server-ip&amp;gt;:9060/ers/config/networkdevice/bulk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&lt;BR /&gt;&amp;lt;ns8:networkDeviceBulkRequest operationType="get" resourceMediaType="vnd.com.cisco.ise.network.networkdevice.1.1+xml" xmlns:ns6="sxp.ers.ise.cisco.com" xmlns:ns5="trustsec.ers.ise.cisco.com" xmlns:ns8="network.ers.ise.cisco.com" xmlns:ns7="anc.ers.ise.cisco.com" xmlns:ers="ers.ise.cisco.com" 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:ns4="identity.ers.ise.cisco.com"&amp;gt;&lt;BR /&gt;:ns8="network.ers.ise.cisco.com" xmlns:ns7="anc.ers.ise.cisco.com" xmlns:ers="ers.ise.cisco.com" 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:ns4="identity.ers.ise.cisco.com"&amp;gt;&lt;BR /&gt;&amp;lt;idList&amp;gt;&lt;BR /&gt;&amp;lt;id&amp;gt;id_1&amp;lt;/id&amp;gt;&lt;BR /&gt;&amp;lt;id&amp;gt;id_2&amp;lt;/id&amp;gt;&lt;BR /&gt;&amp;lt;/idList&amp;gt;&lt;BR /&gt;&amp;lt;/ns8:networkDeviceBulkRequest&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 12:49:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083259#M560260</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-11T12:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083264#M560262</link>
      <description>&lt;P&gt;Here is the error response message in postman, btw. Same for&amp;nbsp;operationType="read", and&amp;nbsp;operationType="get".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN&gt;xml&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"1.0"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;encoding&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"utf-8"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;standalone&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"yes"&lt;/SPAN&gt;&lt;SPAN&gt;?&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;ns3:ersResponse&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;operation&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"GET-get-networkdevice"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;xmlns:xs&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;xmlns:ns3&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"ers.ise.cisco.com"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;link&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;rel&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"related"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;href&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"https://&amp;lt;ise-server-ip&amp;gt;:9060/ers/config/networkdevice/bulk"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"application/xml"&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;messages&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;message&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"ERROR"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;code&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Application&amp;nbsp;resource&amp;nbsp;validation&amp;nbsp;exception"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&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;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;title&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Resource&amp;nbsp;Initialization&amp;nbsp;Failed(10)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;title&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;message&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;messages&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;ns3:ersResponse&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 12:56:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083264#M560262</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-11T12:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083641#M560275</link>
      <description>&lt;P&gt;If you're trying to retrieve a list of the Network Devices, use the Get-All operation listed in the online &lt;A href="https://developer.cisco.com/docs/identity-services-engine/2.6/#!network-device/get-all" target="_blank" rel="noopener"&gt;API Reference Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;GET https://&amp;lt;ip&amp;gt;:9060/ers/config/networkdevice&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 22:24:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083641#M560275</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2020-05-11T22:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083670#M560276</link>
      <description>&lt;P&gt;Thanks for the response.&amp;nbsp; Yes, I was able to do what you said.&amp;nbsp; I just wanted to see the difference that and the bulk read request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sounds like, I shouldn't bother using the bulk read then.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 23:11:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4083670#M560276</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-11T23:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084458#M560329</link>
      <description>&lt;P&gt;I haven't tested this with network devices and REST but you may need to adjust the results per query and then make multiple queries to get all the data. Last time I checked the max page size was 100:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;https://&amp;lt;ip&amp;gt;:9060/ers/config/networkdevice?size=100&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you do that query then you get the total count of how many elements there are and know how many pages to call up.&amp;nbsp; If there were 280 network devices you would need to make 3 calls:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Original- https://&amp;lt;ip&amp;gt;:9060/ers/config/networkdevice?size=100&lt;/P&gt;
&lt;P&gt;Page 2- https://&amp;lt;ip&amp;gt;:9060/ers/config/networkdevice?size=100&amp;amp;page=2&lt;/P&gt;
&lt;P&gt;Page 3- https://&amp;lt;ip&amp;gt;:9060/ers/config/networkdevice?size=100&amp;amp;page=3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The default page size I think is 20, but I haven't checked in 2.6 or 2.7 to see if that has changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:49:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084458#M560329</guid>
      <dc:creator>paul</dc:creator>
      <dc:date>2020-05-12T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084463#M560331</link>
      <description>&lt;P&gt;Thanks Paul.&amp;nbsp; Like I communicated before, I got that (individual/non-bulk get) working like what you shared, but not the bulk read.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any success with a bulk read?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:54:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084463#M560331</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-12T21:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084467#M560333</link>
      <description>&lt;P&gt;I don't see anything about bulk read in the ERS documentation.&amp;nbsp; The whole bulk concept is to allow you make additions, updates and deletions.&amp;nbsp; They already have bulk read concept limited to 100 results per page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the ERS SDK on bulk operations:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"After a successful Bulk Request, The server responding with 202 + bulkid in the Location header. This bulkid can be used to fetch a Bulk Execution Status. The BulkStatus object holds for each item in the bulk request" a status entry which describe the execution status. The status is kept in the server for two hours and after that its deleted"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can do a GET request with the Bulk ID to monitor status of your bulk request.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 22:02:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084467#M560333</guid>
      <dc:creator>paul</dc:creator>
      <dc:date>2020-05-12T22:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084471#M560334</link>
      <description>&lt;P&gt;That sounds logical.&amp;nbsp; I am moving on now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 22:06:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4084471#M560334</guid>
      <dc:creator>pn2020</dc:creator>
      <dc:date>2020-05-12T22:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform a bulk read/get via Cisco ISE ERS API's</title>
      <link>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4925552#M584121</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/192011"&gt;@paul&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I don't see anything about bulk read in the ERS documentation.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The first line in the &lt;A href="https://developer.cisco.com/docs/identity-services-engine/3.0/#!bulk-operations/sending-bulk-request" target="_self"&gt;bulk operations documentation&lt;/A&gt; states "Bulk request will allow client to send up to 500 (or 5000 for 'id type') CRUD operations in a single request.".&lt;/P&gt;
&lt;P&gt;CRUD includes Read...&amp;nbsp; just lazy documentation on Cisco's part?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 07:39:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/how-to-perform-a-bulk-read-get-via-cisco-ise-ers-api-s/m-p/4925552#M584121</guid>
      <dc:creator>pcampbell</dc:creator>
      <dc:date>2023-09-19T07:39:52Z</dc:date>
    </item>
  </channel>
</rss>

