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
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&action=attributefilters&operation=list&format=xml
Example Success Reply XML
<?xml version="1.0"?>
<attributeassignlist ver="1">
<assignment id="3">
<rtypeid>1</rtypeid>
<aid>5</aid>
<rid>4</rid>
<endpoint>false</endpoint>
</assignment>
</attributeassignlist>