I want to get a list of all models for each global collection, and the simplest way to do so I thought of up to now is to list all the models in Spectrum and show the attribute for the global collection name. I will then export this and work it in Excel. I'm using this xml but no data is shown:
<rs:model-request throttlesize="500" 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:requested-attribute id="0x1006e" /> <!-- Model Name --> <rs:requested-attribute id="0x12d7f" /> <!-- Network Address --> <rs:requested-attribute id="0x12adb" /> <!-- GC Name --> </rs:model-request>
I think it is simplier use a GET request instead a GET TUNNELING reguest.Take a look at this doc :
The request I would do is :
And the XML is used on GET TUNNELING and it is usefull when you need to add filters to your query.
You also may want to add
to the request, if you have more than 1000 devices and don't want everything on one query.
*Change 9000 accordingly
Yes, that's what I used finally! Thanks!