61. Add Attributes Filters

Used to add resource attribute filters.

61.1 Request Data

Required Information
Name Description
action attributefilters
operation add
format The format to return results in. Acceptable values:
  • xml Results are returned in XML format.
  • json Results are returned in JSON format.
aid Attribute ids to use. May have multiple ids seperated by commas
name Filter name to use. Must be unique to users filters.
Optional Information
Name Description
rid Resource type ids to use. Defaults to null if not specified. May have multiple ids seperated by commas
pub Boolean - defaults to false. Set to 't' for true and 'f' for false.

61.2 Data Returned

Returned information:
A success or error message.

Example Request:

http://development.zonarsystems.net/interface.php?action=attributefilters&operation=add&format=xml&aid=3,4,5&name=cardoor

Example Success Reply XML:

<?xml version="1.0"?>
<success ver="1.07">
 <action>attributefilters</action>
</success>


Example Success Reply JSON:

  {
    "success": {
      "ver": "1.07",
      "action": "attributefilters"
    }
  }