60. Get Attributes Filters

Returns a list of Attribute Filters.

60.1 Request Data

Required Information
Name Description
action attributefilters
operation list
format The format to return results in. Acceptable values:
  • xml Results are returned in XML format.
  • json Results are returned in JSON format.

60.2 Data Returned

Returned information:
DTD:
<!ELEMENT attributefilterlist (assignment*) >
<!ATTLIST attributefilterlist ver CDATA #REQUIRED>
<!ELEMENT attributefilter (fname, userid, rtypeid, aid, public) >
<!ATTLIST attributefilter id CDATA #REQUIRED>
<!ELEMENT filtername (#PCDATA)>
<!ELEMENT userid (#PCDATA)>
<!ELEMENT rtypes (rtype)>
<!ELEMENT rtype >
<!ELEMENT rtype id CDATA #REQUIRED>
<!ELEMENT attributes (attribute)>
<!ELEMENT attribute >
<!ATTLIST attribute id CDATA #REQUIRED>
<!ELEMENT pubcheck (#PCDATA)>

Reply Data
Name Description
attributefilters id The attribute filter id.
filtername The attribute filter name.
userid The id of the user that owns this filter.
rtypes id *ONLY IN JSON -- Returns null if no resoure type ids are found.*
rtypes rtype id *ONLY in XML -- The resource type ids.*
attributes id *ONLY IN JSON -- Returns attribute ids found.*
attributes attribute id *ONLY in XML -- Returns attribute ids found.*
pubcheck Boolean - 't' if other users in the system can see and use the filter. 'f' if they cannot.

Example Request:

http://development.zonarsystems.net/interface.php?action=attributefilters&operation=list&format=xml

Example Success Reply XML

Example Success Reply JSON