Used to add resource attributes.
| Required Information | |
|---|---|
| Name | Description |
| action | adminattributes |
| operation | add |
| format |
The format to return results in. Acceptable values:
|
| aname | Attribute name to use. Must be unique. |
| Optional Information | |
| Name | Description |
| pid | Parent id to use. Defaults to 0 - (Makes top level attribute). |
| logvers | logvers is used to determine the output of the call. Accepted values are:
|
Returned information:
A success or error message.
Example Request:
http://development.zonarsystems.net/interface.php?action=adminattributes&operation=add&format=xml&aname=Taco&pid=44
Example Success Reply XML:
<?xml version="1.0"?>
<success ver="1.07">
<action>adminattributes</action>
</success>
Example Success Reply logvers 2 XML:
<?xml version="1.0"?>
<success ver="1.07">
<action>adminattributes</action>
<message_id>42</message_id>
</success>
Example Success Reply JSON:
{
"success": {
"ver": "1.07",
"action": "adminattributes"
}
}