Device list through REST
book
Article ID: 129638
calendar_today
Updated On:
Products
CA Infrastructure Management
CA Infrastructure Management
CA Performance Management - Usage and Administration
CA Performance Management - Data Polling
Issue/Introduction
How can I get a device list through REST?
Resolution
For all devices do a "POST" against the following URL:
http://<DA>:8581/rest/devices/manageable/filtered
Where the "Body" has the following syntax
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Select use="exclude" isa="exclude">
<Item use="exclude">
<Name use="include"/>
<CreateTime use="include"/>
</Item>
<Device use="exclude">
<PrimaryIPAddress use="include"/>
<ContactStatus use="include"/>
<UniqueID use="include"/>
</Device>
</Select>
</FilterSelect>
Additional Information
Sometimes copy / paste can cause syntax errors in a REST client. If syntax errors are received type out the following syntax and it should work
Feedback