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