User`s manual

114
Aliasing Commands
Adding, removing and listing aliases are all standard RPC requests (see below). The
use of an alias does not follow the RPC format because they can be included anywhere
within an RPC request or represent one or more RPC requests. To insert an alias into an
RPC request, use the alias name as the tag name and set the type to “alias”. The
Python RPC manager will replace the alias with the XML from the add_alias command.
See “Aliases” on page 60 for more information.
add_alias
Adds an alias to be used in later RPC requests. The format of this command is as
follows:
<add_alias>
<alias_name type=”xml”>
XML
</alias_name>
</add_alias>
Parameter Type Description
alias_name xml Name of the alias. (Does not have to be “alias_name”.) Name is
use
d to list, remove, and use the alias.
Parameter Type Description
alias_name string Name of the alias that was created.
add_alias Parameters:
add_alias_response Parameters:
remove_alias
Removes a previously defined alias.
The format of this command is as follows: