- In a REST client, change the method to "POST"
- Content-type and Charset should be application/xml; charset=UTF-8
- Use the following URL: http://DA:8581/rest/devices/filtered
- Add the following syntax to the Body:
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Filter>
<And><Lifecycle.State type="EQUAL">RETIRED</Lifecycle.State><Not><Item.Name type="CONTAINS">DataAggregator:</Item.Name></Not><Not><Item.Name type="CONTAINS">DataCollector</Item.Name></Not></And>
</Filter>
<Select use="exclude" isa="exclude" relatesto="exclude">
<Item use="exclude">
<Name use="include"/>
</Item>
<Device use="exclude">
<PrimaryIPAddress use="include"/>
</Device>
<Lifecycle use="exclude">
<State use="include"/>
</Lifecycle>
</Select>
</FilterSelect>
After running this REST call you should see a list of "retired" items on the data aggregator.