Hi all,

I'm also trying to learn how to build searches for rest calls. It seems the doc 
does not provide enough details on the different search options or include the 
variable names that must be used.

The example gives:

<action>FIND_DEV_MODELS_BY_IP</action>
            <attribute id="AttributeID.NETWORK_ADDRESS">
              <value>172.22.96.6</value>

Without knowing it, how would I know what attribute id to use?

There's a file called filter.xsd that includes:

         <xs:restriction base="xs:string">
            <xs:enumeration value="FIND_DEV_MODELS_BY_IP"/>
            <xs:enumeration value="FIND_ALL_DEVICE_MODELS"/>
            <xs:enumeration value="FIND_DEV_MODELS_BY_IP_RANGE"/>
            <xs:enumeration value="FIND_PORT_MODELS_BY_IP"/>
            <xs:enumeration value="FIND_PORT_MODELS_BY_IP_RANGE"/>
            <xs:enumeration value="GET_INTERFACES"/>
          </xs:restriction>

Does that imply these are the only filter criteria that can be used?

If anyone has more info on how to do this or where to look for info, please 
share if you can.
Rick Williams
Network and Systems Management
State of North Carolina
Office of Information Technology Services
919-754-6280 Office
919-274-5446 Cell
919-754-6000 ITS Service Desk
[email protected]<mailto:[email protected]>
www.its.state.nc.us<http://www.its.state.nc.us/>

NOTICE: E-mail correspondence to and from this address may be subject to the 
North Carolina Public Records Law and may be disclosed to third parties by an 
authorized state official.

From: Bohra, Saurabh [mailto:[email protected]]
Sent: Tuesday, March 24, 2015 5:36 PM
To: spectrum
Subject: [spectrum] RESTful call to query Global Collection

Does anyone has an example of how to query list of device names and ip address 
which are member of a global collection using RESTful api call?

Or do I have to create a search and query the results (example in 
GetModelsFromExistingSearch.xml) of that using RESTful call?

Thanks,

Saurabh Bohra
Sr. Network Mgmt Systems Analyst
ESPN Inc.
O: 860-766-0842  |  M: 860-385-3597  |  e-mail: 
[email protected]<mailto:[email protected]>



  *   --To unsubscribe from spectrum, send email to 
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum 
[email protected]<mailto:[email protected]>

________________________________

Email correspondence to and from this sender is subject to the N.C. Public 
Records Law and may be disclosed to third parties.

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to