Returns a list of Attribute Filters.
| Required Information | |
|---|---|
| Name | Description |
| action | attributefilters |
| operation | list |
| format |
The format to return results in. Acceptable values:
|
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