Used to edit resource attributes.
Required Information | |
---|---|
Name | Description |
action | adminattributes |
operation | edit |
format | The format to return results in. Acceptable values:
|
target | Resource attribute id. |
aname | Attribute name to use. Must be unique. |
Optional Information | |
Name | Description |
pid | Parent id to use. Defaults to 0 - (Makes top level attribute). |
Returned information
A success or error message.
Example Request
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&action=adminattributes&operation=edit&format=xml&target=332&aname=Taco&pid=44
Example Success Reply XML
<?xml version="1.0"?>
<success ver="1.07">
<action>adminattributes</action>
</success>
Example Success Reply JSON
{
"success": {
"ver": "1.07",
"action": "adminattributes"
}
}