Hi all,
I am trying to get through REST API in json or XML format some info of all the devices, including firmware version.
The XML request I am trying is this:
<?xml version="1.0" encoding="UTF-8"?>
<rs:model-request throttlesize="5"
xmlns:rs="http://www.ca.com/spectrum/restful/schema/request"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ca.com/spectrum/restful/schema/request ../../../xsd/Request.xsd ">
<rs:target-models>
<rs:models-search>
<rs:search-criteria-file>
topo/config/search-devices-criteria.xml
</rs:search-criteria-file>
</rs:models-search>
</rs:target-models>
<!-- Name -->
<rs:requested-attribute id="0x1006e" />
<!-- Model -->
<rs:requested-attribute id="0x10000" />
<!-- Network Address -->
<rs:requested-attribute id="0x12d7f" />
<!-- Manufacturer -->
<rs:requested-attribute id="0x10032" />
</rs:model-request>
I found this thread Tuesday Tip: Adding firmware version column to locater search results list where it explains how to add firmware version column to locater search results list, buy I don't know how to translate it to the XML request.
Any help would be appreciated.