Used to add resource attribute filters.
| Required Information | |
|---|---|
| Name | Description |
| action | attributefilters |
| operation | add |
| format |
The format to return results in. Acceptable values:
|
| 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. |
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"
}
}