Users Guide

5 | Overview Dell Networking W-ClearPass Policy Manager | Configuration APIGuide
Figure 2: Structure of XMLData - XML Response
Filter Elements
Use the Filter element to fetch a list of objects of a specific entity. You can use a filter to perform the Read and
Delete operations. A filter contains a Criteria element that includes the following:
l fieldname Specifies the name of the field present in XML that needs to be filtered.
l filterString Specifies the string that is used to match the filter during a match of the filter.
l match Specifies the operator to be used. For example, the match operator equals/matches the value of the
fieldname field in the Entity object using filterString.
The following is the example of an XML request contains a filter on Guest user with a Criteria that initiates requests
to fetch Guest users that match the name kang:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsApiRequest xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader version="3.0" source="Guest"/>
<Filter entity="GuestUser">
<Criteria fieldName="name" filterString="kang" match="equals"/>
</Filter>
</TipsApiRequest>