cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
 
ISE 2.3 Patch 7 has been posted. This will be the last patch for the ISE 2.3 release!
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

294
Views
0
Helpful
0
Replies
Beginner

ERS API Bulk delete

Hi There,

I'm using ISE 2.3 ERS APIs and from SDK, it says that we can do CRUD (Create, Read, Update, Delete) with bulk operations. I can successfully create new network devices and read the status with the bulk operations. But I can't update them or delete them and I'm getting the following error (404) 'Not found'

------------------------------------

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ns3:ersResponse operation="DELETE-delete-networkdevice" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns3="ers.ise.cisco.com">
<link rel="related" href="https://x.x.x.x:9060/ers/config/networkdevice/bulk/" type="application/xml"/>
<messages>
<message type="ERROR" code="Resource not found exception">
<title>The specified resource does not exist</title>
</message>
</messages>
</ns3:ersResponse>

----------------------------------

 

I tried this with CURL had the similar experience. 

I'm wondering if something I need to different in xml raw data when we are updating and deleting the objects in bulk. 

Here is header of the xml file I used. 

--------------------------------

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns8:networkDeviceBulkRequest 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="http://www.w3.org/2001/XMLSchema" xmlns:ns4="identity.ers.ise.cisco.com">

<ns8:resourcesList>
<ns8:networkdevice description="Network Device 3" id="0003" name="networkDevice3">
<authenticationSettings>
<enableKeyWrap>false</enableKeyWrap>
<keyEncryptionKey></keyEncryptionKey>

.

.

.

.. </sgaNotificationAndUpdates>
</trustsecsettings>
</ns8:networkdevice>
</ns8:resourcesList>
</ns8:networkDeviceBulkRequest>

------------------------------------

 

 

 

Please help me if I'm doing it right or do I need to change any other parameters.  

 

Thanks & Regards

Kiran Rokkam