62. Edit Attributes Filters

Used to edit resource attribute filters.

62.1 Request Data

Required Information
Name Description
action attributefilters
operation edit
format The format to return results in. Acceptable values:
  • xml Results are returned in XML format.
  • json Results are returned in JSON format.
target Attribute Filter id.
aid Attribute ids to use. May have multiple ids seperated by commas
name Filter name to use. Must be unique.
Optional Information
Name Description
rid Resource attribute 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.

62.2 Data Returned

Returned information:
A success or error message.

Example Request:

http://development.zonarsystems.net/interface.php?action=attributefilters&operation=edit&format=xml&target=5&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"
    }
  }