IPmanager API/User
From ISPWiki
|
See also
User
Main Features
IP-address management
IP-address management
Function: ip
Result: the list of elements
- ip - IP-address.
- name - Domain name.
- type - IP-address type.
- note - Notes .
Create. Change. PTR record
Function: ip.edit
The function is simultaneously used to view object's parameters, to change an object, and create new one.
View object's parameters:
- Parameters:
- elid - unique identifier ("ip" element of "ip" function)
- Result: object parameters list
Create an object:
- Parameters:
- sok - the parameter must not be empty, generally "yes".
- additional query parameters ...
- Result: successful operation or error message
Change an object:
- Parameters:
- sok - the parameter must not be empty, generally "yes".
- elid - unique identifier ("ip" element of "ip" function)
- additional query parameters ...
- Result: successful operation or error message
The list object's parameters or additional query parameters (see above):
- ip - IP-address.
- type - IP-address type.
- name - Domain name.
- note - Notes .
Unbind the selected IP-addresses
Function: ip.delete
Parameters:
- elid - one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the "ip" element of "ip" function.
Result: successful operation or error message
Available networks
Available networks
Function: networkinfo
Result: the list of elements
- name - Network.
- type - Type.
- Use the "featurelist" API function to get the list of active features.
