I have been successful at creating a group using the PC REST API. However, now I want to add a rule (filter) to that group. For example:
<Match>
<Compare readOnly="true" using="MEMBER_OF">
<Property label="Item" name="ItemID" subType="" type="device" typeLabel="Device" typeLabels="Devices"/>
<Value displayValue="/All Groups">1</Value>
</Compare>
<Compare readOnly="false" using="BETWEEN">
<Property label="Address" name="Address" subType="" type="device" typeLabel="Device" typeLabels="Devices"/>
<ValueList>
<Value>10.10.10.0</Value>
<Value>10.10.10.255</Value>
</ValueList>
</Compare>
</Match>
I have tried every documented URL in the CA PM 3.6 docs with a POST and the rule will not get added to the group. The web service will return a successful OK 200 as well. When I do a get to get the group, nothing but the group ID and name show up in the XML.